summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils.inc
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2012-09-27 20:33:13 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-02 17:10:35 +0100
commit5112da2c69bb5e9c1626889534c86bde70c74499 (patch)
tree704901dbe48e2856d2615f3d43f533699d99550e /meta/recipes-devtools/binutils/binutils.inc
parent6e8d68de7fd4991545caa8aae5edc55a8be53701 (diff)
downloadpoky-5112da2c69bb5e9c1626889534c86bde70c74499.tar.gz
binutils.inc: add vardep on multiarch DISTRO_FEATURE
binutils will build differently if this feature is enabled, so make the do_configure step depend on it (From OE-Core rev: 0788cf349fe37ef4a36c626dbc396c97d1ab14d7) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils.inc')
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index ee748a402a..ff64882d14 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -80,6 +80,8 @@ export CC_FOR_BUILD = "LD_LIBRARY_PATH= ${BUILD_CC}"
80export CPP_FOR_BUILD = "${BUILD_CPP}" 80export CPP_FOR_BUILD = "${BUILD_CPP}"
81export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}" 81export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
82 82
83MULTIARCH := "${@bb.utils.contains("DISTRO_FEATURES", "multiarch", "yes", "no", d)}"
84do_configure[vardeps] += "MULTIARCH"
83do_configure () { 85do_configure () {
84 (cd ${S}; gnu-configize) || die "Failed to run gnu-configize" 86 (cd ${S}; gnu-configize) || die "Failed to run gnu-configize"
85 oe_runconf 87 oe_runconf