[oe-commits] Koen Kooi : ti-c6accel 1.01.00.03: add patch to fix link problem
git version control
git at git.openembedded.org
Wed Jan 5 09:14:43 UTC 2011
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 01ffe4edd15741590cc825aad2281d83ca42fc16
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=01ffe4edd15741590cc825aad2281d83ca42fc16
Author: Koen Kooi <koen at openembedded.org>
Date: Wed Jan 5 10:12:13 2011 +0100
ti-c6accel 1.01.00.03: add patch to fix link problem
Signed-off-by: Koen Kooi <koen at openembedded.org>
---
recipes/ti/ti-c6accel.inc | 2 +-
...-makefile-to-pass-Wl-T-before-the-linkers.patch | 26 ++++++++++++++++++++
recipes/ti/ti-c6accel_1.01.00.03.bb | 1 +
3 files changed, 28 insertions(+), 1 deletions(-)
diff --git a/recipes/ti/ti-c6accel.inc b/recipes/ti/ti-c6accel.inc
index da513cf..777ece2 100644
--- a/recipes/ti/ti-c6accel.inc
+++ b/recipes/ti/ti-c6accel.inc
@@ -18,7 +18,7 @@ PROVIDES += "ti-c6accel-apps"
# This recipe links statically against kernel dependant stuff, use kernel PR as base and append a local version
PR = "${MACHINE_KERNEL_PR}"
-PR_append = "a"
+PR_append = "b"
S = "${WORKDIR}/c6accel_${PV}"
diff --git a/recipes/ti/ti-c6accel/0001-soc-app-fix-makefile-to-pass-Wl-T-before-the-linkers.patch b/recipes/ti/ti-c6accel/0001-soc-app-fix-makefile-to-pass-Wl-T-before-the-linkers.patch
new file mode 100644
index 0000000..901e11d
--- /dev/null
+++ b/recipes/ti/ti-c6accel/0001-soc-app-fix-makefile-to-pass-Wl-T-before-the-linkers.patch
@@ -0,0 +1,26 @@
+From 58c50064afdc2fd7093613e0ae3a9192ea189460 Mon Sep 17 00:00:00 2001
+From: Koen Kooi <koen at dominion.thruhere.net>
+Date: Wed, 5 Jan 2011 10:10:33 +0100
+Subject: [PATCH] soc/app: fix makefile to pass -Wl,-T, before the linkerscript
+
+Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
+---
+ soc/app/Makefile | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/soc/app/Makefile b/soc/app/Makefile
+index 0bb7bdc..342e43a 100755
+--- a/soc/app/Makefile
++++ b/soc/app/Makefile
+@@ -33,7 +33,7 @@ XDC_CFG = $(TARGET)_config
+ XDC_CFLAGS = $(XDC_CFG)/compiler.opt
+
+ # Output linker file
+-XDC_LFILE = $(XDC_CFG)/linker.cmd
++XDC_LFILE = -Wl,-T,$(XDC_CFG)/linker.cmd
+
+ # Input configuration file
+ XDC_CFGFILE = $(PLATFORM)/$(TARGET).cfg
+--
+1.6.6.1
+
diff --git a/recipes/ti/ti-c6accel_1.01.00.03.bb b/recipes/ti/ti-c6accel_1.01.00.03.bb
index bf5f1cf..15e2d05 100644
--- a/recipes/ti/ti-c6accel_1.01.00.03.bb
+++ b/recipes/ti/ti-c6accel_1.01.00.03.bb
@@ -5,6 +5,7 @@ SRC_URI[c6accelbin.sha256sum] = "453399a84bf117bd7a91393242c7c005e2829692db5ede1
SRC_URI_append = "file://fix-loadmodule.patch \
file://0001-soc-honour-buildsystem-CFLAGS-and-LDFLAGS-when-set.patch \
+ file://0001-soc-app-fix-makefile-to-pass-Wl-T-before-the-linkers.patch \
"
PV = "1_01_00_03"
More information about the Openembedded-commits
mailing list