Patchwork [1/5] cmake: reset B from autotools, as this class doesnt like it

login
register
mail settings
Submitter Ross Burton
Date Feb. 4, 2013, 10:44 a.m.
Message ID <1359974656-21894-2-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/43979/
State Accepted
Commit 3c1b1312a6d5b06b8174e3c8d0fb26a237859764
Headers show

Comments

Ross Burton - Feb. 4, 2013, 10:44 a.m.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/classes/cmake.bbclass |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index 54d4519..e64c30c 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -13,6 +13,7 @@  OECMAKE_SOURCEPATH ?= "."
 # If declaring this, make sure you also set EXTRA_OEMAKE to
 # "-C ${OECMAKE_BUILDPATH}". So it will run the right makefiles.
 OECMAKE_BUILDPATH ?= ""
+B="${S}"
 
 # C/C++ Compiler (without cpu arch/tune arguments)
 OECMAKE_C_COMPILER ?= "`echo ${CC} | sed 's/^\([^ ]*\).*/\1/'`"