summaryrefslogtreecommitdiffstats
path: root/meta
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:41:18 +0100
commit96748199f5f1b03be6729cb63de1200abfda7612 (patch)
tree2b530836fb2da36418da8497cbe290f4d0ea9783 /meta
parentfd4eca071c8ee19420bd7c862df1d31e89c49f37 (diff)
downloadpoky-96748199f5f1b03be6729cb63de1200abfda7612.tar.gz
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. (From OE-Core rev: adaa0568390d0dfef1c4d87809601aab85299e97) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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}"
49export LD_FOR_BUILD = "${BUILD_LD}" 49export LD_FOR_BUILD = "${BUILD_LD}"
50export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}" 50export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}"
51 51
52def autotools_set_crosscompiling(d):
53 if not bb.data.inherits_class('native', d):
54 return " cross_compiling=yes"
55 return ""
56
57def append_libtool_sysroot(d): 52def append_libtool_sysroot(d):
58 # Only supply libtool sysroot option for non-native packages 53 # Only supply libtool sysroot option for non-native packages
59 if not bb.data.inherits_class('native', d): 54 if not bb.data.inherits_class('native', d):
60 return '--with-libtool-sysroot=${STAGING_DIR_HOST}' 55 return '--with-libtool-sysroot=${STAGING_DIR_HOST}'
61 return "" 56 return ""
62 57
63# EXTRA_OECONF_append = "${@autotools_set_crosscompiling(d)}"
64
65CONFIGUREOPTS = " --build=${BUILD_SYS} \ 58CONFIGUREOPTS = " --build=${BUILD_SYS} \
66 --host=${HOST_SYS} \ 59 --host=${HOST_SYS} \
67 --target=${TARGET_SYS} \ 60 --target=${TARGET_SYS} \