kbuild: do not drop -I without parameter
Linux commit 48f6e3c
[ 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@socionext.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent afa8665 commit 71948298b2bd8860f99fb0b4f7efbae463ea7d9f
@Masahiro Yamada Masahiro Yamada authored on 11 Jun 2019
Sascha Hauer committed on 13 Jun 2019
Showing 1 changed file
View
scripts/Kbuild.include