summaryrefslogtreecommitdiff
path: root/util/kconfig/Makefile
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2015-05-10 17:58:48 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-05-12 18:41:10 +0200
commit3961834f66eed2f4d5bb37334d9e54a294e16c50 (patch)
tree400fe7d88c39fda31e03d260c044e55856e4f5b9 /util/kconfig/Makefile
parent77466068916794b9aa5b100f296e44884c484c55 (diff)
downloadcoreboot-3961834f66eed2f4d5bb37334d9e54a294e16c50.tar.xz
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>
Diffstat (limited to 'util/kconfig/Makefile')
-rw-r--r--util/kconfig/Makefile8
1 files changed, 6 insertions, 2 deletions
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 < $< > $@