mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 10:04:12 +08:00
14340de506
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>
15 lines
411 B
Makefile
15 lines
411 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
tm6000-y := tm6000-cards.o \
|
|
tm6000-core.o \
|
|
tm6000-i2c.o \
|
|
tm6000-video.o \
|
|
tm6000-stds.o \
|
|
tm6000-input.o
|
|
|
|
obj-$(CONFIG_VIDEO_TM6000) += tm6000.o
|
|
obj-$(CONFIG_VIDEO_TM6000_ALSA) += tm6000-alsa.o
|
|
obj-$(CONFIG_VIDEO_TM6000_DVB) += tm6000-dvb.o
|
|
|
|
ccflags-y += -I $(srctree)/drivers/media/tuners
|
|
ccflags-y += -I $(srctree)/drivers/media/dvb-frontends
|