summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/toolchain-scripts.bbclass14
1 files changed, 0 insertions, 14 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index db0ae1762b..07e6fbf8ce 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -34,13 +34,6 @@ toolchain_create_sdk_env_script () {
34 echo 'export M4=m4' >> $script 34 echo 'export M4=m4' >> $script
35 echo 'export TARGET_PREFIX=${TARGET_PREFIX}' >> $script 35 echo 'export TARGET_PREFIX=${TARGET_PREFIX}' >> $script
36 echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${SDK_ARCH}-linux --with-libtool-sysroot=$SDKTARGETSYSROOT"' >> $script 36 echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${SDK_ARCH}-linux --with-libtool-sysroot=$SDKTARGETSYSROOT"' >> $script
37 if [ "${TARGET_OS}" = "darwin8" ]; then
38 echo 'export TARGET_CFLAGS="-I$SDKTARGETSYSROOT'"$includedir"'"' >> $script
39 echo 'export TARGET_LDFLAGS="-L$SDKTARGETSYSROOT'"$libdir"'"' >> $script
40 # Workaround darwin toolchain sysroot path problems
41 cd ${SDK_OUTPUT}$SDKTARGETSYSROOT/usr
42 ln -s /usr/local local
43 fi
44 echo 'export CFLAGS="${TARGET_CFLAGS}"' >> $script 37 echo 'export CFLAGS="${TARGET_CFLAGS}"' >> $script
45 echo 'export CXXFLAGS="${TARGET_CXXFLAGS}"' >> $script 38 echo 'export CXXFLAGS="${TARGET_CXXFLAGS}"' >> $script
46 echo 'export LDFLAGS="${TARGET_LDFLAGS}"' >> $script 39 echo 'export LDFLAGS="${TARGET_LDFLAGS}"' >> $script
@@ -81,13 +74,6 @@ toolchain_create_tree_env_script () {
81 echo 'export NM=${TARGET_PREFIX}nm' >> $script 74 echo 'export NM=${TARGET_PREFIX}nm' >> $script
82 echo 'export TARGET_PREFIX=${TARGET_PREFIX}' >> $script 75 echo 'export TARGET_PREFIX=${TARGET_PREFIX}' >> $script
83 echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${BUILD_SYS} --with-libtool-sysroot=${STAGING_DIR_TARGET}"' >> $script 76 echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${BUILD_SYS} --with-libtool-sysroot=${STAGING_DIR_TARGET}"' >> $script
84 if [ "${TARGET_OS}" = "darwin8" ]; then
85 echo 'export TARGET_CFLAGS="-I${STAGING_DIR}${MACHINE}${includedir}"' >> $script
86 echo 'export TARGET_LDFLAGS="-L${STAGING_DIR}${MACHINE}${libdir}"' >> $script
87 # Workaround darwin toolchain sysroot path problems
88 cd ${SDK_OUTPUT}${SDKTARGETSYSROOT}/usr
89 ln -s /usr/local local
90 fi
91 echo 'export CFLAGS="${TARGET_CFLAGS}"' >> $script 77 echo 'export CFLAGS="${TARGET_CFLAGS}"' >> $script
92 echo 'export CXXFLAGS="${TARGET_CXXFLAGS}"' >> $script 78 echo 'export CXXFLAGS="${TARGET_CXXFLAGS}"' >> $script
93 echo 'export LDFLAGS="${TARGET_LDFLAGS}"' >> $script 79 echo 'export LDFLAGS="${TARGET_LDFLAGS}"' >> $script