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)
This commit is contained in:
Thomas De Schampheleire 2012-07-14 19:52:58 +02:00
parent d257c9901a
commit 7c0a1717a5

View File

@ -88,7 +88,7 @@ zconf.hash.c: zconf.gperf
lex.zconf.c: zconf.l lex.zconf.c: zconf.l
@echo " LEX '$@'" @echo " LEX '$@'"
@flex -L -P zconf -o $@ $< @flex -L -Pzconf -o$@ $<
# Build C files # Build C files
%.o: %.c %.o: %.c