summaryrefslogtreecommitdiff
path: root/meta/classes/toolchain-scripts.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-05 22:10:30 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-06 11:01:32 +0000
commitb9d51bfe0d4821f5de75085ba8af732c46de3328 (patch)
treedc825f878ecaa1ca0ceda9c23a5675589db5ed0b /meta/classes/toolchain-scripts.bbclass
parent213e0c67e938b802e6bb2246f00b7343a6f77b99 (diff)
downloadopenembedded-core-b9d51bfe0d4821f5de75085ba8af732c46de3328.tar.gz
openembedded-core-b9d51bfe0d4821f5de75085ba8af732c46de3328.tar.bz2
openembedded-core-b9d51bfe0d4821f5de75085ba8af732c46de3328.zip
toolchain-scripts: Drop darwin8 code
The code was clearly broken and isn't used, even by meta-darwin so we might as well remove it. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/toolchain-scripts.bbclass')
-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 () {
echo 'export M4=m4' >> $script
echo 'export TARGET_PREFIX=${TARGET_PREFIX}' >> $script
echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${SDK_ARCH}-linux --with-libtool-sysroot=$SDKTARGETSYSROOT"' >> $script
- if [ "${TARGET_OS}" = "darwin8" ]; then
- echo 'export TARGET_CFLAGS="-I$SDKTARGETSYSROOT'"$includedir"'"' >> $script
- echo 'export TARGET_LDFLAGS="-L$SDKTARGETSYSROOT'"$libdir"'"' >> $script
- # Workaround darwin toolchain sysroot path problems
- cd ${SDK_OUTPUT}$SDKTARGETSYSROOT/usr
- ln -s /usr/local local
- fi
echo 'export CFLAGS="${TARGET_CFLAGS}"' >> $script
echo 'export CXXFLAGS="${TARGET_CXXFLAGS}"' >> $script
echo 'export LDFLAGS="${TARGET_LDFLAGS}"' >> $script
@@ -81,13 +74,6 @@ toolchain_create_tree_env_script () {
echo 'export NM=${TARGET_PREFIX}nm' >> $script
echo 'export TARGET_PREFIX=${TARGET_PREFIX}' >> $script
echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${BUILD_SYS} --with-libtool-sysroot=${STAGING_DIR_TARGET}"' >> $script
- if [ "${TARGET_OS}" = "darwin8" ]; then
- echo 'export TARGET_CFLAGS="-I${STAGING_DIR}${MACHINE}${includedir}"' >> $script
- echo 'export TARGET_LDFLAGS="-L${STAGING_DIR}${MACHINE}${libdir}"' >> $script
- # Workaround darwin toolchain sysroot path problems
- cd ${SDK_OUTPUT}${SDKTARGETSYSROOT}/usr
- ln -s /usr/local local
- fi
echo 'export CFLAGS="${TARGET_CFLAGS}"' >> $script
echo 'export CXXFLAGS="${TARGET_CXXFLAGS}"' >> $script
echo 'export LDFLAGS="${TARGET_LDFLAGS}"' >> $script