aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorBen Gardiner <bengardiner@nanometrics.ca>2011-03-17 00:50:36 +0000
committerTom Rini <tom_rini@mentor.com>2011-03-17 11:08:01 -0700
commitfb790eec6ac7080e36b82f2d1d97672914b9bc94 (patch)
treeb3a08a4b3ea8384dc405c5462aecb9d653e97675 /conf
parentc3810ae0df1dc13b4ceb04de3f4ed2de78cc49cd (diff)
downloadopenembedded-fb790eec6ac7080e36b82f2d1d97672914b9bc94.tar.gz
openembedded-fb790eec6ac7080e36b82f2d1d97672914b9bc94.tar.bz2
openembedded-fb790eec6ac7080e36b82f2d1d97672914b9bc94.zip
external-toolchain: allow override of linux-libc-headers provider
only set PREFERRED_PROVIDER_linux-libc-headers if it is not already assigned a value. Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca> Tested-by: Andrea Galbusera <gizero@gmail.com> Signed-off-by: Tom Rini <tom_rini@mentor.com> (cherry picked from commit 829ea5110bc82f71a225f168bcb6a9a327b1b5c8) Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca> Acked-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/distro/include/toolchain-external.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/distro/include/toolchain-external.inc b/conf/distro/include/toolchain-external.inc
index ab503081d4..12dc4548ec 100644
--- a/conf/distro/include/toolchain-external.inc
+++ b/conf/distro/include/toolchain-external.inc
@@ -4,7 +4,7 @@ PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial = "external-toolchain-${T
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate = "external-toolchain-${TOOLCHAIN_BRAND}"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc = "external-toolchain-${TOOLCHAIN_BRAND}"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++ = "external-toolchain-${TOOLCHAIN_BRAND}"
-PREFERRED_PROVIDER_linux-libc-headers = "external-toolchain-${TOOLCHAIN_BRAND}"
+PREFERRED_PROVIDER_linux-libc-headers ?= "external-toolchain-${TOOLCHAIN_BRAND}"
TOOLCHAIN_VENDOR ?= "${TARGET_VENDOR}"
TARGET_VENDOR := "${TOOLCHAIN_VENDOR}"