summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-07-02 11:24:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-03 17:38:47 +0100
commitadaa0568390d0dfef1c4d87809601aab85299e97 (patch)
tree350bc31450d3388c25470d9070cbaed2fae74afe /meta/classes
parent2dfb2ef06763cb6044dc1630875024e7310b3df4 (diff)
downloadopenembedded-core-adaa0568390d0dfef1c4d87809601aab85299e97.tar.gz
openembedded-core-adaa0568390d0dfef1c4d87809601aab85299e97.tar.bz2
openembedded-core-adaa0568390d0dfef1c4d87809601aab85299e97.zip
autotools.bbclass: remove autotools_set_crosscompiling
The only reference to this function is a commented-out assignment, and nothing in oe-core nor meta-oe uses autotools_set_crosscompiling directly. As it's unused, remove it. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/autotools.bbclass7
1 files changed, 0 insertions, 7 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 0dc1e6b8b7..19edc54f6d 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -49,19 +49,12 @@ export CXXFLAGS_FOR_BUILD="${BUILD_CXXFLAGS}"
export LD_FOR_BUILD = "${BUILD_LD}"
export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}"
-def autotools_set_crosscompiling(d):
- if not bb.data.inherits_class('native', d):
- return " cross_compiling=yes"
- return ""
-
def append_libtool_sysroot(d):
# Only supply libtool sysroot option for non-native packages
if not bb.data.inherits_class('native', d):
return '--with-libtool-sysroot=${STAGING_DIR_HOST}'
return ""
-# EXTRA_OECONF_append = "${@autotools_set_crosscompiling(d)}"
-
CONFIGUREOPTS = " --build=${BUILD_SYS} \
--host=${HOST_SYS} \
--target=${TARGET_SYS} \