summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/firewire/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/firewire/Makefile')
-rw-r--r--drivers/media/dvb/firewire/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/drivers/media/dvb/firewire/Makefile b/drivers/media/dvb/firewire/Makefile
index 628dacd10daf..2034695ba194 100644
--- a/drivers/media/dvb/firewire/Makefile
+++ b/drivers/media/dvb/firewire/Makefile
@@ -1,13 +1,8 @@
-firedtv-objs := firedtv-1394.o \
- firedtv-dvb.o \
- firedtv-fe.o \
- firedtv-iso.o \
- avc.o \
- cmp.o \
- firedtv-rc.o \
- firedtv-ci.o
-
obj-$(CONFIG_DVB_FIREDTV) += firedtv.o
-EXTRA_CFLAGS := -Idrivers/ieee1394
-EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core
+firedtv-y := firedtv-avc.o firedtv-ci.o firedtv-dvb.o firedtv-fe.o
+firedtv-$(CONFIG_DVB_FIREDTV_IEEE1394) += firedtv-1394.o
+firedtv-$(CONFIG_DVB_FIREDTV_INPUT) += firedtv-rc.o
+
+ccflags-y += -Idrivers/media/dvb/dvb-core
+ccflags-$(CONFIG_DVB_FIREDTV_IEEE1394) += -Idrivers/ieee1394
OpenPOWER on IntegriCloud