summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Endriss <devnull@localhost>2005-12-07 23:31:52 +0000
committerOliver Endriss <devnull@localhost>2005-12-07 23:31:52 +0000
commitf4ad6c4d7356a994495eb20f0e225de308af5e61 (patch)
treedbe7f99206f4c034ab61cdb6e9b7ec60f0db617c
parentce251032a49fd69940da3949e8e6b7d99b68e94f (diff)
downloadmediapointer-dvb-s2-f4ad6c4d7356a994495eb20f0e225de308af5e61.tar.gz
mediapointer-dvb-s2-f4ad6c4d7356a994495eb20f0e225de308af5e61.tar.bz2
compile av7110 firmware into the dvb-ttpci driver if CONFIG_DVB_AV7110_FIRMWARE=y
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
-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