From 3567b1d0ce110aa17aec897fc4cbbbeda749b397 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Thu, 14 Feb 2019 11:17:48 +0800 Subject: [PATCH] kconfig: fix compatibility with very old versions of flex See https://github.com/crosstool-ng/crosstool-ng/commit/4e762e4918d8755e762db1db328760dfa5fc7a14 Closes https://github.com/espressif/esp-idf/issues/2703 --- tools/kconfig/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/kconfig/Makefile b/tools/kconfig/Makefile index c8f8ba0141..19960a6656 100644 --- a/tools/kconfig/Makefile +++ b/tools/kconfig/Makefile @@ -334,7 +334,7 @@ conf-idf: $(conf-objs) zconf.tab.c: zconf.lex.c zconf.lex.c: $(SRCDIR)/zconf.l - flex -L -P zconf -o zconf.lex.c $< + flex -L -Pzconf -ozconf.lex.c $< zconf.hash.c: $(SRCDIR)/zconf.gperf # strip CRs on Windows systems where gperf will otherwise barf on them