All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] mysterious armv5te-linux dir under staging
@ 2009-09-12 20:03 Khem Raj
  2009-09-13  0:04 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2009-09-12 20:03 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 816 bytes --]

Hi

On hrw's suggestion I looked into the mysterious directory armv5te-linux
creation on my omap5912osk build.

This directory is created by staging tasks for cross packages like
gcc-cross, binutils-cross gdb-cross etc. 

This is because in bitbake.conf we set 

BASEPKG_HOST_SYS = "${BASE_PACKAGE_ARCH}${HOST_VENDOR}-${HOST_OS}"

which is ok for target recipes but its not ok for native or cross
recipes.

It works for native because native.bbclass redefines it. I decided
to change it to 


BASEPKG_HOST_SYS = "${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}"

HOST_ARCH is defined based on -native -target or -cross package
so it works in all cases. Overriding in native.bbclass would not
be needed but I left it in there

Does anyone sees problem with this little patchlet ?

Thanks

-Khem


[-- Attachment #2: diff --]
[-- Type: text/plain, Size: 676 bytes --]

diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index c2f7666..24684e5 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -114,7 +114,7 @@ PACKAGE_ARCHS = "all any noarch ${TARGET_ARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE}
 MULTIMACH_ARCH = "${PACKAGE_ARCH}"
 MULTIMACH_TARGET_SYS = "${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
 MULTIMACH_HOST_SYS = "${MULTIMACH_ARCH}${HOST_VENDOR}-${HOST_OS}"
-BASEPKG_HOST_SYS = "${BASE_PACKAGE_ARCH}${HOST_VENDOR}-${HOST_OS}"
+BASEPKG_HOST_SYS = "${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}"
 BASEPKG_TARGET_SYS = "${BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
 
 # select proper CPU to get binary locales generated

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-09-13 20:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-12 20:03 [RFC] mysterious armv5te-linux dir under staging Khem Raj
2009-09-13  0:04 ` Khem Raj
2009-09-13 20:29   ` Andrea Adami

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.