summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/cmake/cmake
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-06-16 14:27:47 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-08 17:20:57 +0100
commit4832e84106038ef2923521e4ddd7bfd53b0a735a (patch)
tree847ffdadd15036bcbc781e326b32c38368b2bad1 /meta/recipes-devtools/cmake/cmake
parente5fef6bc21c1046a8f08c27f8fcb27322d56008b (diff)
downloadpoky-4832e84106038ef2923521e4ddd7bfd53b0a735a.tar.gz
cmake: add nativesdk and target versions
Adds a recipe that provides the nativesdk and target versions of CMake. This recipe is based on code from OpenEmbeeded (rev b1f2e1501c19540617a829b37415c0616101c7ad). (From OE-Core rev: ea25292bbf53c7542578e5d9f4ae0531f9d78374) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/cmake/cmake')
-rw-r--r--meta/recipes-devtools/cmake/cmake/dont-run-cross-binaries.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-devtools/cmake/cmake/dont-run-cross-binaries.patch b/meta/recipes-devtools/cmake/cmake/dont-run-cross-binaries.patch
new file mode 100644
index 0000000000..4eb1794e4e
--- /dev/null
+++ b/meta/recipes-devtools/cmake/cmake/dont-run-cross-binaries.patch
@@ -0,0 +1,22 @@
1cmake: don't run cross-binaries on host machine
2
3When doing the cross build we obviously cannot run those binaries on
4host since they can be binary incompatible.
5
6Upstream-Status: Inappropriate [embedded specific]
7
8Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9
10diff -ru cmake-2.8.2.orig/CMakeLists.txt cmake-2.8.2/CMakeLists.txt
11--- cmake-2.8.2.orig/CMakeLists.txt 2010-07-28 00:48:42.000000000 +0200
12+++ cmake-2.8.2/CMakeLists.txt 2010-07-28 01:05:17.000000000 +0200
13@@ -518,7 +518,8 @@
14
15 # build the remaining subdirectories
16 ADD_SUBDIRECTORY(Source)
17-ADD_SUBDIRECTORY(Utilities)
18+# Come on! Running the cross-binaries on host is not a good idea.
19+#ADD_SUBDIRECTORY(Utilities)
20 ADD_SUBDIRECTORY(Tests)
21
22 # add a test