[oe-commits] Koen Kooi : cmake 2.6.4: convert native to new style staging and add ( currenly non working) 2.6.4 for target

git version control git at git.openembedded.org
Sun Mar 28 09:20:28 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: ef9803f0e5fa66c7741263285e6d4904960e27d9
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ef9803f0e5fa66c7741263285e6d4904960e27d9

Author: Koen Kooi <koen at openembedded.org>
Date:   Sun Mar 28 11:19:12 2010 +0200

cmake 2.6.4: convert native to new style staging and add (currenly non working) 2.6.4 for target

* does anyone know how pass only 3 vars to cmakecache instead everything?

---

 recipes/cmake/cmake-native_2.6.4.bb |    7 +------
 recipes/cmake/cmake_2.6.4.bb        |    8 ++++++++
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/recipes/cmake/cmake-native_2.6.4.bb b/recipes/cmake/cmake-native_2.6.4.bb
index faf3976..662a6a7 100644
--- a/recipes/cmake/cmake-native_2.6.4.bb
+++ b/recipes/cmake/cmake-native_2.6.4.bb
@@ -1,11 +1,6 @@
 inherit native
 require cmake.inc
 
-do_stage() {
-    oe_runmake install
-    autotools_stage_all
-}
-
 do_install() {
-	:
+	oe_runmake install
 }
diff --git a/recipes/cmake/cmake_2.6.4.bb b/recipes/cmake/cmake_2.6.4.bb
new file mode 100644
index 0000000..53a4c13
--- /dev/null
+++ b/recipes/cmake/cmake_2.6.4.bb
@@ -0,0 +1,8 @@
+require cmake.inc
+
+inherit cmake
+
+do_configure_append() {
+	sed -i -e 's,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=1,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=0,' CMakeCache.txt
+}
+





More information about the Openembedded-commits mailing list