cmake: reset B from autotools, as this class doesnt like it
authorRoss Burton <ross.burton@intel.com>
Mon, 4 Feb 2013 10:44:12 +0000 (10:44 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Feb 2013 12:41:57 +0000 (12:41 +0000)
(From OE-Core rev: f8eae815186976f6111f30ae88ac33e723863982)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cmake.bbclass

index 54d4519..e64c30c 100644 (file)
@@ -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/'`"