mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Masahiro Yamada](/assets/img/avatar_default.png)
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 48f6e3cf5b
("kbuild: do not drop -I without parameter").
[1]: https://patchwork.kernel.org/patch/9632347/
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
9 lines
272 B
Makefile
9 lines
272 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
ifneq ($(CONFIG_DVB_B2C2_FLEXCOP_PCI),)
|
|
b2c2-flexcop-pci-objs += flexcop-dma.o
|
|
endif
|
|
|
|
b2c2-flexcop-pci-objs += flexcop-pci.o
|
|
obj-$(CONFIG_DVB_B2C2_FLEXCOP_PCI) += b2c2-flexcop-pci.o
|
|
|
|
ccflags-y += -I $(srctree)/drivers/media/common/b2c2/
|