]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
v4ldvb: fix and enable build for omap.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 23 Sep 2012 11:06:50 +0000 (07:06 -0400)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 23 Sep 2012 11:06:50 +0000 (07:06 -0400)
lfs/v4l-dvb
make.sh

index 5f2751ad2958de1912de2cd1b5529da3d6228624..7b0b3351b6ffd8c1f23336cf5cfa79bba421ef9a 100644 (file)
@@ -79,6 +79,15 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/v4l-dvb_rtl28xx_add_usb_ids.patch
        cd $(DIR_APP) && make allyesconfig KERNELRELEASE=$(KVER)-$(VERSUFIX) VER=$(XVER)
+ifeq "$(KCFG)" "-omap"
+       # Disable failing OMAP2 Video Out and IR RX51 driver
+       cd $(DIR_APP) && sed -i -e \
+               "s|^CONFIG_VIDEO_OMAP2_VOUT=m|# CONFIG_VIDEO_OMAP2_VOUT is not set|g" \
+               v4l/.config
+       cd $(DIR_APP) && sed -i -e \
+               "s|^CONFIG_IR_RX51=m|# CONFIG_IR_RX51 is not set|g" \
+               v4l/.config
+endif
        cd $(DIR_APP) && make all KERNELRELEASE=$(KVER)-$(VERSUFIX) VER=$(XVER)
        cd $(DIR_APP) && make install KERNELRELEASE=$(KVER)-$(VERSUFIX) VER=$(XVER)
        ln -sf $(DIR_APP)/ /usr/src/v4l-dvb
diff --git a/make.sh b/make.sh
index c139bf52751ae37aff328351ed41758c5c867c8d..92e5762f80ead393843af14a149c08d179268007 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -435,7 +435,7 @@ buildipfire() {
 #    ipfiremake igb                    KCFG="-rpi"
 
     ipfiremake linux                   KCFG="-omap"
-#    ipfiremake v4l-dvb                        KCFG="-omap"
+    ipfiremake v4l-dvb                 KCFG="-omap"
 #    ipfiremake kvm-kmod                       KCFG="-omap"
 #    ipfiremake mISDN                  KCFG="-omap"
     ipfiremake cryptodev               KCFG="-omap"