aboutsummaryrefslogtreecommitdiffstats
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:26 +0100
commit0788cf349fe37ef4a36c626dbc396c97d1ab14d7 (patch)
tree1ad95e415417f7dce513ef6aac4eabf316dfe164
parent83c560ae282c1a28fd2c311c66debd02a69f1678 (diff)
downloadopenembedded-core-contrib-0788cf349fe37ef4a36c626dbc396c97d1ab14d7.tar.gz
openembedded-core-contrib-0788cf349fe37ef4a36c626dbc396c97d1ab14d7.tar.bz2
openembedded-core-contrib-0788cf349fe37ef4a36c626dbc396c97d1ab14d7.zip
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 Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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}"
export CPP_FOR_BUILD = "${BUILD_CPP}"
export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
+MULTIARCH := "${@bb.utils.contains("DISTRO_FEATURES", "multiarch", "yes", "no", d)}"
+do_configure[vardeps] += "MULTIARCH"
do_configure () {
(cd ${S}; gnu-configize) || die "Failed to run gnu-configize"
oe_runconf