ti-dsplink: fix build with make 3.85 (e.g. fedora)
authorKoen Kooi <koen@dominion.thruhere.net>
Fri, 23 Dec 2011 10:01:32 +0000 (11:01 +0100)
committerKoen Kooi <koen@dominion.thruhere.net>
Sat, 24 Dec 2011 15:17:56 +0000 (16:17 +0100)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
recipes-ti/dsplink/ti-dsplink.inc
recipes-ti/dsplink/ti-dsplink/0001-remove-check-for-make-version-3.85-works-fine.patch [new file with mode: 0644]
recipes-ti/dsplink/ti-dsplink_1.65.00.03.bb

index 82fa5b20815218a1647d8c6ea7c5ce18559933c5..9b23e5b5cfb669aab598d49cafeea563a6b60a39 100644 (file)
@@ -21,7 +21,7 @@ PROVIDES += "ti-dsplink-examples"
 
 # This package builds a kernel module, use kernel PR as base and append a local version
 PR = "${MACHINE_KERNEL_PR}"
-PR_append = "i"
+PR_append = "j"
 
 S = "${WORKDIR}/dsplink_linux_${PV}"
 
diff --git a/recipes-ti/dsplink/ti-dsplink/0001-remove-check-for-make-version-3.85-works-fine.patch b/recipes-ti/dsplink/ti-dsplink/0001-remove-check-for-make-version-3.85-works-fine.patch
new file mode 100644 (file)
index 0000000..70596c5
--- /dev/null
@@ -0,0 +1,28 @@
+From a96aa25518f306138c71b3fc074381f102092a13 Mon Sep 17 00:00:00 2001
+From: Koen Kooi <koen@dominion.thruhere.net>
+Date: Fri, 23 Dec 2011 10:58:47 +0100
+Subject: [PATCH] remove check for make version, 3.85 works fine
+
+Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
+---
+ dsplink/make/start.mk |    4 ----
+ 1 files changed, 0 insertions(+), 4 deletions(-)
+
+diff --git a/dsplink/make/start.mk b/dsplink/make/start.mk
+index 0589f3c..a8f5740 100644
+--- a/dsplink/make/start.mk
++++ b/dsplink/make/start.mk
+@@ -39,10 +39,6 @@
+ #   EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ #   ============================================================================
+-
+-# Check for MAKE version
+-$(if $(filter $(MAKE_VERSION), 3.81 3.81beta1 3.90 3.92),,\
+-$(error This makefile requires one of GNU make version 3.81 3.81beta1 3.90 3.92))
+ #   ============================================================================
+ #   Export the directory separator
+ #   ============================================================================
+-- 
+1.7.7.4
+
index c2ca5d9f6126171f4f610adc0254f0770b1e74ff..a124b21a2ff01fac1b8f98cabd1d2b6fbcbf70c8 100644 (file)
@@ -7,7 +7,9 @@ PV_major = "1_65"
 
 PV_DL_PATH = "DSPLink/${PV_major}/${PV}/${PV_dot}"
 
-SRC_URI += "file://dsplink-BKL-fix.patch"
+SRC_URI += "file://dsplink-BKL-fix.patch \
+            file://0001-remove-check-for-make-version-3.85-works-fine.patch \
+           "
 
 SRC_URI[dsplinktarball.md5sum] = "1bda596b631bd2f517edc70f6be4f2ca"
 SRC_URI[dsplinktarball.sha256sum] = "4b1bda89bd8465b887f5bcdf7b95018bc1d1f8968c0c44f8cbad2a9e1c52bcb7"