summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-27 17:55:50 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-23 11:43:55 +0100
commitbaf5b230af919b6b0fd14ac5fc3e734bf7c464d5 (patch)
treeda64be508ba6f2f111e44b3eab6ffe385af6926e
parent1d82fb4f1980bbe3c9cf0fffb45702bddda73307 (diff)
downloadopenembedded-core-baf5b230af919b6b0fd14ac5fc3e734bf7c464d5.tar.gz
openembedded-core-baf5b230af919b6b0fd14ac5fc3e734bf7c464d5.tar.bz2
openembedded-core-baf5b230af919b6b0fd14ac5fc3e734bf7c464d5.zip
autotools: Enable separate builddir by default
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/autotools.bbclass2
-rw-r--r--meta/conf/distro/defaultsetup.conf1
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index c60ba10929..f8c9b1e7b4 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -269,3 +269,5 @@ autotools_do_install() {
inherit siteconfig
EXPORT_FUNCTIONS do_configure do_install
+
+B = "${WORKDIR}/build"
diff --git a/meta/conf/distro/defaultsetup.conf b/meta/conf/distro/defaultsetup.conf
index 6fc522c101..5557350697 100644
--- a/meta/conf/distro/defaultsetup.conf
+++ b/meta/conf/distro/defaultsetup.conf
@@ -2,7 +2,6 @@ include conf/distro/include/default-providers.inc
include conf/distro/include/default-versions.inc
include conf/distro/include/default-distrovars.inc
include conf/distro/include/world-broken.inc
-include conf/distro/include/seperatebuilddir.inc
TCMODE ?= "default"
require conf/distro/include/tcmode-${TCMODE}.inc