diff options
-rw-r--r-- | v4l/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/v4l/Makefile b/v4l/Makefile index 2e20d2d03..8e4170277 100644 --- a/v4l/Makefile +++ b/v4l/Makefile @@ -21,14 +21,45 @@ default:: Makefile.media links .version EXTRA_CFLAGS += -DDVB_CVS=1 EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/dvb-core/ EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/frontends/ + +ifeq ($(CONFIG_VIDEO_ADV_DEBUG),y) + EXTRA_CFLAGS += -DCONFIG_VIDEO_ADV_DEBUG=1 +endif + +ifeq ($(CONFIG_XC3028),m) + EXTRA_CFLAGS += -DCONFIG_XC3028=1 +endif + ifeq ($(CONFIG_DVB_FIRESAT),m) EXTRA_CFLAGS += -I$(srctree)/drivers/ieee1394/ endif +ifeq ($(CONFIG_VIDEO_CX88_DVB),m) + EXTRA_CFLAGS += -DCONFIG_VIDEO_CX88_DVB_MODULE=1 + EXTRA_CFLAGS += -DHAVE_CX22702=1 + EXTRA_CFLAGS += -DHAVE_OR51132=1 + EXTRA_CFLAGS += -DHAVE_LGDT330X=1 + EXTRA_CFLAGS += -DHAVE_MT352=1 + EXTRA_CFLAGS += -DHAVE_ZL10353=1 + EXTRA_CFLAGS += -DHAVE_NXT200X=1 + EXTRA_CFLAGS += -DHAVE_CX24123=1 + EXTRA_CFLAGS += -DHAVE_VP3054_I2C=1 +endif + +ifeq ($(CONFIG_VIDEO_SAA7134_DVB),m) + EXTRA_CFLAGS += -DHAVE_MT352=1 + EXTRA_CFLAGS += -DHAVE_TDA1004X=1 + EXTRA_CFLAGS += -DHAVE_NXT200X=1 +endif + ifeq ($(CONFIG_VIDEO_BUF_DVB),m) EXTRA_CFLAGS += -DHAVE_VIDEO_BUF_DVB=1 endif +ifeq ($(CONFIG_DVB_AV7110_OSD),y) + EXTRA_CFLAGS += -DCONFIG_DVB_AV7110_OSD=1 +endif + ifeq ($(CONFIG_DVB_AV7110_FIRMWARE),y) EXTRA_CFLAGS += -DCONFIG_DVB_AV7110_FIRMWARE_FILE endif |