summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>2012-07-14 17:52:58 (GMT)
committerThomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>2012-07-14 17:52:58 (GMT)
commit7c0a1717a55ad543dad6b09707012d4b9d848ef0 (patch)
treef0b2be0a82106d206ba677dfe96a44c30afa83ee
parentd257c9901a08915b0df886e2ec055a94a404e70a (diff)
kconfig: fix compatibility with older flex versions
Older flex versions require there be no space between options and their arguments. For example '-P zconf' is not correct and should be '-Pzconf'. This is for example the case for flex-2.5.4 shipped with CentOS 5.8. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Message-Id: <9652ce148bddc1def484.1339241000@beantl019720> (transplanted from 7b1dda3ab07505bc1627d6fa70c60c7cd003eb3d)
-rw-r--r--kconfig/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfig/Makefile b/kconfig/Makefile
index afaf416..a3f1770 100644
--- a/kconfig/Makefile
+++ b/kconfig/Makefile
@@ -88,7 +88,7 @@ zconf.hash.c: zconf.gperf
lex.zconf.c: zconf.l
@echo " LEX '$@'"
- @flex -L -P zconf -o $@ $<
+ @flex -L -Pzconf -o$@ $<
# Build C files
%.o: %.c