* Add weak assigment to TARGET_OS variable so it can be
  overrided to match external toolchain tripplets.
* Toolchain prefix is expanded from
  TARGET_SYS = TARGET_ARCH + TARGET_VENDOR + TARGET_OS

Signed-off-by: Adrian Alonso <[email protected]>
---
 meta/conf/distro/include/tclibc-glibc.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/conf/distro/include/tclibc-glibc.inc 
b/meta/conf/distro/include/tclibc-glibc.inc
index 5e7afc1..997fc11 100644
--- a/meta/conf/distro/include/tclibc-glibc.inc
+++ b/meta/conf/distro/include/tclibc-glibc.inc
@@ -2,7 +2,7 @@
 # glibc specific configuration
 #
 
-TARGET_OS = "linux"
+TARGET_OS ?= "linux"
 TARGET_OS_arm = "linux-gnueabi"
 TARGET_OS_armeb = "linux-gnueabi"
 TARGET_OS_powerpc = 
"linux${@['','-gnuspe'][bb.data.getVar('BASE_PACKAGE_ARCH',d,1) in ['ppce500', 
'ppce500v2']]}"
-- 
1.7.6


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to