Frans Meulenbroeks wrote:
2010/8/20 Khem Raj <[email protected]>:
On Fri, Aug 20, 2010 at 8:34 AM, Khem Raj <[email protected]> wrote:
On Fri, Aug 20, 2010 at 7:39 AM, Phil Blundell <[email protected]> wrote:
On Fri, 2010-08-20 at 16:19 +0200, Frans Meulenbroeks wrote:
@@ -23,6 +23,7 @@ TARGET_VENDOR = "${BUILD_VENDOR}"
TARGET_PREFIX = "${BUILD_PREFIX}"
TARGET_CC_ARCH = "${BUILD_CC_ARCH}"
TARGET_EXEEXT = "${BUILD_EXEEXT}"
+TARGET_SYS = "${BUILD_SYS}"
bitbake.conf already has
target_sys=${target_arch}${target_vendor...@['-' +
bb.data.getVar('TARGET_OS', d, 1), ''][bb.data.getVar('TARGET_OS', d,
1) == ('' or 'custom')]}
so once you have TARGET_OS set correctly this should work well for native too.
hmm _local ok if you override TARGET_OS locally then lot of other
things will change
because now TARGET_OS will not be reset to whatever native wants. even if you
redefine TARGET_SYS may not be sufficient. Somehow if you can make
native.bbclass
to stubbornly ignore TARGET_OS override that might work.
I don't want to override TARGET_OS (and in fact this could be done in
the machine definition).
The hardware I am working with is a powerpc system quite similar to
calamari. It is an e500v2 which supports/needs spe.
For calamari/angstrom things work by the grace of the following code
in angstrom.eglibc.inc:
In essence, Angstrom needs the logic
compute_os_portion_of_target_triplet() in sane-toolchain.inc has, for
doing -gnuspe if it's going to support PPC more widely.
--
Tom Rini
Mentor Graphics Corporation
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel