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.13
/ \
15 https
://fossies.org
/linux
/misc
/
16 PKG_HASH
:=c925e7d2c5ba511a69f43543ed7b4182a7d446c274c7480d0e42cd933076ae25
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
))