Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] autotools: Enable separate builddir by default
@ 2014-02-27 18:03 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2014-02-27 18:03 UTC (permalink / raw)
  To: openembedded-core

Building on the previous patch, enable separate builddir support 
by default (${B} != ${S}). This moves the functionality from the include
to become the default. Recipes where this support is broken can inherit
autotools-brokensep instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 2f2a407..0a71c0e 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -288,3 +288,4 @@ 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 6fc522c..5557350 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




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-02-27 18:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-27 18:03 [PATCH] autotools: Enable separate builddir by default Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox