summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--v4l/Make.config3
-rw-r--r--v4l/Makefile2
2 files changed, 5 insertions, 0 deletions
diff --git a/v4l/Make.config b/v4l/Make.config
index 48fb91ca2..d51f77db6 100644
--- a/v4l/Make.config
+++ b/v4l/Make.config
@@ -93,6 +93,9 @@ ifeq ($(CONFIG_DVB_CORE),m)
CONFIG_DVB_BUDGET_PATCH := m
CONFIG_DVB_AV7110 := m
CONFIG_DVB_AV7110_OSD := y
+# Uncomment the next two lines to compile the av7110 firmware into the driver.
+# CONFIG_DVB_AV7110_FIRMWARE := y
+# CONFIG_DVB_AV7110_FIRMWARE_FILE := /path/to/firmware/dvb-ttpci-01.fw
CONFIG_DVB_TTUSB_BUDGET := m
CONFIG_DVB_TTUSB_DEC := m
CONFIG_VIDEO_SAA7146 := m
diff --git a/v4l/Makefile b/v4l/Makefile
index ef983c8c3..889e1581c 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -196,6 +196,8 @@ $(obj)/fdump:
$(obj)/av7110_firm.h: $(obj)/fdump
$(obj)/fdump $(CONFIG_DVB_AV7110_FIRMWARE_FILE) dvb_ttpci_fw $@
+
+EXTRA_CFLAGS += -DCONFIG_DVB_AV7110_FIRMWARE_FILE
endif