Skip to content

Commit

Permalink
kconfig: fix compatibility with older flex versions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
patrickdepinguin committed Jul 14, 2012
1 parent b3526f6 commit 4e762e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kconfig/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e762e4

Please sign in to comment.