summaryrefslogtreecommitdiff
path: root/util/sconfig/Makefile.inc
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-08-09 13:28:18 +0000
committerStefan Reinauer <stepan@openbios.org>2010-08-09 13:28:18 +0000
commit9bf7810dacc34e791431f5511b6ed6febda29940 (patch)
tree714af6408e98999a64627d1894a0659d492988a6 /util/sconfig/Makefile.inc
parent35d346fe2d98b3ec5ed0451b87cc31be06177d68 (diff)
make sconfig parser regeneration menu selectable
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5688 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/sconfig/Makefile.inc')
-rw-r--r--util/sconfig/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/sconfig/Makefile.inc b/util/sconfig/Makefile.inc
index a1ee64da88..97a445f037 100644
--- a/util/sconfig/Makefile.inc
+++ b/util/sconfig/Makefile.inc
@@ -16,13 +16,15 @@ $(objutil)/sconfig/%.o: $(objutil)/sconfig/%.c
printf " HOSTCC $(subst $(obj)/,,$(@))\n"
$(HOSTCC) $(SCONFIGFLAGS) $(HOSTCFLAGS) -c -o $@ $<
-ifdef SCONFIG_GENPARSER
+ifdef CONFIG_SCONFIG_GENPARSER
$(top)/util/sconfig/lex.yy.c_shipped: $(top)/util/sconfig/sconfig.l
+ printf " FLEX $(subst $(top)/,,$(@))\n"
flex -L -o $@ $<
# the .c rule also creates .h
$(top)/util/sconfig/sconfig.tab.h_shipped: $(top)/util/sconfig/sconfig.tab.c_shipped
$(top)/util/sconfig/sconfig.tab.c_shipped: $(top)/util/sconfig/sconfig.y
+ printf " BISON $(subst $(top)/,,$(@))\n"
bison -l --defines=$(top)/util/sconfig/sconfig.tab.h_shipped -o $@ $<
endif