diff options
author | Jessica Zhang <jessica.zhang@intel.com> | 2011-05-17 14:34:39 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-18 14:32:46 +0100 |
commit | 725acfad7c093708d3d7cd72f8e72fedce4335a4 (patch) | |
tree | 60dac2a41f53ca542d6c7c87218557b078f46ce7 | |
parent | a0da8e7e8feccfc01646eb8f4fcfc5a1c6552b2c (diff) | |
download | poky-725acfad7c093708d3d7cd72f8e72fedce4335a4.tar.gz |
Couple minor fixes for the OECORE rename
(From OE-Core rev: b5cfa911ed80a7e57ae1025b9e365f4678acf491)
Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/toolchain-scripts.bbclass | 6 | ||||
-rw-r--r-- | meta/conf/bitbake.conf | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index aa34b98b51..09ecd7ca47 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass | |||
@@ -27,7 +27,7 @@ toolchain_create_sdk_env_script () { | |||
27 | echo 'export LDFLAGS="--sysroot=${SDKTARGETSYSROOT}"' >> $script | 27 | echo 'export LDFLAGS="--sysroot=${SDKTARGETSYSROOT}"' >> $script |
28 | echo 'export CPPFLAGS="--sysroot=${SDKTARGETSYSROOT}"' >> $script | 28 | echo 'export CPPFLAGS="--sysroot=${SDKTARGETSYSROOT}"' >> $script |
29 | echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script | 29 | echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script |
30 | echo 'export POKY_TARGET_SYSROOT="${SDKTARGETSYSROOT}"' >> $script | 30 | echo 'export OECORE_TARGET_SYSROOT="${SDKTARGETSYSROOT}"' >> $script |
31 | echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script | 31 | echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script |
32 | } | 32 | } |
33 | 33 | ||
@@ -58,7 +58,7 @@ toolchain_create_tree_env_script () { | |||
58 | echo 'export CFLAGS="${TARGET_CC_ARCH}"' >> $script | 58 | echo 'export CFLAGS="${TARGET_CC_ARCH}"' >> $script |
59 | echo 'export CXXFLAGS="${TARGET_CC_ARCH}"' >> $script | 59 | echo 'export CXXFLAGS="${TARGET_CC_ARCH}"' >> $script |
60 | echo 'export OECORE_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script | 60 | echo 'export OECORE_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script |
61 | echo 'export POKY_TARGET_SYSROOT="${STAGING_DIR_TARGET}"' >> $script | 61 | echo 'export OECORE_TARGET_SYSROOT="${STAGING_DIR_TARGET}"' >> $script |
62 | } | 62 | } |
63 | 63 | ||
64 | # This function creates an environment-setup-script for use by the ADT installer | 64 | # This function creates an environment-setup-script for use by the ADT installer |
@@ -88,7 +88,7 @@ toolchain_create_sdk_env_script_for_installer () { | |||
88 | echo 'export LDFLAGS="--sysroot=##SDKTARGETSYSROOT##"' >> $script | 88 | echo 'export LDFLAGS="--sysroot=##SDKTARGETSYSROOT##"' >> $script |
89 | echo 'export CPPFLAGS="--sysroot=##SDKTARGETSYSROOT##"' >> $script | 89 | echo 'export CPPFLAGS="--sysroot=##SDKTARGETSYSROOT##"' >> $script |
90 | echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script | 90 | echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script |
91 | echo 'export POKY_TARGET_SYSROOT="##SDKTARGETSYSROOT##"' >> $script | 91 | echo 'export OECORE_TARGET_SYSROOT="##SDKTARGETSYSROOT##"' >> $script |
92 | echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script | 92 | echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script |
93 | echo 'export POKY_SDK_VERSION="${SDK_VERSION}"' >> $script | 93 | echo 'export POKY_SDK_VERSION="${SDK_VERSION}"' >> $script |
94 | } | 94 | } |
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index c2927594b2..a0af672ae2 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -327,7 +327,7 @@ DEPLOY_DIR_TOOLS = "${DEPLOY_DIR}/tools" | |||
327 | 327 | ||
328 | PKGDATA_DIR = "${TMPDIR}/pkgdata/${MULTIMACH_TARGET_SYS}" | 328 | PKGDATA_DIR = "${TMPDIR}/pkgdata/${MULTIMACH_TARGET_SYS}" |
329 | 329 | ||
330 | SDK_NAME = "${DISTRO}-${SDK_ARCH}-${TARGET_ARCH}" | 330 | SDK_NAME = "oecore-${SDK_ARCH}-${TARGET_ARCH}" |
331 | SDKPATH = "/usr/local/${SDK_NAME}" | 331 | SDKPATH = "/usr/local/${SDK_NAME}" |
332 | SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}" | 332 | SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}" |
333 | 333 | ||