kconfig: properly build parser when LKC_GENPARSER=1

The rules didn't actually trigger to rebuild the parser.

Change-Id: Id51aaa9816b069204c119622d60f7b728b762cad
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/10168
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Patrick Georgi 2015-05-10 17:58:48 +02:00 committed by Stefan Reinauer
parent 7746606891
commit 3961834f66
1 changed files with 6 additions and 2 deletions

View File

@ -327,11 +327,15 @@ $(obj)/zconf.hash.c: $(src)/zconf.gperf
%.tab.c: %.y
bison -t -l -b $* -p $(notdir $*) $<
cp $@ $@_shipped
%.tab.c_shipped: %.tab.c
cp $< $@
%.lex.c: %.l
flex -L -P$(notdir $*) -o$@ $<
cp $@ $@_shipped
%.lex.c_shipped: %.lex.c
cp $< $@
%.hash.c: %.gperf
gperf < $< > $@