summaryrefslogtreecommitdiffstats
path: root/meta/conf/distro/include
diff options
context:
space:
mode:
authorPeter Seebach <peter.seebach@windriver.com>2012-05-15 13:16:34 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-15 19:44:36 +0100
commitfd4516c2bf4408da0b333573d6f1388c64d33697 (patch)
tree7b100b29b251712c8afc3545735b774d6a29f48f /meta/conf/distro/include
parent75fcc7c806004176dd6a981d9e318e220d605a7d (diff)
downloadpoky-fd4516c2bf4408da0b333573d6f1388c64d33697.tar.gz
tcmode-external-csl.inc: Allow for overrides
Wind River uses binary toolchains provided by Code Sourcery, but which have different values for a couple of the preset variables than the generic toolchains the external-csl toolchain feature supports. If these values were ?= assignments, we could just assign values to them and share the code, rather than keeping modified copies. (From OE-Core rev: f3c50743917974f0eeab6d9eefc2e7b572a8a787) Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/distro/include')
-rw-r--r--meta/conf/distro/include/tcmode-external-csl.inc18
1 files changed, 9 insertions, 9 deletions
diff --git a/meta/conf/distro/include/tcmode-external-csl.inc b/meta/conf/distro/include/tcmode-external-csl.inc
index 11c5df5922..6bdd4668e5 100644
--- a/meta/conf/distro/include/tcmode-external-csl.inc
+++ b/meta/conf/distro/include/tcmode-external-csl.inc
@@ -7,14 +7,14 @@ EXTERNAL_TOOLCHAIN ?= "/usr/local/csl/${TARGET_ARCH}"
7TOOLCHAIN_PATH_ADD = "${EXTERNAL_TOOLCHAIN}/bin:" 7TOOLCHAIN_PATH_ADD = "${EXTERNAL_TOOLCHAIN}/bin:"
8PATH =. "${TOOLCHAIN_PATH_ADD}" 8PATH =. "${TOOLCHAIN_PATH_ADD}"
9 9
10CSL_TARGET_SYS_powerpc = "powerpc-linux-gnu" 10CSL_TARGET_SYS_powerpc ?= "powerpc-linux-gnu"
11CSL_TARGET_SYS_powerpc64 = "powerpc-linux-gnu" 11CSL_TARGET_SYS_powerpc64 ?= "powerpc-linux-gnu"
12CSL_TARGET_SYS_arm = "arm-none-linux-gnueabi" 12CSL_TARGET_SYS_arm ?= "arm-none-linux-gnueabi"
13CSL_TARGET_SYS_mips = "mips-linux-gnu" 13CSL_TARGET_SYS_mips ?= "mips-linux-gnu"
14CSL_TARGET_SYS_mipsel = "mips-linux-gnu" 14CSL_TARGET_SYS_mipsel ?= "mips-linux-gnu"
15CSL_TARGET_SYS_mips64 = "mips-linux-gnu" 15CSL_TARGET_SYS_mips64 ?= "mips-linux-gnu"
16CSL_TARGET_SYS_i686 = "i686-pc-linux-gnu" 16CSL_TARGET_SYS_i686 ?= "i686-pc-linux-gnu"
17CSL_TARGET_SYS_i586 = "i686-pc-linux-gnu" 17CSL_TARGET_SYS_i586 ?= "i686-pc-linux-gnu"
18CSL_TARGET_SYS = "${TARGET_SYS}" 18CSL_TARGET_SYS = "${TARGET_SYS}"
19 19
20TARGET_PREFIX = "${CSL_TARGET_SYS}-" 20TARGET_PREFIX = "${CSL_TARGET_SYS}-"
@@ -58,7 +58,7 @@ def csl_target_core(d):
58 } 58 }
59 return coredata.get(d.getVar('TUNE_PKGARCH', True), '') 59 return coredata.get(d.getVar('TUNE_PKGARCH', True), '')
60 60
61CSL_TARGET_CORE = "${@csl_target_core(d)}" 61CSL_TARGET_CORE ?= "${@csl_target_core(d)}"
62 62
63# Unfortunately, the CSL ia32 toolchain has non-prefixed binaries in its 63# Unfortunately, the CSL ia32 toolchain has non-prefixed binaries in its
64# bindir (e.g. gcc, ld). To avoid this messing up our build, we avoid adding 64# bindir (e.g. gcc, ld). To avoid this messing up our build, we avoid adding