diff options
author | Denys Dmytriyenko <denys@ti.com> | 2012-06-11 20:44:56 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2012-06-11 20:44:56 -0400 |
commit | 88867c1d96684925027a0ecc9e25c6ea70040cc6 (patch) | |
tree | e1ad8651aa7663850f6dc1108b278f56a2b92a91 /extras/recipes-ti/devtools/ti-xdctools | |
parent | a1e2573369c6714956af561523ba274aa9c185f7 (diff) | |
download | meta-ti-88867c1d96684925027a0ecc9e25c6ea70040cc6.tar.gz |
extras: move things to extrassplit
Move non-essential, outdated, best-effort pieces, as well, as those requiring
extra non-standard dependencies besides oe-core.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'extras/recipes-ti/devtools/ti-xdctools')
-rw-r--r-- | extras/recipes-ti/devtools/ti-xdctools/arm-linker-hack.diff | 19 | ||||
-rw-r--r-- | extras/recipes-ti/devtools/ti-xdctools/fix-hardcoded-paths.diff | 21 |
2 files changed, 40 insertions, 0 deletions
diff --git a/extras/recipes-ti/devtools/ti-xdctools/arm-linker-hack.diff b/extras/recipes-ti/devtools/ti-xdctools/arm-linker-hack.diff new file mode 100644 index 00000000..26debf8f --- /dev/null +++ b/extras/recipes-ti/devtools/ti-xdctools/arm-linker-hack.diff | |||
@@ -0,0 +1,19 @@ | |||
1 | --- a/packages/gnu/targets/arm/linkcmd.xdt 2010-12-30 19:33:53.000000000 +0100 | ||
2 | +++ b/packages/gnu/targets/arm/linkcmd.xdt 2010-12-30 19:42:55.000000000 +0100 | ||
3 | @@ -40,12 +40,13 @@ | ||
4 | |||
5 | %if ("BINVERS" in prog.build.target) { | ||
6 | % var _utils = xdc.loadCapsule("gnu/targets/linkUtils.xs"); | ||
7 | +% if (prog.build.target.GCCVERS < "4.3.3") { | ||
8 | SECTIONS { | ||
9 | `_utils.genSections(prog)` | ||
10 | } | ||
11 | - | ||
12 | -% if (!prog.build.target.noStdLinkScript | ||
13 | -% && prog.build.target.BINVERS >= "2.19") { | ||
14 | +% } | ||
15 | +% if (prog.build.target.noStdLinkScript | ||
16 | +% && prog.build.target.BINVERS >= "2.19") { | ||
17 | INSERT BEFORE .gnu.attributes | ||
18 | % } | ||
19 | |||
diff --git a/extras/recipes-ti/devtools/ti-xdctools/fix-hardcoded-paths.diff b/extras/recipes-ti/devtools/ti-xdctools/fix-hardcoded-paths.diff new file mode 100644 index 00000000..36142c47 --- /dev/null +++ b/extras/recipes-ti/devtools/ti-xdctools/fix-hardcoded-paths.diff | |||
@@ -0,0 +1,21 @@ | |||
1 | diff -ur a/packages/gnu/targets/ITarget.xs b/packages/gnu/targets/ITarget.xs | ||
2 | --- a/packages/gnu/targets/ITarget.xs 2011-08-06 13:24:44.000000000 +0200 | ||
3 | +++ b/packages/gnu/targets/ITarget.xs 2011-08-06 13:23:37.000000000 +0200 | ||
4 | @@ -251,7 +251,7 @@ | ||
5 | |||
6 | function askLd(target) | ||
7 | { | ||
8 | - var ldCmd = target.rootDir + "/" + target.GCCTARG + "/bin/ld"; | ||
9 | + var ldCmd = target.rootDir + "/" + target.GCCTARG + "-ld"; | ||
10 | /* If the ld executable cannot be found, and the prefix is not used, | ||
11 | * it's probably a misspelled directory path. | ||
12 | */ | ||
13 | @@ -486,7 +486,7 @@ | ||
14 | tool2cmd["link"] = cmd; | ||
15 | |||
16 | /* define the ar command template */ | ||
17 | - cmd = prefix + target.ar.cmd | ||
18 | + cmd = prefix + target.GCCTARG + "-ar" | ||
19 | + " $(AROPTS_P) " + target.ar.opts | ||
20 | + " $@ $(AROPTS_S) $(aropts) $(files)"; | ||
21 | tool2cmd["ar"] = cmd; | ||