diff options
author | ToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp> | 2020-03-30 09:24:26 +0900 |
---|---|---|
committer | ToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp> | 2020-03-30 09:24:26 +0900 |
commit | 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch) | |
tree | b4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /bsp/meta-ti/recipes-ti/devtools/ti-xdctools/fix-hardcoded-paths.diff | |
parent | 706ad73eb02caf8532deaf5d38995bd258725cb8 (diff) |
agl-basesystem
Diffstat (limited to 'bsp/meta-ti/recipes-ti/devtools/ti-xdctools/fix-hardcoded-paths.diff')
-rw-r--r-- | bsp/meta-ti/recipes-ti/devtools/ti-xdctools/fix-hardcoded-paths.diff | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/bsp/meta-ti/recipes-ti/devtools/ti-xdctools/fix-hardcoded-paths.diff b/bsp/meta-ti/recipes-ti/devtools/ti-xdctools/fix-hardcoded-paths.diff new file mode 100644 index 00000000..36142c47 --- /dev/null +++ b/bsp/meta-ti/recipes-ti/devtools/ti-xdctools/fix-hardcoded-paths.diff @@ -0,0 +1,21 @@ +diff -ur a/packages/gnu/targets/ITarget.xs b/packages/gnu/targets/ITarget.xs +--- a/packages/gnu/targets/ITarget.xs 2011-08-06 13:24:44.000000000 +0200 ++++ b/packages/gnu/targets/ITarget.xs 2011-08-06 13:23:37.000000000 +0200 +@@ -251,7 +251,7 @@ + + function askLd(target) + { +- var ldCmd = target.rootDir + "/" + target.GCCTARG + "/bin/ld"; ++ var ldCmd = target.rootDir + "/" + target.GCCTARG + "-ld"; + /* If the ld executable cannot be found, and the prefix is not used, + * it's probably a misspelled directory path. + */ +@@ -486,7 +486,7 @@ + tool2cmd["link"] = cmd; + + /* define the ar command template */ +- cmd = prefix + target.ar.cmd ++ cmd = prefix + target.GCCTARG + "-ar" + + " $(AROPTS_P) " + target.ar.opts + + " $@ $(AROPTS_S) $(aropts) $(files)"; + tool2cmd["ar"] = cmd; |