mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 17:44:14 +08:00
bc03abd287
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>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
13 lines
365 B
Makefile
13 lines
365 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
ccflags-y := -I $(srctree)/drivers/scsi
|
|
|
|
# 16-bit client drivers
|
|
obj-$(CONFIG_PCMCIA_QLOGIC) += qlogic_cs.o
|
|
obj-$(CONFIG_PCMCIA_AHA152X) += aha152x_cs.o
|
|
obj-$(CONFIG_PCMCIA_NINJA_SCSI) += nsp_cs.o
|
|
obj-$(CONFIG_PCMCIA_SYM53C500) += sym53c500_cs.o
|
|
|
|
aha152x_cs-objs := aha152x_stub.o aha152x_core.o
|
|
qlogic_cs-objs := qlogic_stub.o
|