Skip to contentSkip to conversation

bitbake.conf, cross.bbclass: Make multi-machine toolchains to co-exist

PATCH In review Khem Raj 3 participants 4 messages Jul 30, 2010

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 bitbake.conf, cross.bbclass: Make multi-machine toolchains to co-exist

From: Tom Rini <[email protected]>

the patch Tom sent has line breaks etc. this is same patch formatted for anybody to test

---
 classes/cross.bbclass |    4 ++--
 conf/bitbake.conf     |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
classes/cross.bbclass +2 -2
index db86192..b3f74a2 100644
@@ -44,9 +44,9 @@ target_base_libdir := "${base_libdir}"
 target_prefix := "${prefix}"
 
 # Overrides for paths
-prefix = "${STAGING_DIR_NATIVE}${prefix_native}"
+prefix = "${STAGING_DIR_NATIVE}${prefix_native}/${MULTIMACH_TARGET_SYS}"
 base_prefix = "${STAGING_DIR_NATIVE}"
-exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}"
+exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}/${MULTIMACH_TARGET_SYS}"
 base_sbindir = "${base_prefix}/bin"
 sbindir = "${exec_prefix}/bin"
 
conf/bitbake.conf +1 -1
index d523519..1b3dd6b 100644
@@ -299,7 +299,7 @@ STAGING_DIR_JAVA = "${STAGING_DIR}/java"
 STAGING_DIR_NATIVE = "${STAGING_DIR}/${BUILD_SYS}"
 STAGING_BINDIR_NATIVE = "${STAGING_DIR_NATIVE}${bindir_native}"
 STAGING_SBINDIR_NATIVE = "${STAGING_DIR_NATIVE}${sbindir_native}"
-STAGING_BINDIR_CROSS  = "${STAGING_DIR_NATIVE}${bindir_native}/${MULTIMACH_HOST_SYS}"
+STAGING_BINDIR_CROSS  = "${STAGING_DIR_NATIVE}${bindir_native}/${MULTIMACH_TARGET_SYS}${base_bindir_native}"
 STAGING_BINDIR_CROSS_BASEPKG = "${STAGING_DIR_NATIVE}${bindir_native}/${BASEPKG_TARGET_SYS}"
 STAGING_LIBDIR_NATIVE = "${STAGING_DIR_NATIVE}${libdir_native}"
 STAGING_INCDIR_NATIVE = "${STAGING_DIR_NATIVE}${includedir_native}"
Signature · 1 line
1.7.1
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 3 lines · Khem Raj

From: Tom Rini <[email protected]>

the patch Tom sent has line breaks etc. this is same patch formatted for anybody to test

MACHINE=beagleboard bitbake ffmpeg:

| running configure fragment for nptl/sysdeps/pthread
| configure: error: compiler support for __thread is required
| ERROR: Function do_configure failed

NOTE: package glibc-initial-2.9-r36.3: task do_configure: Failed

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMUpTbMkyGM64RGpERAt9YAJ9baoI1zJvmEuGPj9gvrR2eSkJ5CQCeKx++ fLr6Le14u/zC3AU41Jj0obk=
=itZg
-----END PGP SIGNATURE-----

#2 lore raw
Quoted 6 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines · Khem Raj

From: Tom Rini <[email protected]>

Quoted 8 lines
Quoted 1 line

the patch Tom sent has line breaks etc. this is same patch formatted for anybody to test

MACHINE=beagleboard bitbake ffmpeg:

| running configure fragment for nptl/sysdeps/pthread
| configure: error: compiler support for __thread is required
| ERROR: Function do_configure failed

NOTE: package glibc-initial-2.9-r36.3: task do_configure: Failed

That's odd. My beagleboard build got to mesa before my laptop hd filled up overnight. I'll try doing just beagle shortly

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
author
#3 lore raw
In reply to Koen Kooi
Quoted 6 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines · Khem Raj

From: Tom Rini <[email protected]>

Quoted 8 lines
Quoted 1 line

the patch Tom sent has line breaks etc. this is same patch formatted for anybody to test

MACHINE=beagleboard bitbake ffmpeg:

| running configure fragment for nptl/sysdeps/pthread
| configure: error: compiler support for __thread is required
| ERROR: Function do_configure failed

NOTE: package glibc-initial-2.9-r36.3: task do_configure: Failed

This is because its not finding the binutils in right place I think.

Quoted 15 lines

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMUpTbMkyGM64RGpERAt9YAJ9baoI1zJvmEuGPj9gvrR2eSkJ5CQCeKx++ fLr6Le14u/zC3AU41Jj0obk=
=itZg
-----END PGP SIGNATURE-----

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