summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--v4l/ChangeLog9
-rw-r--r--v4l/Makefile14
2 files changed, 22 insertions, 1 deletions
diff --git a/v4l/ChangeLog b/v4l/ChangeLog
index ca94a3147..0b29bc1a2 100644
--- a/v4l/ChangeLog
+++ b/v4l/ChangeLog
@@ -1,3 +1,12 @@
+2005-12-07 23:06 endriss
+
+ * v4l/Makefile:
+
+ - compile av7110 firmware into the dvb-ttpci driver
+ if CONFIG_DVB_AV7110_FIRMWARE=y
+
+ Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
+
2005-12-07 17:33 mchehab
* v4l/scripts/gentree.pl:
diff --git a/v4l/Makefile b/v4l/Makefile
index a0b3546d1..7eec0f353 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -162,6 +162,18 @@ endif
ifeq ($(CONFIG_DVB_AV7110_OSD),y)
EXTRA_CFLAGS += -DCONFIG_DVB_AV7110_OSD=1
endif
+ifeq ($(CONFIG_DVB_AV7110_FIRMWARE),y)
+src := $(PWD)
+
+$(src)/av7110.c: $(obj)/av7110_firm.h
+
+$(obj)/fdump:
+ $(CC) -o $@ $(src)/fdump.c
+
+$(obj)/av7110_firm.h: $(obj)/fdump
+ $(obj)/fdump $(CONFIG_DVB_AV7110_FIRMWARE_FILE) dvb_ttpci_fw $@
+endif
+
#################################################
# compile modules
@@ -406,7 +418,7 @@ rmmodules::
clean::
@find . -name '*.c' -type l -exec rm '{}' \;
@find . -name '*.h' -type l -exec rm '{}' \;
- -rm -f *~ *.o *.ko *.mod.c
+ -rm -f *~ *.o *.ko *.mod.c av7110_firm.h fdump
distclean:: clean
-rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd