2 # Copyright (C) 2006-2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
11 PKG_CPE_ID
:=cpe
:/a
:kitware
:cmake
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_SOURCE_URL
:=https
://cmake.org
/files
/v3.12
/ \
15 https
://fossies.org
/linux
/misc
/
16 PKG_HASH
:=d0781a90f6cdb9049d104ac16a150f9350b693498b9dea8a0331e799db6b9d69
18 HOST_BUILD_PARALLEL
:=1
19 HOST_CONFIGURE_PARALLEL
:=1
21 include $(INCLUDE_DIR
)/host-build.mk
23 HOST_CONFIGURE_VARS
+= \
24 MAKEFLAGS
="$(HOST_JOBS)" \
25 CXXFLAGS
="$(HOST_CFLAGS)"
27 HOST_CONFIGURE_ARGS
:= \
28 $(if
$(MAKE_JOBSERVER
),--parallel
="$(MAKE_JOBSERVER)") \
29 --prefix=$(STAGING_DIR_HOST
)
31 ifneq ($(findstring c
,$(OPENWRT_VERBOSE
)),)
32 HOST_MAKE_FLAGS
+= VERBOSE
=1
35 $(eval
$(call HostBuild
))