All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Add kernel arch variable in SDK environment variable list
@ 2013-02-25 22:20 Jessica Zhang
  2013-02-25 22:20 ` [PATCH 1/1] Add kernel arch variable in SDK environment variable list for supporting build external kernel module using SDK Jessica Zhang
  0 siblings, 1 reply; 2+ messages in thread
From: Jessica Zhang @ 2013-02-25 22:20 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 2cc4fe4a0874c42421b1bf3fa100160a9e60a9da:

  upstream_tracking.inc: Coonectivity and multimedia packages updates (2013-02-25 05:58:20 -0800)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib jzhang/kernel-arch-variable
  http://git.yoctoproject.org/cgit.cgi//log/?h=master

Jessica Zhang (1):
  Add kernel arch variable in SDK environment variable list for
    supporting build external kernel module using SDK

 meta/classes/toolchain-scripts.bbclass |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
1.7.9.5




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

* [PATCH 1/1] Add kernel arch variable in SDK environment variable list for supporting build external kernel module using SDK
  2013-02-25 22:20 [PATCH 0/1] Add kernel arch variable in SDK environment variable list Jessica Zhang
@ 2013-02-25 22:20 ` Jessica Zhang
  0 siblings, 0 replies; 2+ messages in thread
From: Jessica Zhang @ 2013-02-25 22:20 UTC (permalink / raw)
  To: openembedded-core

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

diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index d336397..050e799 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -1,4 +1,4 @@
-inherit siteinfo
+inherit siteinfo kernel-arch
 
 # We want to be able to change the value of MULTIMACH_TARGET_SYS, because it
 # doesn't always match our expectations... but we default to the stock value
@@ -46,6 +46,7 @@ toolchain_create_sdk_env_script () {
 	echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script
 	echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script
 	echo 'export PYTHONHOME=${SDKPATHNATIVE}${prefix_nativesdk}' >> $script
+	echo 'export ARCH=${ARCH}' >> $script
 }
 
 # This function creates an environment-setup-script in the TMPDIR which enables
@@ -90,6 +91,7 @@ toolchain_create_tree_env_script () {
 	echo 'export OECORE_ACLOCAL_OPTS="-I ${STAGING_DIR_NATIVE}/usr/share/aclocal"' >> $script
 	echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script
 	echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script
+	echo 'export ARCH=${ARCH}' >> $script
 }
 
 # This function creates an environment-setup-script for use by the ADT installer
@@ -134,6 +136,7 @@ toolchain_create_sdk_env_script_for_installer () {
 	echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script
 	echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script
 	echo 'export PYTHONHOME=${SDKPATHNATIVE}${prefix_nativesdk}' >> $script
+	echo 'export ARCH=${ARCH}' >> $script
 }
 
 #we get the cached site config in the runtime
-- 
1.7.9.5




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

end of thread, other threads:[~2013-02-25 22:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-25 22:20 [PATCH 0/1] Add kernel arch variable in SDK environment variable list Jessica Zhang
2013-02-25 22:20 ` [PATCH 1/1] Add kernel arch variable in SDK environment variable list for supporting build external kernel module using SDK Jessica Zhang

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.