diff options
Diffstat (limited to 'yocto-poky/meta/recipes-devtools/cmake/cmake/dont-run-cross-binaries.patch')
-rw-r--r-- | yocto-poky/meta/recipes-devtools/cmake/cmake/dont-run-cross-binaries.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/yocto-poky/meta/recipes-devtools/cmake/cmake/dont-run-cross-binaries.patch b/yocto-poky/meta/recipes-devtools/cmake/cmake/dont-run-cross-binaries.patch new file mode 100644 index 000000000..0c059f12e --- /dev/null +++ b/yocto-poky/meta/recipes-devtools/cmake/cmake/dont-run-cross-binaries.patch @@ -0,0 +1,23 @@ +cmake: don't run cross-binaries on host machine + +When doing the cross build we obviously cannot run those binaries on +host since they can be binary incompatible. + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> + +Index: cmake-2.8.10.1/CMakeLists.txt +=================================================================== +--- cmake-2.8.10.1.orig/CMakeLists.txt ++++ cmake-2.8.10.1/CMakeLists.txt +@@ -588,7 +588,8 @@ mark_as_advanced(CMAKE_STRICT) + + # build the remaining subdirectories + add_subdirectory(Source) +-add_subdirectory(Utilities) ++# Come on! Running the cross-binaries on host is not a good idea. ++#add_subdirectory(Utilities) + add_subdirectory(Tests) + + if(BUILD_TESTING) |