All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Add --sysroot settings into env file for build dir toolchain
@ 2012-01-06 20:40 Jessica Zhang
  2012-01-06 20:40 ` [PATCH 1/1] add sysroot support for meta-ide-support which is the toolchain within build env case Jessica Zhang
  2012-01-12  6:57 ` [PATCH 0/1] Add --sysroot settings into env file for build dir toolchain Saul Wold
  0 siblings, 2 replies; 3+ messages in thread
From: Jessica Zhang @ 2012-01-06 20:40 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 05409821ea58915c38a0962fb4dd14f8a49806e6:
  Scott Garman (1):
        insane.bbclass: use bb.process.Popen instead of subprocess.check_output

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib jzhang/sysroot
  http://git.yoctoproject.org/cgit.cgi//log/?h=jzhang/sysroot

Jessica Zhang (1):
  add sysroot support for meta-ide-support which is the toolchain
    within build env case

 meta/classes/toolchain-scripts.bbclass |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)




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

* [PATCH 1/1] add sysroot support for meta-ide-support which is the toolchain within build env case
  2012-01-06 20:40 [PATCH 0/1] Add --sysroot settings into env file for build dir toolchain Jessica Zhang
@ 2012-01-06 20:40 ` Jessica Zhang
  2012-01-12  6:57 ` [PATCH 0/1] Add --sysroot settings into env file for build dir toolchain Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Jessica Zhang @ 2012-01-06 20:40 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
---
 meta/classes/toolchain-scripts.bbclass |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index 5fb6cd3..5cba403 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -49,7 +49,7 @@ toolchain_create_tree_env_script () {
 	echo 'export CXX=${TARGET_PREFIX}g++' >> $script
 	echo 'export GDB=${TARGET_PREFIX}gdb' >> $script
 	echo 'export TARGET_PREFIX=${TARGET_PREFIX}' >> $script
-	echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${BUILD_SYS}"' >> $script
+	echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${BUILD_SYS} --with-libtool-sysroot=${STAGING_DIR_TARGET}"' >> $script
 	if [ "${TARGET_OS}" = "darwin8" ]; then
 		echo 'export TARGET_CFLAGS="-I${STAGING_DIR}${MACHINE}${includedir}"' >> $script
 		echo 'export TARGET_LDFLAGS="-L${STAGING_DIR}${MACHINE}${libdir}"' >> $script
@@ -57,9 +57,10 @@ toolchain_create_tree_env_script () {
 		cd ${SDK_OUTPUT}${SDKTARGETSYSROOT}/usr
 		ln -s /usr/local local
 	fi
-	echo 'export CFLAGS="${TARGET_CC_ARCH}"' >> $script
-	echo 'export CXXFLAGS="${TARGET_CC_ARCH}"' >> $script
-	echo 'export LDFLAGS="${TARGET_LD_ARCH}"' >> $script
+	echo 'export CFLAGS="${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}"' >> $script
+	echo 'export CXXFLAGS="${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}"' >> $script
+	echo 'export LDFLAGS="${TARGET_LD_ARCH} --sysroot=${STAGING_DIR_TARGET}"' >> $script
+	echo 'export CPPFLAGS="${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}"' >> $script
 	echo 'export OECORE_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script
 	echo 'export OECORE_TARGET_SYSROOT="${STAGING_DIR_TARGET}"' >> $script
 	echo 'export OECORE_ACLOCAL_OPTS="-I ${STAGING_DIR_NATIVE}/usr/share/aclocal"' >> $script
-- 
1.7.0.4




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

* Re: [PATCH 0/1] Add --sysroot settings into env file for build dir toolchain
  2012-01-06 20:40 [PATCH 0/1] Add --sysroot settings into env file for build dir toolchain Jessica Zhang
  2012-01-06 20:40 ` [PATCH 1/1] add sysroot support for meta-ide-support which is the toolchain within build env case Jessica Zhang
@ 2012-01-12  6:57 ` Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2012-01-12  6:57 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 01/06/2012 12:40 PM, Jessica Zhang wrote:
> The following changes since commit 05409821ea58915c38a0962fb4dd14f8a49806e6:
>    Scott Garman (1):
>          insane.bbclass: use bb.process.Popen instead of subprocess.check_output
>
> are available in the git repository at:
>
>    git://git.yoctoproject.org/poky-contrib jzhang/sysroot
>    http://git.yoctoproject.org/cgit.cgi//log/?h=jzhang/sysroot
>
> Jessica Zhang (1):
>    add sysroot support for meta-ide-support which is the toolchain
>      within build env case
>
>   meta/classes/toolchain-scripts.bbclass |    9 +++++----
>   1 files changed, 5 insertions(+), 4 deletions(-)
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>

Merged into OE-Core

Thanks
	Sau!



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

end of thread, other threads:[~2012-01-12  7:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-06 20:40 [PATCH 0/1] Add --sysroot settings into env file for build dir toolchain Jessica Zhang
2012-01-06 20:40 ` [PATCH 1/1] add sysroot support for meta-ide-support which is the toolchain within build env case Jessica Zhang
2012-01-12  6:57 ` [PATCH 0/1] Add --sysroot settings into env file for build dir toolchain Saul Wold

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.