[PATCH] kbuild: do not drop -I without parameter

Sascha Hauer s.hauer at pengutronix.de
Wed Jun 12 23:25:23 PDT 2019


On Tue, Jun 11, 2019 at 07:16:35PM +0900, Masahiro Yamada wrote:
> Linux commit 48f6e3cf5bc6dd0ee00405342ff310c3b1fedb35
> [ Adjusted for barebox for some missing commits ]
> 
> The comment line for addtree says "skip if -I has no parameter".
> 
> What it actually does is "drop if -I has no parameter".  For example,
> if you have the compiler flag '-I foo' (a space between), it will be
> converted to 'foo'.  This completely changes the meaning.
> 
> What we want is, "do nothing" for -I without parameter so that
> '-I foo' is kept as-is.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---

Applied this one and the Kconfig update ontop of it. Thanks,

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list