From 0cffa79d9fb3d5476d7a1dbeda617aea7a6851b2 Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Tue, 1 Sep 2015 16:11:30 -0700 Subject: kconfig: Update kconfig. Sync with Linux-4.2 This change updates the kconfig utility to what is shipped with 4.2.0. Signed-off-by: Bryan Hundven --- kconfig/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kconfig/Makefile') diff --git a/kconfig/Makefile b/kconfig/Makefile index 3474e5c6..b18ddc0a 100644 --- a/kconfig/Makefile +++ b/kconfig/Makefile @@ -11,7 +11,7 @@ LDFLAGS = # Compiler flags to use gettext ifeq ($(gettext),) -INTL_CFLAGS = -DKBUILD_NO_NLS +INTL_CFLAGS = -Wno-format-security -DKBUILD_NO_NLS endif # Compiler and linker flags to use ncurses @@ -74,8 +74,8 @@ DEPS += $(nconf_DEP) @$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MM $< |$(sed) -r -e 's|([^:]+.o)( *:+)|$(<:.c=.o) $@\2|;' >$@ # Generate the grammar parser -zconf.tab.o: zconf.tab.c zconf.hash.c lex.zconf.c -zconf.tab.dep: zconf.tab.c zconf.hash.c lex.zconf.c +zconf.tab.o: zconf.tab.c zconf.hash.c zconf.lex.c +zconf.tab.dep: zconf.tab.c zconf.hash.c zconf.lex.c .PRECIOUS: zconf.tab.c zconf.tab.c: zconf.y @@ -84,9 +84,9 @@ zconf.tab.c: zconf.y zconf.hash.c: zconf.gperf @echo " GPERF '$@'" - @$(gperf) < $< > $@ + @$(gperf) -C < $< > $@ -lex.zconf.c: zconf.l +zconf.lex.c: zconf.l @echo " LEX '$@'" @flex -L -Pzconf -o$@ $< @@ -114,4 +114,4 @@ conf: $(COMMON_OBJ) $(conf_OBJ) clean: @echo " RM 'kconfig'" @rm -f conf mconf nconf $(ALL_OBJS) $(ALL_DEPS) - @rm -f rm -f zconf.tab.c zconf.hash.c lex.zconf.c lex.backup + @rm -f rm -f zconf.tab.c zconf.hash.c zconf.lex.c lex.backup -- cgit v1.2.3