* [PATCH 0/1] native.bbclass: make TOOLCHAIN_OPTIONS empty
@ 2012-03-16 1:04 Robert Yang
2012-03-16 1:04 ` [PATCH 1/1] " Robert Yang
2012-03-21 18:50 ` [PATCH 0/1] " Saul Wold
0 siblings, 2 replies; 3+ messages in thread
From: Robert Yang @ 2012-03-16 1:04 UTC (permalink / raw)
To: openembedded-core
Testinfo:
Has tested on qemux86, qemuppc and qemuarm.
// Robert
The following changes since commit d4f1ef6b8297826230a68e535098709d07de1f48:
qt4: package static libraries correctly to fix warnings (2012-03-15 13:33:37 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib robert/native
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/native
Robert Yang (1):
native.bbclass: make TOOLCHAIN_OPTIONS empty
meta/classes/native.bbclass | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
--
1.7.4.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] native.bbclass: make TOOLCHAIN_OPTIONS empty
2012-03-16 1:04 [PATCH 0/1] native.bbclass: make TOOLCHAIN_OPTIONS empty Robert Yang
@ 2012-03-16 1:04 ` Robert Yang
2012-03-21 18:50 ` [PATCH 0/1] " Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Robert Yang @ 2012-03-16 1:04 UTC (permalink / raw)
To: openembedded-core
The native pkg doesn't need the TOOLCHAIN_OPTIONS, but it maybe used by
native pkgs, for example, the cmake.bbclass uses TOOLCHAIN_OPTIONS:
OECMAKE_C_FLAGS ?= "${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${CPPFLAGS}"
and TOOLCHAIN_OPTIONS is:
TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TARGET}"
If a native pkg inherits cmake.bbclass, then:
TOOLCHAIN_OPTIONS = " --sysroot="
and OECMAKE_C_FLAGS would be:
${HOST_CC_ARCH} --sysroot= ${CPPFLAGS}
This would cause unexpected errors, I think that we can make
TOOLCHAIN_OPTIONS empty in native.bbclass since native pkg doesn't need
it.
[YOCTO #2124]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/classes/native.bbclass | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 00196ba..871dda0 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -45,6 +45,9 @@ LDFLAGS_build-darwin = "-L${STAGING_LIBDIR_NATIVE} "
STAGING_BINDIR = "${STAGING_BINDIR_NATIVE}"
STAGING_BINDIR_CROSS = "${STAGING_BINDIR_NATIVE}"
+# native pkg doesn't need the TOOLCHAIN_OPTIONS.
+TOOLCHAIN_OPTIONS = ""
+
DEPENDS_GETTEXT = "gettext-native"
# Don't use site files for native builds
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 0/1] native.bbclass: make TOOLCHAIN_OPTIONS empty
2012-03-16 1:04 [PATCH 0/1] native.bbclass: make TOOLCHAIN_OPTIONS empty Robert Yang
2012-03-16 1:04 ` [PATCH 1/1] " Robert Yang
@ 2012-03-21 18:50 ` Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2012-03-21 18:50 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 03/15/2012 06:04 PM, Robert Yang wrote:
> Testinfo:
> Has tested on qemux86, qemuppc and qemuarm.
>
> // Robert
>
> The following changes since commit d4f1ef6b8297826230a68e535098709d07de1f48:
>
> qt4: package static libraries correctly to fix warnings (2012-03-15 13:33:37 +0000)
>
> are available in the git repository at:
> git://git.pokylinux.org/poky-contrib robert/native
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/native
>
> Robert Yang (1):
> native.bbclass: make TOOLCHAIN_OPTIONS empty
>
> meta/classes/native.bbclass | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
Merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-03-21 18:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-16 1:04 [PATCH 0/1] native.bbclass: make TOOLCHAIN_OPTIONS empty Robert Yang
2012-03-16 1:04 ` [PATCH 1/1] " Robert Yang
2012-03-21 18:50 ` [PATCH 0/1] " Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox