]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: do not drop -I without parameter
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 5 Jul 2018 02:48:21 +0000 (11:48 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 6 Jul 2018 13:04:02 +0000 (22:04 +0900)
commitd53093277c3a524d866d2fbd8a13a11d7ab3e1b4
tree9d24b4bd38ed97ec2d7a062b60f2dd87bf113fda
parent233e0d2aa0edff74c37ab371ca239b72f28df022
kbuild: do not drop -I without parameter

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>
scripts/Kbuild.include