* [PATCH] bitbake.conf, cross.bbclass: Make multi-machine toolchains to co-exist
@ 2010-07-30 7:42 Khem Raj
2010-07-30 9:01 ` Koen Kooi
0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2010-07-30 7:42 UTC (permalink / raw)
To: openembedded-devel
From: Tom Rini <tom_rini@mentor.com>
the patch Tom sent has line breaks etc. this is same patch formatted for anybody to test
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
classes/cross.bbclass | 4 ++--
conf/bitbake.conf | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/classes/cross.bbclass b/classes/cross.bbclass
index db86192..b3f74a2 100644
--- a/classes/cross.bbclass
+++ b/classes/cross.bbclass
@@ -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"
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index d523519..1b3dd6b 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -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}"
--
1.7.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] bitbake.conf, cross.bbclass: Make multi-machine toolchains to co-exist
2010-07-30 7:42 [PATCH] bitbake.conf, cross.bbclass: Make multi-machine toolchains to co-exist Khem Raj
@ 2010-07-30 9:01 ` Koen Kooi
2010-07-30 14:31 ` Tom Rini
2010-07-30 15:42 ` Khem Raj
0 siblings, 2 replies; 4+ messages in thread
From: Koen Kooi @ 2010-07-30 9:01 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 30-07-10 09:42, Khem Raj wrote:
> From: Tom Rini <tom_rini@mentor.com>
>
> 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-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] bitbake.conf, cross.bbclass: Make multi-machine toolchains to co-exist
2010-07-30 9:01 ` Koen Kooi
@ 2010-07-30 14:31 ` Tom Rini
2010-07-30 15:42 ` Khem Raj
1 sibling, 0 replies; 4+ messages in thread
From: Tom Rini @ 2010-07-30 14:31 UTC (permalink / raw)
To: openembedded-devel
Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 30-07-10 09:42, Khem Raj wrote:
>> From: Tom Rini <tom_rini@mentor.com>
>>
>> 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
--
Tom Rini
Mentor Graphics Corporation
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] bitbake.conf, cross.bbclass: Make multi-machine toolchains to co-exist
2010-07-30 9:01 ` Koen Kooi
2010-07-30 14:31 ` Tom Rini
@ 2010-07-30 15:42 ` Khem Raj
1 sibling, 0 replies; 4+ messages in thread
From: Khem Raj @ 2010-07-30 15:42 UTC (permalink / raw)
To: openembedded-devel
On Fri, Jul 30, 2010 at 2:01 AM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 30-07-10 09:42, Khem Raj wrote:
>> From: Tom Rini <tom_rini@mentor.com>
>>
>> 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.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFMUpTbMkyGM64RGpERAt9YAJ9baoI1zJvmEuGPj9gvrR2eSkJ5CQCeKx++
> fLr6Le14u/zC3AU41Jj0obk=
> =itZg
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-07-30 15:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-30 7:42 [PATCH] bitbake.conf, cross.bbclass: Make multi-machine toolchains to co-exist Khem Raj
2010-07-30 9:01 ` Koen Kooi
2010-07-30 14:31 ` Tom Rini
2010-07-30 15:42 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.