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

Submitted by Ross Burton on Jan. 15, 2014, 11:37 a.m.

Details

Message ID 1389785832-3120-1-git-send-email-ross.burton@intel.com
State Accepted, archived
Headers show

Commit Message

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(-)

Patch hide | download patch | download mbox

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
-}

Comments

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>