[oe-commits] Koen Kooi : ti-xdctools 3.20.06.81: hack linkerscript generator to make c6accel compile with the angstrom next toolchain

git version control git at git.openembedded.org
Thu Dec 30 19:23:27 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 7993e4ca7746a4ca9e7116cc76e6c1da32a76690
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7993e4ca7746a4ca9e7116cc76e6c1da32a76690

Author: Koen Kooi <koen at openembedded.org>
Date:   Thu Dec 30 20:19:56 2010 +0100

ti-xdctools 3.20.06.81: hack linkerscript generator to make c6accel compile with the angstrom next toolchain

Signed-off-by: Koen Kooi <koen at openembedded.org>

---

 recipes/ti/ti-xdctools/arm-linker-hack.diff |   19 +++++++++++++++++++
 recipes/ti/ti-xdctools_3.20.06.81.bb        |    3 +++
 2 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/recipes/ti/ti-xdctools/arm-linker-hack.diff b/recipes/ti/ti-xdctools/arm-linker-hack.diff
new file mode 100644
index 0000000..26debf8
--- /dev/null
+++ b/recipes/ti/ti-xdctools/arm-linker-hack.diff
@@ -0,0 +1,19 @@
+--- a/packages/gnu/targets/arm/linkcmd.xdt	2010-12-30 19:33:53.000000000 +0100
++++ b/packages/gnu/targets/arm/linkcmd.xdt	2010-12-30 19:42:55.000000000 +0100
+@@ -40,12 +40,13 @@
+ 
+ %if ("BINVERS" in prog.build.target) {
+ %    var _utils = xdc.loadCapsule("gnu/targets/linkUtils.xs");
++%    if (prog.build.target.GCCVERS < "4.3.3") {
+ SECTIONS {
+ `_utils.genSections(prog)`
+ }
+-
+-%    if (!prog.build.target.noStdLinkScript
+-%        && prog.build.target.BINVERS >= "2.19") {
++%    }
++%    if (prog.build.target.noStdLinkScript
++%        && prog.build.target.BINVERS >= "2.19") {
+ INSERT BEFORE .gnu.attributes
+ %    }
+ 
diff --git a/recipes/ti/ti-xdctools_3.20.06.81.bb b/recipes/ti/ti-xdctools_3.20.06.81.bb
index 6b19698..41e1b7d 100644
--- a/recipes/ti/ti-xdctools_3.20.06.81.bb
+++ b/recipes/ti/ti-xdctools_3.20.06.81.bb
@@ -2,6 +2,9 @@ require ti-xdctools.inc
 
 PV = "3_20_06_81"
 
+# This is a hack that needs some serious review
+SRC_URI += "file://arm-linker-hack.diff"
+
 SRC_URI[xdcbin.md5sum] = "65151268d6be6ad6eb940ef7ed03af16"
 SRC_URI[xdcbin.sha256sum] = "8ea6b851521ce41fe0b4a349b2d922af7e70f48c50ad9fd21f62627446a834f8"
 





More information about the Openembedded-commits mailing list