diff options
Diffstat (limited to 'meta/classes/toolchain-scripts.bbclass')
-rw-r--r-- | meta/classes/toolchain-scripts.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index 5c9acda6de..11a2f84c18 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass | |||
@@ -12,6 +12,8 @@ toolchain_create_sdk_env_script () { | |||
12 | echo 'export CONFIG_SITE=${SDKPATH}/site-config-${MULTIMACH_TARGET_SYS}' >> $script | 12 | echo 'export CONFIG_SITE=${SDKPATH}/site-config-${MULTIMACH_TARGET_SYS}' >> $script |
13 | echo 'export CC=${TARGET_PREFIX}gcc' >> $script | 13 | echo 'export CC=${TARGET_PREFIX}gcc' >> $script |
14 | echo 'export CXX=${TARGET_PREFIX}g++' >> $script | 14 | echo 'export CXX=${TARGET_PREFIX}g++' >> $script |
15 | echo 'export GDB=${TARGET_PREFIX}gdb' >> $script | ||
16 | echo 'export TARGET_PREFIX=${TARGET_PREFIX}' >> $script | ||
15 | echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${SDK_ARCH}-linux"' >> $script | 17 | echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${SDK_ARCH}-linux"' >> $script |
16 | if [ "${TARGET_OS}" = "darwin8" ]; then | 18 | if [ "${TARGET_OS}" = "darwin8" ]; then |
17 | echo 'export TARGET_CFLAGS="-I${SDKTARGETSYSROOT}${includedir}"' >> $script | 19 | echo 'export TARGET_CFLAGS="-I${SDKTARGETSYSROOT}${includedir}"' >> $script |
@@ -42,6 +44,8 @@ toolchain_create_tree_env_script () { | |||
42 | 44 | ||
43 | echo 'export CC=${TARGET_PREFIX}gcc' >> $script | 45 | echo 'export CC=${TARGET_PREFIX}gcc' >> $script |
44 | echo 'export CXX=${TARGET_PREFIX}g++' >> $script | 46 | echo 'export CXX=${TARGET_PREFIX}g++' >> $script |
47 | echo 'export GDB=${TARGET_PREFIX}gdb' >> $script | ||
48 | echo 'export TARGET_PREFIX=${TARGET_PREFIX}' >> $script | ||
45 | echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${BUILD_SYS}"' >> $script | 49 | echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${BUILD_SYS}"' >> $script |
46 | if [ "${TARGET_OS}" = "darwin8" ]; then | 50 | if [ "${TARGET_OS}" = "darwin8" ]; then |
47 | echo 'export TARGET_CFLAGS="-I${STAGING_DIR}${TARGET_SYS}${includedir}"' >> $script | 51 | echo 'export TARGET_CFLAGS="-I${STAGING_DIR}${TARGET_SYS}${includedir}"' >> $script |