diff options
Diffstat (limited to 'recipes-ti/dmai/ti-dmai/r642-fix-config-bld.diff')
-rw-r--r-- | recipes-ti/dmai/ti-dmai/r642-fix-config-bld.diff | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/recipes-ti/dmai/ti-dmai/r642-fix-config-bld.diff b/recipes-ti/dmai/ti-dmai/r642-fix-config-bld.diff index 06ffbec4..2f328c0e 100644 --- a/recipes-ti/dmai/ti-dmai/r642-fix-config-bld.diff +++ b/recipes-ti/dmai/ti-dmai/r642-fix-config-bld.diff | |||
@@ -1,8 +1,18 @@ | |||
1 | Index: dmai/packages/config.bld | 1 | From 86e89bb160cfe67c173f1260b93066b12dd73580 Mon Sep 17 00:00:00 2001 |
2 | =================================================================== | 2 | From: Enrico Butera <ebutera@users.berlios.de> |
3 | --- dmai/packages/config.bld (revisione 642) | 3 | Date: Thu, 22 Dec 2011 11:03:58 +0100 |
4 | +++ dmai/packages/config.bld (copia locale) | 4 | Subject: [PATCH 2/2] fix toolchain names in config.bld |
5 | @@ -44,29 +44,9 @@ | 5 | |
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
7 | --- | ||
8 | .../dmai/packages/config.bld | 24 +------------------ | ||
9 | 1 files changed, 2 insertions(+), 22 deletions(-) | ||
10 | |||
11 | diff --git a/davinci_multimedia_application_interface/dmai/packages/config.bld b/davinci_multimedia_application_interface/dmai/packages/config.bld | ||
12 | index 8c2e96e..566f907 100644 | ||
13 | --- a/davinci_multimedia_application_interface/dmai/packages/config.bld | ||
14 | +++ b/davinci_multimedia_application_interface/dmai/packages/config.bld | ||
15 | @@ -44,28 +44,8 @@ var C6X = xdc.useModule('ti.targets.C64P'); | ||
6 | C6X.rootDir = codegen; | 16 | C6X.rootDir = codegen; |
7 | C6X.platform = xdcplat; | 17 | C6X.platform = xdcplat; |
8 | 18 | ||
@@ -10,9 +20,7 @@ Index: dmai/packages/config.bld | |||
10 | - Then the TOOLDIR and LONGNAME are derived based on a regex of CROSS_COMPILE | 20 | - Then the TOOLDIR and LONGNAME are derived based on a regex of CROSS_COMPILE |
11 | -*/ | 21 | -*/ |
12 | -var crosscompile = "" + java.lang.System.getenv("CROSS_COMPILE"); | 22 | -var crosscompile = "" + java.lang.System.getenv("CROSS_COMPILE"); |
13 | +var tooldir = "" + java.lang.System.getenv("CSTOOL_DIR"); | 23 | - |
14 | +var longName = "" + java.lang.System.getenv("MVTOOL_PREFIX") + "gcc"; | ||
15 | |||
16 | -var tooldir = ""; | 24 | -var tooldir = ""; |
17 | -var longName = ""; | 25 | -var longName = ""; |
18 | - | 26 | - |
@@ -30,7 +38,11 @@ Index: dmai/packages/config.bld | |||
30 | -} else { | 38 | -} else { |
31 | - longName = crosscompile + "gcc"; | 39 | - longName = crosscompile + "gcc"; |
32 | -} | 40 | -} |
33 | - | 41 | +var tooldir = "" + java.lang.System.getenv("CSTOOL_DIR"); |
42 | +var longName = "" + java.lang.System.getenv("MVTOOL_PREFIX") + "gcc"; | ||
43 | |||
34 | /* location of the GCC Arm9 tools */ | 44 | /* location of the GCC Arm9 tools */ |
35 | var GCArmv5T = xdc.useModule('gnu.targets.arm.GCArmv5T'); | 45 | var GCArmv5T = xdc.useModule('gnu.targets.arm.GCArmv5T'); |
36 | GCArmv5T.LONGNAME = longName; | 46 | -- |
47 | 1.7.2.5 | ||
48 | |||