diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-05 22:10:30 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-06 11:02:26 +0000 |
commit | d5a1538f0fb5112a9549a243b074bca681d9139b (patch) | |
tree | 19122dc8b6aa677c99f42063a1cd2bb1557965ba | |
parent | e52020ed1792f955bdaa4d26d69a49aadb7962aa (diff) | |
download | poky-d5a1538f0fb5112a9549a243b074bca681d9139b.tar.gz |
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.
(From OE-Core rev: b9d51bfe0d4821f5de75085ba8af732c46de3328)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/toolchain-scripts.bbclass | 14 |
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 |