]> git.baikalelectronics.ru Git - kernel.git/commit
staging: prefix header search paths with $(srctree)/
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 31 Jan 2019 04:08:33 +0000 (13:08 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2019 11:30:27 +0000 (12:30 +0100)
commite670747467e6f247ce07e2a9dfd025bf3291af0c
treeec24eecb0db9423fa64d681bd7115e58667f667c
parentb16320141e6c0c7614cd15b5502b2d972c8e566f
staging: prefix header search paths with $(srctree)/

Currently, the Kbuild core manipulates header search paths in a crazy
way [1].

To fix this mess, I want all Makefiles to add explicit $(srctree)/ to
the search paths in the srctree. Some Makefiles are already written in
that way, but not all. The goal of this work is to make the notation
consistent, and finally get rid of the gross hacks.

Having whitespaces after -I does not matter since commit d53093277c3a
("kbuild: do not drop -I without parameter").

[1]: https://patchwork.kernel.org/patch/9632347/

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15 files changed:
drivers/staging/erofs/Makefile
drivers/staging/media/davinci_vpfe/Makefile
drivers/staging/most/Makefile
drivers/staging/most/cdev/Makefile
drivers/staging/most/dim2/Makefile
drivers/staging/most/i2c/Makefile
drivers/staging/most/net/Makefile
drivers/staging/most/sound/Makefile
drivers/staging/most/usb/Makefile
drivers/staging/most/video/Makefile
drivers/staging/rtl8192u/Makefile
drivers/staging/unisys/visorhba/Makefile
drivers/staging/unisys/visornic/Makefile
drivers/staging/vc04_services/bcm2835-audio/Makefile
drivers/staging/vc04_services/bcm2835-camera/Makefile