diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-05-13 02:22:15 -0400 |
|---|---|---|
| committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-05-17 22:49:56 -0400 |
| commit | 14340de506c9aa08baa9540ee6250c9d978c16b7 (patch) | |
| tree | eab04ed0624786058c66c78b2a6b3279473f2b33 | |
| parent | cc966c92c1d40e53074a3aed1d15b4a306161605 (diff) | |
media: 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 48f6e3cf5bc6
("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>
30 files changed, 47 insertions, 49 deletions
diff --git a/drivers/media/common/b2c2/Makefile b/drivers/media/common/b2c2/Makefile index aa2dc2434ee5..0e32b77f349b 100644 --- a/drivers/media/common/b2c2/Makefile +++ b/drivers/media/common/b2c2/Makefile | |||
| @@ -4,5 +4,5 @@ b2c2-flexcop-objs += flexcop-sram.o flexcop-eeprom.o flexcop-misc.o | |||
| 4 | b2c2-flexcop-objs += flexcop-hw-filter.o | 4 | b2c2-flexcop-objs += flexcop-hw-filter.o |
| 5 | obj-$(CONFIG_DVB_B2C2_FLEXCOP) += b2c2-flexcop.o | 5 | obj-$(CONFIG_DVB_B2C2_FLEXCOP) += b2c2-flexcop.o |
| 6 | 6 | ||
| 7 | ccflags-y += -Idrivers/media/dvb-frontends/ | 7 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends/ |
| 8 | ccflags-y += -Idrivers/media/tuners/ | 8 | ccflags-y += -I $(srctree)/drivers/media/tuners/ |
diff --git a/drivers/media/i2c/smiapp/Makefile b/drivers/media/i2c/smiapp/Makefile index f45a003cbe7e..9f03aefd4fd7 100644 --- a/drivers/media/i2c/smiapp/Makefile +++ b/drivers/media/i2c/smiapp/Makefile | |||
| @@ -2,4 +2,4 @@ smiapp-objs += smiapp-core.o smiapp-regs.o \ | |||
| 2 | smiapp-quirk.o smiapp-limits.o | 2 | smiapp-quirk.o smiapp-limits.o |
| 3 | obj-$(CONFIG_VIDEO_SMIAPP) += smiapp.o | 3 | obj-$(CONFIG_VIDEO_SMIAPP) += smiapp.o |
| 4 | 4 | ||
| 5 | ccflags-y += -Idrivers/media/i2c | 5 | ccflags-y += -I $(srctree)/drivers/media/i2c |
diff --git a/drivers/media/mmc/siano/Makefile b/drivers/media/mmc/siano/Makefile index 5fc345645a80..848548feeb19 100644 --- a/drivers/media/mmc/siano/Makefile +++ b/drivers/media/mmc/siano/Makefile | |||
| @@ -1,4 +1,3 @@ | |||
| 1 | obj-$(CONFIG_SMS_SDIO_DRV) += smssdio.o | 1 | obj-$(CONFIG_SMS_SDIO_DRV) += smssdio.o |
| 2 | 2 | ||
| 3 | ccflags-y += -Idrivers/media/common/siano | 3 | ccflags-y += -I $(srctree)/drivers/media/common/siano |
| 4 | |||
diff --git a/drivers/media/pci/b2c2/Makefile b/drivers/media/pci/b2c2/Makefile index b43b9167db5a..14ed6e441738 100644 --- a/drivers/media/pci/b2c2/Makefile +++ b/drivers/media/pci/b2c2/Makefile | |||
| @@ -6,4 +6,4 @@ endif | |||
| 6 | b2c2-flexcop-pci-objs += flexcop-pci.o | 6 | b2c2-flexcop-pci-objs += flexcop-pci.o |
| 7 | obj-$(CONFIG_DVB_B2C2_FLEXCOP_PCI) += b2c2-flexcop-pci.o | 7 | obj-$(CONFIG_DVB_B2C2_FLEXCOP_PCI) += b2c2-flexcop-pci.o |
| 8 | 8 | ||
| 9 | ccflags-y += -Idrivers/media/common/b2c2/ | 9 | ccflags-y += -I $(srctree)/drivers/media/common/b2c2/ |
diff --git a/drivers/media/pci/bt8xx/Makefile b/drivers/media/pci/bt8xx/Makefile index 0b5032c8a9c0..69bc0d9c478e 100644 --- a/drivers/media/pci/bt8xx/Makefile +++ b/drivers/media/pci/bt8xx/Makefile | |||
| @@ -6,5 +6,5 @@ bttv-objs := bttv-driver.o bttv-cards.o bttv-if.o \ | |||
| 6 | obj-$(CONFIG_VIDEO_BT848) += bttv.o | 6 | obj-$(CONFIG_VIDEO_BT848) += bttv.o |
| 7 | obj-$(CONFIG_DVB_BT8XX) += bt878.o dvb-bt8xx.o dst.o dst_ca.o | 7 | obj-$(CONFIG_DVB_BT8XX) += bt878.o dvb-bt8xx.o dst.o dst_ca.o |
| 8 | 8 | ||
| 9 | ccflags-y += -Idrivers/media/dvb-frontends | 9 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends |
| 10 | ccflags-y += -Idrivers/media/tuners | 10 | ccflags-y += -I $(srctree)/drivers/media/tuners |
diff --git a/drivers/media/pci/cx18/Makefile b/drivers/media/pci/cx18/Makefile index 9c82c2df05e1..df00ef8b4521 100644 --- a/drivers/media/pci/cx18/Makefile +++ b/drivers/media/pci/cx18/Makefile | |||
| @@ -9,5 +9,5 @@ cx18-alsa-objs := cx18-alsa-main.o cx18-alsa-pcm.o | |||
| 9 | obj-$(CONFIG_VIDEO_CX18) += cx18.o | 9 | obj-$(CONFIG_VIDEO_CX18) += cx18.o |
| 10 | obj-$(CONFIG_VIDEO_CX18_ALSA) += cx18-alsa.o | 10 | obj-$(CONFIG_VIDEO_CX18_ALSA) += cx18-alsa.o |
| 11 | 11 | ||
| 12 | ccflags-y += -Idrivers/media/dvb-frontends | 12 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends |
| 13 | ccflags-y += -Idrivers/media/tuners | 13 | ccflags-y += -I $(srctree)/drivers/media/tuners |
diff --git a/drivers/media/pci/cx23885/Makefile b/drivers/media/pci/cx23885/Makefile index 130f0aa29ac6..a785169ec368 100644 --- a/drivers/media/pci/cx23885/Makefile +++ b/drivers/media/pci/cx23885/Makefile | |||
| @@ -8,7 +8,7 @@ cx23885-objs := cx23885-cards.o cx23885-video.o cx23885-vbi.o \ | |||
| 8 | obj-$(CONFIG_VIDEO_CX23885) += cx23885.o | 8 | obj-$(CONFIG_VIDEO_CX23885) += cx23885.o |
| 9 | obj-$(CONFIG_MEDIA_ALTERA_CI) += altera-ci.o | 9 | obj-$(CONFIG_MEDIA_ALTERA_CI) += altera-ci.o |
| 10 | 10 | ||
| 11 | ccflags-y += -Idrivers/media/tuners | 11 | ccflags-y += -I $(srctree)/drivers/media/tuners |
| 12 | ccflags-y += -Idrivers/media/dvb-frontends | 12 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends |
| 13 | 13 | ||
| 14 | ccflags-y += $(extra-cflags-y) $(extra-cflags-m) | 14 | ccflags-y += $(extra-cflags-y) $(extra-cflags-m) |
diff --git a/drivers/media/pci/cx88/Makefile b/drivers/media/pci/cx88/Makefile index d0f45d652d6e..c2a015869760 100644 --- a/drivers/media/pci/cx88/Makefile +++ b/drivers/media/pci/cx88/Makefile | |||
| @@ -10,5 +10,5 @@ obj-$(CONFIG_VIDEO_CX88_ALSA) += cx88-alsa.o | |||
| 10 | obj-$(CONFIG_VIDEO_CX88_BLACKBIRD) += cx88-blackbird.o | 10 | obj-$(CONFIG_VIDEO_CX88_BLACKBIRD) += cx88-blackbird.o |
| 11 | obj-$(CONFIG_VIDEO_CX88_DVB) += cx88-dvb.o | 11 | obj-$(CONFIG_VIDEO_CX88_DVB) += cx88-dvb.o |
| 12 | obj-$(CONFIG_VIDEO_CX88_VP3054) += cx88-vp3054-i2c.o | 12 | obj-$(CONFIG_VIDEO_CX88_VP3054) += cx88-vp3054-i2c.o |
| 13 | ccflags-y += -Idrivers/media/tuners | 13 | ccflags-y += -I $(srctree)/drivers/media/tuners |
| 14 | ccflags-y += -Idrivers/media/dvb-frontends | 14 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends |
diff --git a/drivers/media/pci/ddbridge/Makefile b/drivers/media/pci/ddbridge/Makefile index 5b6d5bbc38af..2b77c8d0eb2e 100644 --- a/drivers/media/pci/ddbridge/Makefile +++ b/drivers/media/pci/ddbridge/Makefile | |||
| @@ -9,5 +9,5 @@ ddbridge-objs := ddbridge-main.o ddbridge-core.o ddbridge-ci.o \ | |||
| 9 | 9 | ||
| 10 | obj-$(CONFIG_DVB_DDBRIDGE) += ddbridge.o | 10 | obj-$(CONFIG_DVB_DDBRIDGE) += ddbridge.o |
| 11 | 11 | ||
| 12 | ccflags-y += -Idrivers/media/dvb-frontends/ | 12 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends/ |
| 13 | ccflags-y += -Idrivers/media/tuners/ | 13 | ccflags-y += -I $(srctree)/drivers/media/tuners/ |
diff --git a/drivers/media/pci/dm1105/Makefile b/drivers/media/pci/dm1105/Makefile index d22c2547ee86..87e8e8052cdd 100644 --- a/drivers/media/pci/dm1105/Makefile +++ b/drivers/media/pci/dm1105/Makefile | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | obj-$(CONFIG_DVB_DM1105) += dm1105.o | 1 | obj-$(CONFIG_DVB_DM1105) += dm1105.o |
| 2 | 2 | ||
| 3 | ccflags-y += -Idrivers/media/dvb-frontends | 3 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends |
diff --git a/drivers/media/pci/mantis/Makefile b/drivers/media/pci/mantis/Makefile index b5ef39692cb0..49e82247b618 100644 --- a/drivers/media/pci/mantis/Makefile +++ b/drivers/media/pci/mantis/Makefile | |||
| @@ -26,4 +26,4 @@ obj-$(CONFIG_MANTIS_CORE) += mantis_core.o | |||
| 26 | obj-$(CONFIG_DVB_MANTIS) += mantis.o | 26 | obj-$(CONFIG_DVB_MANTIS) += mantis.o |
| 27 | obj-$(CONFIG_DVB_HOPPER) += hopper.o | 27 | obj-$(CONFIG_DVB_HOPPER) += hopper.o |
| 28 | 28 | ||
| 29 | ccflags-y += -Idrivers/media/dvb-frontends/ | 29 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends/ |
diff --git a/drivers/media/pci/netup_unidvb/Makefile b/drivers/media/pci/netup_unidvb/Makefile index 944c3e164157..215bdafcc279 100644 --- a/drivers/media/pci/netup_unidvb/Makefile +++ b/drivers/media/pci/netup_unidvb/Makefile | |||
| @@ -6,4 +6,4 @@ netup-unidvb-objs += netup_unidvb_spi.o | |||
| 6 | 6 | ||
| 7 | obj-$(CONFIG_DVB_NETUP_UNIDVB) += netup-unidvb.o | 7 | obj-$(CONFIG_DVB_NETUP_UNIDVB) += netup-unidvb.o |
| 8 | 8 | ||
| 9 | ccflags-y += -Idrivers/media/dvb-frontends | 9 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends |
diff --git a/drivers/media/pci/ngene/Makefile b/drivers/media/pci/ngene/Makefile index ec450ad19281..5d16090e0677 100644 --- a/drivers/media/pci/ngene/Makefile +++ b/drivers/media/pci/ngene/Makefile | |||
| @@ -7,5 +7,5 @@ ngene-objs := ngene-core.o ngene-i2c.o ngene-cards.o ngene-dvb.o | |||
| 7 | 7 | ||
| 8 | obj-$(CONFIG_DVB_NGENE) += ngene.o | 8 | obj-$(CONFIG_DVB_NGENE) += ngene.o |
| 9 | 9 | ||
| 10 | ccflags-y += -Idrivers/media/dvb-frontends/ | 10 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends/ |
| 11 | ccflags-y += -Idrivers/media/tuners/ | 11 | ccflags-y += -I $(srctree)/drivers/media/tuners/ |
diff --git a/drivers/media/pci/pluto2/Makefile b/drivers/media/pci/pluto2/Makefile index 3c2aea1ac752..4d21a2c1544d 100644 --- a/drivers/media/pci/pluto2/Makefile +++ b/drivers/media/pci/pluto2/Makefile | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | obj-$(CONFIG_DVB_PLUTO2) += pluto2.o | 1 | obj-$(CONFIG_DVB_PLUTO2) += pluto2.o |
| 2 | 2 | ||
| 3 | ccflags-y += -Idrivers/media/dvb-frontends/ | 3 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends/ |
diff --git a/drivers/media/pci/pt1/Makefile b/drivers/media/pci/pt1/Makefile index bc491e08dd63..f80a1cd4c0f5 100644 --- a/drivers/media/pci/pt1/Makefile +++ b/drivers/media/pci/pt1/Makefile | |||
| @@ -2,5 +2,5 @@ earth-pt1-objs := pt1.o | |||
| 2 | 2 | ||
| 3 | obj-$(CONFIG_DVB_PT1) += earth-pt1.o | 3 | obj-$(CONFIG_DVB_PT1) += earth-pt1.o |
| 4 | 4 | ||
| 5 | ccflags-y += -Idrivers/media/dvb-frontends | 5 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends |
| 6 | ccflags-y += -Idrivers/media/tuners | 6 | ccflags-y += -I $(srctree)/drivers/media/tuners |
diff --git a/drivers/media/pci/pt3/Makefile b/drivers/media/pci/pt3/Makefile index 8698d5dfaf52..da6b265f4b39 100644 --- a/drivers/media/pci/pt3/Makefile +++ b/drivers/media/pci/pt3/Makefile | |||
| @@ -4,5 +4,5 @@ earth-pt3-objs += pt3.o pt3_i2c.o pt3_dma.o | |||
| 4 | 4 | ||
| 5 | obj-$(CONFIG_DVB_PT3) += earth-pt3.o | 5 | obj-$(CONFIG_DVB_PT3) += earth-pt3.o |
| 6 | 6 | ||
| 7 | ccflags-y += -Idrivers/media/dvb-frontends | 7 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends |
| 8 | ccflags-y += -Idrivers/media/tuners | 8 | ccflags-y += -I $(srctree)/drivers/media/tuners |
diff --git a/drivers/media/pci/smipcie/Makefile b/drivers/media/pci/smipcie/Makefile index 214ebfe12cf7..2426b7566553 100644 --- a/drivers/media/pci/smipcie/Makefile +++ b/drivers/media/pci/smipcie/Makefile | |||
| @@ -4,6 +4,5 @@ smipcie-objs := smipcie-main.o smipcie-ir.o | |||
| 4 | 4 | ||
| 5 | obj-$(CONFIG_DVB_SMIPCIE) += smipcie.o | 5 | obj-$(CONFIG_DVB_SMIPCIE) += smipcie.o |
| 6 | 6 | ||
| 7 | ccflags-y += -Idrivers/media/tuners | 7 | ccflags-y += -I $(srctree)/drivers/media/tuners |
| 8 | ccflags-y += -Idrivers/media/dvb-frontends | 8 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends |
| 9 | |||
diff --git a/drivers/media/pci/ttpci/Makefile b/drivers/media/pci/ttpci/Makefile index 58ca12732aad..9b44c479fcdd 100644 --- a/drivers/media/pci/ttpci/Makefile +++ b/drivers/media/pci/ttpci/Makefile | |||
| @@ -18,5 +18,5 @@ obj-$(CONFIG_DVB_BUDGET_CI) += budget-ci.o | |||
| 18 | obj-$(CONFIG_DVB_BUDGET_PATCH) += budget-patch.o | 18 | obj-$(CONFIG_DVB_BUDGET_PATCH) += budget-patch.o |
| 19 | obj-$(CONFIG_DVB_AV7110) += dvb-ttpci.o | 19 | obj-$(CONFIG_DVB_AV7110) += dvb-ttpci.o |
| 20 | 20 | ||
| 21 | ccflags-y += -Idrivers/media/dvb-frontends/ | 21 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends/ |
| 22 | ccflags-y += -Idrivers/media/tuners | 22 | ccflags-y += -I $(srctree)/drivers/media/tuners |
diff --git a/drivers/media/platform/sti/c8sectpfe/Makefile b/drivers/media/platform/sti/c8sectpfe/Makefile index 4bf0c6bf20e1..aedfc725cc19 100644 --- a/drivers/media/platform/sti/c8sectpfe/Makefile +++ b/drivers/media/platform/sti/c8sectpfe/Makefile | |||
| @@ -4,5 +4,5 @@ c8sectpfe-y += c8sectpfe-core.o c8sectpfe-common.o c8sectpfe-dvb.o \ | |||
| 4 | 4 | ||
| 5 | obj-$(CONFIG_DVB_C8SECTPFE) += c8sectpfe.o | 5 | obj-$(CONFIG_DVB_C8SECTPFE) += c8sectpfe.o |
| 6 | 6 | ||
| 7 | ccflags-y += -Idrivers/media/dvb-frontends/ | 7 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends/ |
| 8 | ccflags-y += -Idrivers/media/tuners/ | 8 | ccflags-y += -I $(srctree)/drivers/media/tuners/ |
diff --git a/drivers/media/spi/Makefile b/drivers/media/spi/Makefile index c254e2a70ec5..446e6c567e94 100644 --- a/drivers/media/spi/Makefile +++ b/drivers/media/spi/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | obj-$(CONFIG_VIDEO_GS1662) += gs1662.o | 1 | obj-$(CONFIG_VIDEO_GS1662) += gs1662.o |
| 2 | obj-$(CONFIG_CXD2880_SPI_DRV) += cxd2880-spi.o | 2 | obj-$(CONFIG_CXD2880_SPI_DRV) += cxd2880-spi.o |
| 3 | 3 | ||
| 4 | ccflags-y += -Idrivers/media/dvb-frontends/cxd2880 | 4 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends/cxd2880 |
diff --git a/drivers/media/usb/as102/Makefile b/drivers/media/usb/as102/Makefile index b0b319622edb..de671aed5dfc 100644 --- a/drivers/media/usb/as102/Makefile +++ b/drivers/media/usb/as102/Makefile | |||
| @@ -4,4 +4,4 @@ dvb-as102-objs := as102_drv.o as102_fw.o as10x_cmd.o as10x_cmd_stream.o \ | |||
| 4 | 4 | ||
| 5 | obj-$(CONFIG_DVB_AS102) += dvb-as102.o | 5 | obj-$(CONFIG_DVB_AS102) += dvb-as102.o |
| 6 | 6 | ||
| 7 | ccflags-y += -Idrivers/media/dvb-frontends | 7 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends |
diff --git a/drivers/media/usb/au0828/Makefile b/drivers/media/usb/au0828/Makefile index 5691881c56c0..4347812d101a 100644 --- a/drivers/media/usb/au0828/Makefile +++ b/drivers/media/usb/au0828/Makefile | |||
| @@ -11,7 +11,7 @@ endif | |||
| 11 | 11 | ||
| 12 | obj-$(CONFIG_VIDEO_AU0828) += au0828.o | 12 | obj-$(CONFIG_VIDEO_AU0828) += au0828.o |
| 13 | 13 | ||
| 14 | ccflags-y += -Idrivers/media/tuners | 14 | ccflags-y += -I $(srctree)/drivers/media/tuners |
| 15 | ccflags-y += -Idrivers/media/dvb-frontends | 15 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends |
| 16 | 16 | ||
| 17 | ccflags-y += $(extra-cflags-y) $(extra-cflags-m) | 17 | ccflags-y += $(extra-cflags-y) $(extra-cflags-m) |
diff --git a/drivers/media/usb/b2c2/Makefile b/drivers/media/usb/b2c2/Makefile index f3cef05f37b6..e7f949d18fbf 100644 --- a/drivers/media/usb/b2c2/Makefile +++ b/drivers/media/usb/b2c2/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | b2c2-flexcop-usb-objs := flexcop-usb.o | 1 | b2c2-flexcop-usb-objs := flexcop-usb.o |
| 2 | obj-$(CONFIG_DVB_B2C2_FLEXCOP_USB) += b2c2-flexcop-usb.o | 2 | obj-$(CONFIG_DVB_B2C2_FLEXCOP_USB) += b2c2-flexcop-usb.o |
| 3 | 3 | ||
| 4 | ccflags-y += -Idrivers/media/common/b2c2/ | 4 | ccflags-y += -I $(srctree)/drivers/media/common/b2c2/ |
diff --git a/drivers/media/usb/cx231xx/Makefile b/drivers/media/usb/cx231xx/Makefile index af824fd80366..8acbbcba7d0c 100644 --- a/drivers/media/usb/cx231xx/Makefile +++ b/drivers/media/usb/cx231xx/Makefile | |||
| @@ -9,5 +9,5 @@ obj-$(CONFIG_VIDEO_CX231XX) += cx231xx.o | |||
| 9 | obj-$(CONFIG_VIDEO_CX231XX_ALSA) += cx231xx-alsa.o | 9 | obj-$(CONFIG_VIDEO_CX231XX_ALSA) += cx231xx-alsa.o |
| 10 | obj-$(CONFIG_VIDEO_CX231XX_DVB) += cx231xx-dvb.o | 10 | obj-$(CONFIG_VIDEO_CX231XX_DVB) += cx231xx-dvb.o |
| 11 | 11 | ||
| 12 | ccflags-y += -Idrivers/media/tuners | 12 | ccflags-y += -I $(srctree)/drivers/media/tuners |
| 13 | ccflags-y += -Idrivers/media/dvb-frontends | 13 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends |
diff --git a/drivers/media/usb/em28xx/Makefile b/drivers/media/usb/em28xx/Makefile index 8a224007d755..8c2fc3104561 100644 --- a/drivers/media/usb/em28xx/Makefile +++ b/drivers/media/usb/em28xx/Makefile | |||
| @@ -11,5 +11,5 @@ obj-$(CONFIG_VIDEO_EM28XX_ALSA) += em28xx-alsa.o | |||
| 11 | obj-$(CONFIG_VIDEO_EM28XX_DVB) += em28xx-dvb.o | 11 | obj-$(CONFIG_VIDEO_EM28XX_DVB) += em28xx-dvb.o |
| 12 | obj-$(CONFIG_VIDEO_EM28XX_RC) += em28xx-rc.o | 12 | obj-$(CONFIG_VIDEO_EM28XX_RC) += em28xx-rc.o |
| 13 | 13 | ||
| 14 | ccflags-y += -Idrivers/media/tuners | 14 | ccflags-y += -I $(srctree)/drivers/media/tuners |
| 15 | ccflags-y += -Idrivers/media/dvb-frontends | 15 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends |
diff --git a/drivers/media/usb/go7007/Makefile b/drivers/media/usb/go7007/Makefile index 3d95bbc4192c..712a3507f195 100644 --- a/drivers/media/usb/go7007/Makefile +++ b/drivers/media/usb/go7007/Makefile | |||
| @@ -9,4 +9,4 @@ go7007-y := go7007-v4l2.o go7007-driver.o go7007-i2c.o go7007-fw.o \ | |||
| 9 | 9 | ||
| 10 | s2250-y := s2250-board.o | 10 | s2250-y := s2250-board.o |
| 11 | 11 | ||
| 12 | ccflags-$(CONFIG_VIDEO_GO7007_LOADER:m=y) += -Idrivers/media/common | 12 | ccflags-$(CONFIG_VIDEO_GO7007_LOADER:m=y) += -I $(srctree)/drivers/media/common |
diff --git a/drivers/media/usb/pvrusb2/Makefile b/drivers/media/usb/pvrusb2/Makefile index 9facf6873404..2e71afc4f6de 100644 --- a/drivers/media/usb/pvrusb2/Makefile +++ b/drivers/media/usb/pvrusb2/Makefile | |||
| @@ -17,5 +17,5 @@ pvrusb2-objs := pvrusb2-i2c-core.o \ | |||
| 17 | 17 | ||
| 18 | obj-$(CONFIG_VIDEO_PVRUSB2) += pvrusb2.o | 18 | obj-$(CONFIG_VIDEO_PVRUSB2) += pvrusb2.o |
| 19 | 19 | ||
| 20 | ccflags-y += -Idrivers/media/tuners | 20 | ccflags-y += -I $(srctree)/drivers/media/tuners |
| 21 | ccflags-y += -Idrivers/media/dvb-frontends | 21 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends |
diff --git a/drivers/media/usb/siano/Makefile b/drivers/media/usb/siano/Makefile index 7d48864e2782..ba56e9818489 100644 --- a/drivers/media/usb/siano/Makefile +++ b/drivers/media/usb/siano/Makefile | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | obj-$(CONFIG_SMS_USB_DRV) += smsusb.o | 1 | obj-$(CONFIG_SMS_USB_DRV) += smsusb.o |
| 2 | 2 | ||
| 3 | ccflags-y += -Idrivers/media/common/siano | 3 | ccflags-y += -I $(srctree)/drivers/media/common/siano |
| 4 | ccflags-y += $(extra-cflags-y) $(extra-cflags-m) | 4 | ccflags-y += $(extra-cflags-y) $(extra-cflags-m) |
| 5 | 5 | ||
diff --git a/drivers/media/usb/tm6000/Makefile b/drivers/media/usb/tm6000/Makefile index 744c039e621a..75247a02a485 100644 --- a/drivers/media/usb/tm6000/Makefile +++ b/drivers/media/usb/tm6000/Makefile | |||
| @@ -10,5 +10,5 @@ obj-$(CONFIG_VIDEO_TM6000) += tm6000.o | |||
| 10 | obj-$(CONFIG_VIDEO_TM6000_ALSA) += tm6000-alsa.o | 10 | obj-$(CONFIG_VIDEO_TM6000_ALSA) += tm6000-alsa.o |
| 11 | obj-$(CONFIG_VIDEO_TM6000_DVB) += tm6000-dvb.o | 11 | obj-$(CONFIG_VIDEO_TM6000_DVB) += tm6000-dvb.o |
| 12 | 12 | ||
| 13 | ccflags-y += -Idrivers/media/tuners | 13 | ccflags-y += -I $(srctree)/drivers/media/tuners |
| 14 | ccflags-y += -Idrivers/media/dvb-frontends | 14 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends |
diff --git a/drivers/media/usb/ttusb-budget/Makefile b/drivers/media/usb/ttusb-budget/Makefile index fe4372dddd0e..37847d773921 100644 --- a/drivers/media/usb/ttusb-budget/Makefile +++ b/drivers/media/usb/ttusb-budget/Makefile | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | obj-$(CONFIG_DVB_TTUSB_BUDGET) += dvb-ttusb-budget.o | 1 | obj-$(CONFIG_DVB_TTUSB_BUDGET) += dvb-ttusb-budget.o |
| 2 | 2 | ||
| 3 | ccflags-y += -Idrivers/media/dvb-frontends | 3 | ccflags-y += -I $(srctree)/drivers/media/dvb-frontends |
