Skip to contentSkip to conversation

dtc: Remove space from flex command line

PATCH Applied David Gibson 2 participants 2 messages Dec 6, 2007 Kbuild

lore
Share & tools
lore
#0 lore raw

Author: Geoff Levand <[email protected]>

Apparently some versions of flex don't correctly parse the -o parameter, if there's a space between the -o and its argument. So, this patch removes it.

Makefile +1 -1
Index: dtc/Makefile
===================================================================
@@ -206,7 +206,7 @@
 
 %.lex.c: %.l
 	@$(VECHO) LEX $@
-	$(LEX) -o $@ $<
+	$(LEX) -o$@ $<
 
 %.tab.c %.tab.h %.output: %.y
 	@$(VECHO) BISON $@
Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
Applied
#1 lore raw

So, like, the other day David Gibson mumbled:

Quoted 7 lines

Author: Geoff Levand <[email protected]>

Apparently some versions of flex don't correctly parse the -o parameter, if there's a space between the -o and its argument. So, this patch removes it.

Applied.

Note, the way to specify the Author of a git patch is to include the "From: Name <addr>" line at the beginning of the patch's log message.

Oh, and, the author's SOB should be there too...? :-)

Thanks,
jdl