diff options
author | Tony Theodore <tonyt@logyst.com> | 2016-07-13 15:16:07 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2016-07-16 06:53:58 (GMT) |
commit | 884922d11c7640edba9e9f7a6eee72261c39331d (patch) | |
tree | 280a8de0c2f1162f4b94ce24f6743ed7123ca048 /plugins/examples/host-toolchain/cmake-host.mk | |
parent | 80a79f80d6459f99bd9736d26982b51c54a3cee8 (diff) | |
download | mxe-884922d11c7640edba9e9f7a6eee72261c39331d.zip mxe-884922d11c7640edba9e9f7a6eee72261c39331d.tar.gz mxe-884922d11c7640edba9e9f7a6eee72261c39331d.tar.bz2 |
host-toolchain plugin: build qt5 test and cmake, add `make` binary download
Diffstat (limited to 'plugins/examples/host-toolchain/cmake-host.mk')
-rw-r--r-- | plugins/examples/host-toolchain/cmake-host.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/examples/host-toolchain/cmake-host.mk b/plugins/examples/host-toolchain/cmake-host.mk new file mode 100644 index 0000000..80a6521 --- /dev/null +++ b/plugins/examples/host-toolchain/cmake-host.mk @@ -0,0 +1,23 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := cmake-host +$(PKG)_IGNORE = $(cmake_IGNORE) +$(PKG)_VERSION = $(cmake_VERSION) +$(PKG)_CHECKSUM = $(cmake_CHECKSUM) +$(PKG)_SUBDIR = $(cmake_SUBDIR) +$(PKG)_FILE = $(cmake_FILE) +$(PKG)_URL = $(cmake_URL) +$(PKG)_URL_2 = $(cmake_URL_2) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + echo $(cmake_VERSION) +endef + +define $(PKG)_BUILD + mkdir '$(1).build' + cd '$(1).build' && '$(TARGET)-cmake' '$(1)' + $(MAKE) -C '$(1).build' -j '$(JOBS)' + $(MAKE) -C '$(1).build' -j 1 install +endef |