public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] kconfig: fix compatibility with older flex versions
@ 2012-06-09 11:24 Thomas De Schampheleire
  2012-07-23 21:39 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas De Schampheleire @ 2012-06-09 11:24 UTC (permalink / raw)
  To: crossgcc; +Cc: patrickdepinguin+buildroot

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>

diff --git a/kconfig/Makefile b/kconfig/Makefile
--- 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

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] kconfig: fix compatibility with older flex versions
  2012-06-09 11:24 [PATCH] kconfig: fix compatibility with older flex versions Thomas De Schampheleire
@ 2012-07-23 21:39 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2012-07-23 21:39 UTC (permalink / raw)
  To: crossgcc; +Cc: Thomas De Schampheleire

Thomas, All,

On Saturday 09 June 2012 13:23:20 Thomas De Schampheleire wrote:
> 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.

Applied as #740867bd81ca. Thank you!

Regards,
Yann E. MORIN (Sorry for the delay).

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-23 21:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-09 11:24 [PATCH] kconfig: fix compatibility with older flex versions Thomas De Schampheleire
2012-07-23 21:39 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).