diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-16 15:34:36 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-16 15:35:28 +0100 |
commit | d1ff9aa4f352224bd82b707d505522f4976d8ed8 (patch) | |
tree | fc031a9125b9864dbcc1cce6dd14c7159d94c57d /meta/classes | |
parent | 5b02bbcc3266def7cdf392a5f645dad501e9afbd (diff) | |
download | openembedded-core-d1ff9aa4f352224bd82b707d505522f4976d8ed8.tar.gz openembedded-core-d1ff9aa4f352224bd82b707d505522f4976d8ed8.tar.bz2 openembedded-core-d1ff9aa4f352224bd82b707d505522f4976d8ed8.tar.xz openembedded-core-d1ff9aa4f352224bd82b707d505522f4976d8ed8.zip |
toolchain-scripts: Add POKY_TARGET_SYSROOT variable for SDK usage
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/toolchain-scripts.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index 11a2f84c1..75e65f2db 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass @@ -27,6 +27,7 @@ toolchain_create_sdk_env_script () { echo "alias opkg='LD_LIBRARY_PATH=${SDKPATHNATIVE}${libdir_nativesdk} ${SDKPATHNATIVE}${bindir_nativesdk}/opkg-cl -f ${SDKPATHNATIVE}/${sysconfdir}/opkg-sdk.conf -o ${SDKPATHNATIVE}'" >> $script echo "alias opkg-target='LD_LIBRARY_PATH=${SDKPATHNATIVE}${libdir_nativesdk} ${SDKPATHNATIVE}${bindir_nativesdk}/opkg-cl -f ${SDKTARGETSYSROOT}${sysconfdir}/opkg.conf -o ${SDKTARGETSYSROOT}'" >> $script echo 'export POKY_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script + echo 'export POKY_TARGET_SYSROOT="${SDKTARGETSYSROOT}"' >> $script echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script } @@ -57,4 +58,5 @@ toolchain_create_tree_env_script () { echo 'export CFLAGS="${TARGET_CC_ARCH}"' >> $script echo 'export CXXFLAGS="${TARGET_CC_ARCH}"' >> $script echo 'export POKY_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script + echo 'export POKY_TARGET_SYSROOT="${STAGING_DIR_TARGET}"' >> $script } |