Patchwork [meta-oe,4/5] libsyncml: 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-4-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/64889/
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/libsyncml_0.5.4.bb |   10 ----------
 1 file changed, 10 deletions(-)
Otavio Salvador - Jan. 15, 2014, 11:44 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/libsyncml_0.5.4.bb b/meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb
index 0575058..9cf9243 100644
--- a/meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb
+++ b/meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb
@@ -13,17 +13,7 @@  SRC_URI[sha256sum] = "05d6513637adb1300a3a58b6e29d53ab6373c8f370807d0d925bae72b2
 
 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
-}