[meta-ti] [PATCH] ti-dsplink: fix build with make 3.85 (e.g. fedora)

Koen Kooi koen at dominion.thruhere.net
Fri Dec 23 05:07:32 PST 2011


Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
 recipes-ti/dsplink/ti-dsplink.inc                  |    2 +-
 ...ve-check-for-make-version-3.85-works-fine.patch |   28 ++++++++++++++++++++
 recipes-ti/dsplink/ti-dsplink_1.65.00.03.bb        |    4 ++-
 3 files changed, 32 insertions(+), 2 deletions(-)
 create mode 100644 recipes-ti/dsplink/ti-dsplink/0001-remove-check-for-make-version-3.85-works-fine.patch

diff --git a/recipes-ti/dsplink/ti-dsplink.inc b/recipes-ti/dsplink/ti-dsplink.inc
index 82fa5b2..9b23e5b 100644
--- a/recipes-ti/dsplink/ti-dsplink.inc
+++ b/recipes-ti/dsplink/ti-dsplink.inc
@@ -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
index 0000000..70596c5
--- /dev/null
+++ b/recipes-ti/dsplink/ti-dsplink/0001-remove-check-for-make-version-3.85-works-fine.patch
@@ -0,0 +1,28 @@
+From a96aa25518f306138c71b3fc074381f102092a13 Mon Sep 17 00:00:00 2001
+From: Koen Kooi <koen at 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 at 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
+
diff --git a/recipes-ti/dsplink/ti-dsplink_1.65.00.03.bb b/recipes-ti/dsplink/ti-dsplink_1.65.00.03.bb
index c2ca5d9..a124b21 100644
--- a/recipes-ti/dsplink/ti-dsplink_1.65.00.03.bb
+++ b/recipes-ti/dsplink/ti-dsplink_1.65.00.03.bb
@@ -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"
-- 
1.7.2.5




More information about the meta-ti mailing list