From f411b701c5e65c9875b0ac1135fb64fbfc7f3d57 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sun, 9 Apr 2017 19:12:42 -0600 Subject: util/blobtool & sconfig: Update GENPARSER Kconfig question blobtool uses the same sort of update mechanism for the .l & .y files, so update the SCONFIG_GENPARSER Kconfig question to encompass both utilities. - Change the name to UTIL_GENPARSER, and update the help text. - Update sconfig's makefile. - Add the check to blobtool's makefile. - Update the makefiles to check for y, not defined. Change-Id: I6215791c9a019bce37d4a150b65d1fdbb9073156 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/19229 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/sconfig/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/sconfig') diff --git a/util/sconfig/Makefile.inc b/util/sconfig/Makefile.inc index c6ba90f450..76bbd45674 100644 --- a/util/sconfig/Makefile.inc +++ b/util/sconfig/Makefile.inc @@ -19,7 +19,7 @@ $(objutil)/sconfig/%.o: $(objutil)/sconfig/%.c printf " HOSTCC $(subst $(obj)/,,$(@))\n" $(HOSTCC) $(SCONFIGFLAGS) $(HOSTCFLAGS) -c -o $@ $< -ifdef CONFIG_SCONFIG_GENPARSER +ifeq ($(CONFIG_UTIL_GENPARSER),y) $(top)/util/sconfig/lex.yy.c_shipped: $(top)/util/sconfig/sconfig.l printf " FLEX $(subst $(top)/,,$(@))\n" flex -L -o $@ $< -- cgit v1.2.3