]> 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)
commit16ddee2e330d48970bc5a9e06e3c686cb053a72c
tree9d24b4bd38ed97ec2d7a062b60f2dd87bf113fda
parent9c22165f3ef2758cde7ca06660312bf7035a5d17
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