diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-01-25 02:09:03 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-01-29 01:22:21 -0500 |
commit | 34022f0072e76c6d64c22f83dbe3652c00ba03d2 (patch) | |
tree | f8de39fa38de1c313bec68702d109abd315372ea | |
parent | f2aecc1d38ff26f972d8c825ccc1f5152b79e203 (diff) |
scsi: remove unneeded header search paths
I was able to build without these extra header search paths.
Especially, the header search path -I. in kernel Makefiles is always
suspicious; it allows the compiler to search for headers in the top of
$(srctree), where obviously no header file exists.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r-- | drivers/scsi/aacraid/Makefile | 2 | ||||
-rw-r--r-- | drivers/scsi/aic7xxx/Makefile | 1 | ||||
-rw-r--r-- | drivers/scsi/smartpqi/Makefile | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/aacraid/Makefile b/drivers/scsi/aacraid/Makefile index 1bd9fd18f7f3..3893b95b140b 100644 --- a/drivers/scsi/aacraid/Makefile +++ b/drivers/scsi/aacraid/Makefile | |||
@@ -4,5 +4,3 @@ obj-$(CONFIG_SCSI_AACRAID) := aacraid.o | |||
4 | 4 | ||
5 | aacraid-objs := linit.o aachba.o commctrl.o comminit.o commsup.o \ | 5 | aacraid-objs := linit.o aachba.o commctrl.o comminit.o commsup.o \ |
6 | dpcsup.o rx.o sa.o rkt.o nark.o src.o | 6 | dpcsup.o rx.o sa.o rkt.o nark.o src.o |
7 | |||
8 | ccflags-y := -Idrivers/scsi | ||
diff --git a/drivers/scsi/aic7xxx/Makefile b/drivers/scsi/aic7xxx/Makefile index c15be2590d1c..e0188ecd85b2 100644 --- a/drivers/scsi/aic7xxx/Makefile +++ b/drivers/scsi/aic7xxx/Makefile | |||
@@ -34,7 +34,6 @@ aic79xx-y += aic79xx_osm.o \ | |||
34 | aic79xx_proc.o \ | 34 | aic79xx_proc.o \ |
35 | aic79xx_osm_pci.o | 35 | aic79xx_osm_pci.o |
36 | 36 | ||
37 | ccflags-y += -Idrivers/scsi | ||
38 | ifdef WARNINGS_BECOME_ERRORS | 37 | ifdef WARNINGS_BECOME_ERRORS |
39 | ccflags-y += -Werror | 38 | ccflags-y += -Werror |
40 | endif | 39 | endif |
diff --git a/drivers/scsi/smartpqi/Makefile b/drivers/scsi/smartpqi/Makefile index e6b779930230..a03a6edb0060 100644 --- a/drivers/scsi/smartpqi/Makefile +++ b/drivers/scsi/smartpqi/Makefile | |||
@@ -1,3 +1,2 @@ | |||
1 | ccflags-y += -I. | ||
2 | obj-$(CONFIG_SCSI_SMARTPQI) += smartpqi.o | 1 | obj-$(CONFIG_SCSI_SMARTPQI) += smartpqi.o |
3 | smartpqi-objs := smartpqi_init.o smartpqi_sis.o smartpqi_sas_transport.o | 2 | smartpqi-objs := smartpqi_init.o smartpqi_sis.o smartpqi_sas_transport.o |