git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5b0846
)
cmake.bbclass: support for seperate building directory
author
Henning Heinold
<heinold@inf.fu-berlin.de>
Wed, 2 Dec 2009 15:14:08 +0000
(16:14 +0100)
committer
Henning Heinold
<heinold@inf.fu-berlin.de>
Wed, 2 Dec 2009 22:10:53 +0000
(23:10 +0100)
classes/cmake.bbclass
patch
|
blob
|
history
diff --git
a/classes/cmake.bbclass
b/classes/cmake.bbclass
index
4978421
..
d0a1844
100644
(file)
--- a/
classes/cmake.bbclass
+++ b/
classes/cmake.bbclass
@@
-25,4
+25,22
@@
cmake_do_configure() {
-Wno-dev
}
-EXPORT_FUNCTIONS do_configure
+cmake_do_compile() {
+ if [ ${OECMAKE_BUILDPATH} ]
+ then
+ cd ${OECMAKE_BUILDPATH}
+ fi
+
+ base_do_compile
+}
+
+cmake_do_install() {
+ if [ ${OECMAKE_BUILDPATH} ];
+ then
+ cd ${OECMAKE_BUILDPATH}
+ fi
+
+ autotools_do_install
+}
+
+EXPORT_FUNCTIONS do_configure do_compile do_install