aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-06-27 16:34:56 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-06-27 16:34:56 +0000
commit6c220ebea3e567aa94cdf41fa309ebdcd4e32dbd (patch)
tree8fdb2b3490ed5cf8e18cc4e10c04fd1157825a07
parent882473c9913cf09da1f8e89738cb859e1e8bd882 (diff)
parent068ac1524d7ac8aebab84978317d363040b15b86 (diff)
downloadopenembedded-6c220ebea3e567aa94cdf41fa309ebdcd4e32dbd.tar.gz
openembedded-6c220ebea3e567aa94cdf41fa309ebdcd4e32dbd.tar.bz2
openembedded-6c220ebea3e567aa94cdf41fa309ebdcd4e32dbd.zip
merge of '218274d3d618ee5de9be9d8d43abfc279f552139'
and '8eb2a350085e36627bc9a432834ecae61c94ac82'
-rw-r--r--classes/cmake.bbclass3
-rw-r--r--packages/cmake/cmake-native_2.6.0.bb11
2 files changed, 13 insertions, 1 deletions
diff --git a/classes/cmake.bbclass b/classes/cmake.bbclass
index 823635c24d..a9130f2a05 100644
--- a/classes/cmake.bbclass
+++ b/classes/cmake.bbclass
@@ -4,7 +4,8 @@ DEPENDS += " cmake-native "
inherit autotools
cmake_do_configure() {
- cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix}
+ cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix} -Wno-dev \
+ -DCMAKE_FIND_ROOT_PATH=${STAGING_DIR_HOST}
}
EXPORT_FUNCTIONS do_configure
diff --git a/packages/cmake/cmake-native_2.6.0.bb b/packages/cmake/cmake-native_2.6.0.bb
new file mode 100644
index 0000000000..faf397614b
--- /dev/null
+++ b/packages/cmake/cmake-native_2.6.0.bb
@@ -0,0 +1,11 @@
+inherit native
+require cmake.inc
+
+do_stage() {
+ oe_runmake install
+ autotools_stage_all
+}
+
+do_install() {
+ :
+}