Patchwork [meta-oe,1/5] wmxml2: don't do out-of-tree builds manually

login
register
mail settings
Submitter Ross Burton
Date Jan. 15, 2014, 11:37 a.m.
Message ID <1389785832-3120-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/64885/
State Accepted, archived
Headers show

Comments

Ross Burton - Jan. 15, 2014, 11:37 a.m.
cmake.bbclass as of oe-core 783fb88 defaults to out-of-tree builds.  Use that
functionality instead of passing arguments to EXTRA_OECMAKE and _prepends.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb |   10 ----------
 1 file changed, 10 deletions(-)
Otavio Salvador - Jan. 15, 2014, 11:43 a.m.
On Wed, Jan 15, 2014 at 9:37 AM, Ross Burton <ross.burton@intel.com> wrote:

> cmake.bbclass as of oe-core 783fb88 defaults to out-of-tree builds.  Use
> that
> functionality instead of passing arguments to EXTRA_OECMAKE and _prepends.
>
> Signed-off-by: Ross Burton <ross.burton@intel.com>
>

Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>

Patch

diff --git a/meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb b/meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb
index bca305f..c66e6dc 100644
--- a/meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb
+++ b/meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb
@@ -15,17 +15,7 @@  S = "${WORKDIR}/libwbxml-${PV}"
 
 inherit cmake pkgconfig
 
-EXTRA_OECMAKE += " . -B${WORKDIR}/build "
-
 PACKAGES += "${PN}-tools"
 
 FILES_${PN}-tools = "${bindir}"
 FILES_${PN} = "${libdir}/*.so.*"
-
-do_build_prepend() {
-    cd ${WORKDIR}/build
-}
-
-do_install_prepend() {
-    cd ${WORKDIR}/build
-}