From 3961834f66eed2f4d5bb37334d9e54a294e16c50 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sun, 10 May 2015 17:58:48 +0200 Subject: 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 Reviewed-on: http://review.coreboot.org/10168 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- util/kconfig/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'util/kconfig') diff --git a/util/kconfig/Makefile b/util/kconfig/Makefile index 009e2452d6..f6ce8181dd 100644 --- a/util/kconfig/Makefile +++ b/util/kconfig/Makefile @@ -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 < $< > $@ -- cgit v1.2.3