diff options
author | Peter Seebach <peter.seebach@windriver.com> | 2012-05-15 13:16:34 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-15 19:44:36 +0100 |
commit | fd4516c2bf4408da0b333573d6f1388c64d33697 (patch) | |
tree | 7b100b29b251712c8afc3545735b774d6a29f48f /meta/conf/distro/include | |
parent | 75fcc7c806004176dd6a981d9e318e220d605a7d (diff) | |
download | poky-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.inc | 18 |
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}" | |||
7 | TOOLCHAIN_PATH_ADD = "${EXTERNAL_TOOLCHAIN}/bin:" | 7 | TOOLCHAIN_PATH_ADD = "${EXTERNAL_TOOLCHAIN}/bin:" |
8 | PATH =. "${TOOLCHAIN_PATH_ADD}" | 8 | PATH =. "${TOOLCHAIN_PATH_ADD}" |
9 | 9 | ||
10 | CSL_TARGET_SYS_powerpc = "powerpc-linux-gnu" | 10 | CSL_TARGET_SYS_powerpc ?= "powerpc-linux-gnu" |
11 | CSL_TARGET_SYS_powerpc64 = "powerpc-linux-gnu" | 11 | CSL_TARGET_SYS_powerpc64 ?= "powerpc-linux-gnu" |
12 | CSL_TARGET_SYS_arm = "arm-none-linux-gnueabi" | 12 | CSL_TARGET_SYS_arm ?= "arm-none-linux-gnueabi" |
13 | CSL_TARGET_SYS_mips = "mips-linux-gnu" | 13 | CSL_TARGET_SYS_mips ?= "mips-linux-gnu" |
14 | CSL_TARGET_SYS_mipsel = "mips-linux-gnu" | 14 | CSL_TARGET_SYS_mipsel ?= "mips-linux-gnu" |
15 | CSL_TARGET_SYS_mips64 = "mips-linux-gnu" | 15 | CSL_TARGET_SYS_mips64 ?= "mips-linux-gnu" |
16 | CSL_TARGET_SYS_i686 = "i686-pc-linux-gnu" | 16 | CSL_TARGET_SYS_i686 ?= "i686-pc-linux-gnu" |
17 | CSL_TARGET_SYS_i586 = "i686-pc-linux-gnu" | 17 | CSL_TARGET_SYS_i586 ?= "i686-pc-linux-gnu" |
18 | CSL_TARGET_SYS = "${TARGET_SYS}" | 18 | CSL_TARGET_SYS = "${TARGET_SYS}" |
19 | 19 | ||
20 | TARGET_PREFIX = "${CSL_TARGET_SYS}-" | 20 | TARGET_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 | ||
61 | CSL_TARGET_CORE = "${@csl_target_core(d)}" | 61 | CSL_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 |