diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2018-11-20 10:51:57 +0000 |
---|---|---|
committer | Joshua Watt <JPEWhacker@gmail.com> | 2018-11-20 15:38:02 -0600 |
commit | 1e20bc01111f5867f5a3d9c0905e31d3d7554ba5 (patch) | |
tree | 12aa9e29967c3c77ba3d7d0ebf87f585bca2f089 | |
parent | 7a9657c7dd2f6e40ab162af8ebc785ad54774e10 (diff) | |
download | meta-mingw-1e20bc01111f5867f5a3d9c0905e31d3d7554ba5.tar.gz |
cmake: add support for building nativesdk-cmake
Build nativesdk-cmake and dependency libs without without openssl.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
-rw-r--r-- | recipes-devtools/cmake/cmake_%.bbappend | 7 | ||||
-rw-r--r-- | recipes-extended/libarchive/libarchive_%.bbappend | 1 | ||||
-rw-r--r-- | recipes-support/curl/curl_%.bbappend | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/recipes-devtools/cmake/cmake_%.bbappend b/recipes-devtools/cmake/cmake_%.bbappend new file mode 100644 index 0000000..d9d7ceb --- /dev/null +++ b/recipes-devtools/cmake/cmake_%.bbappend | |||
@@ -0,0 +1,7 @@ | |||
1 | DEPENDS_remove_mingw32 = "ncurses" | ||
2 | |||
3 | cmake_do_generate_toolchain_file_append_mingw32() { | ||
4 | cat >> ${WORKDIR}/toolchain.cmake <<EOF | ||
5 | set( CMAKE_SYSTEM_NAME Windows ) | ||
6 | EOF | ||
7 | } | ||
diff --git a/recipes-extended/libarchive/libarchive_%.bbappend b/recipes-extended/libarchive/libarchive_%.bbappend new file mode 100644 index 0000000..a411b40 --- /dev/null +++ b/recipes-extended/libarchive/libarchive_%.bbappend | |||
@@ -0,0 +1 @@ | |||
EXTRA_OECONF_append_mingw32 = " --without-cng" | |||
diff --git a/recipes-support/curl/curl_%.bbappend b/recipes-support/curl/curl_%.bbappend new file mode 100644 index 0000000..7865b46 --- /dev/null +++ b/recipes-support/curl/curl_%.bbappend | |||
@@ -0,0 +1,2 @@ | |||
1 | PACKAGECONFIG_remove_class-nativesdk_mingw32 = "ssl" | ||
2 | RRECOMMENDS_lib${BPN}_remove_mingw32 = "ca-certificates" | ||