v4l-dvb-modules: don't use host strip
authorAndreas Oberritter <obi@opendreambox.org>
Tue, 12 Oct 2010 10:21:55 +0000 (10:21 +0000)
committerAndreas Oberritter <obi@opendreambox.org>
Tue, 12 Oct 2010 10:21:55 +0000 (10:21 +0000)
recipes/v4l-dvb/files/fix-strip.patch [new file with mode: 0644]
recipes/v4l-dvb/v4l-dvb-modules_hg.bb

diff --git a/recipes/v4l-dvb/files/fix-strip.patch b/recipes/v4l-dvb/files/fix-strip.patch
new file mode 100644 (file)
index 0000000..277acbf
--- /dev/null
@@ -0,0 +1,19 @@
+changeset:   15145:72aa2db63b3d
+tag:         tip
+user:        Andreas Oberritter <obi@linuxtv.org>
+date:        Tue Oct 12 10:03:53 2010 +0000
+summary:     make_makefile.pl: use $(CROSS_COMPILE)strip
+
+diff --git a/v4l/scripts/make_makefile.pl b/v4l/scripts/make_makefile.pl
+--- a/v4l/scripts/make_makefile.pl
++++ b/v4l/scripts/make_makefile.pl
+@@ -223,7 +223,7 @@
+       print OUT "echo -n \"\$\$i \"; ";
+       print OUT "install -m 644 -c \$\$i \$(DESTDIR)\$(KDIR26)/$dir; fi; done; ";
+       print OUT "if [  \$\$n -ne 0 ]; then echo; ";
+-      print OUT "strip --strip-debug \$(DESTDIR)\$(KDIR26)/$dir/*.ko; ";
++      print OUT "\$(CROSS_COMPILE)strip --strip-debug \$(DESTDIR)\$(KDIR26)/$dir/*.ko; ";
+       print OUT "fi;\n\n";
+ }
+ print OUT "\t@echo\n";
+
index a5c7f1f..824c04b 100644 (file)
@@ -5,7 +5,7 @@ DEPENDS += " mercurial-native"
 SRCDATE = "20100904"
 SRCREV = "6e0befab696a"
 PV = "0.0+hg${SRCDATE}"
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "hg://linuxtv.org/hg/;module=v4l-dvb;rev=${SRCREV} \
            file://defconfig \
@@ -14,6 +14,7 @@ SRC_URI = "hg://linuxtv.org/hg/;module=v4l-dvb;rev=${SRCREV} \
            file://fix-blocking-demux.patch;patch=1 \
            file://basic-dvb-t2-support.patch;patch=1 \
            file://localversion.patch;patch=1 \
+           file://fix-strip.patch;patch=1 \
            file://build-fix.patch;patch=1 \
 "