diff options
-rw-r--r-- | meta/classes/autotools.bbclass | 7 |
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}" | |||
49 | export LD_FOR_BUILD = "${BUILD_LD}" | 49 | export LD_FOR_BUILD = "${BUILD_LD}" |
50 | export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}" | 50 | export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}" |
51 | 51 | ||
52 | def autotools_set_crosscompiling(d): | ||
53 | if not bb.data.inherits_class('native', d): | ||
54 | return " cross_compiling=yes" | ||
55 | return "" | ||
56 | |||
57 | def append_libtool_sysroot(d): | 52 | def 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 | |||
65 | CONFIGUREOPTS = " --build=${BUILD_SYS} \ | 58 | CONFIGUREOPTS = " --build=${BUILD_SYS} \ |
66 | --host=${HOST_SYS} \ | 59 | --host=${HOST_SYS} \ |
67 | --target=${TARGET_SYS} \ | 60 | --target=${TARGET_SYS} \ |