From c6c5e777afa8d5ea5f2ee2ad57332345ebe17182 Mon Sep 17 00:00:00 2001 From: Oliver Endriss Date: Sat, 4 Feb 2006 18:50:51 +0100 Subject: fixed compiling the firmware into the av7110 driver From: Oliver Endriss Fixed compiling av7110 firmware into the driver. It did not work unless you specified the firmware path in the kernel configuration (make menuconfig etc). Now it is sufficient to uncomment two lines in Make.config... Signed-off-by: Oliver Endriss --- v4l/Make.config | 3 +++ v4l/Makefile | 2 ++ 2 files changed, 5 insertions(+) (limited to 'v4l') 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 -- cgit v1.2.3