You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
657 B
29 lines
657 B
#
|
|
# Copyright (C) 2006-2016 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=cmake
|
|
PKG_VERSION:=3.7.0
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://cmake.org/files/v3.7/ \
|
|
https://fossies.org/linux/misc/
|
|
PKG_MD5SUM:=3801dc4e54c1c957a7378d8b0d4254ba
|
|
|
|
HOST_BUILD_PARALLEL:=1
|
|
HOST_CONFIGURE_PARALLEL:=1
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
HOST_CONFIGURE_CMD := MAKEFLAGS="$(HOST_JOBS)" $(BASH) ./configure
|
|
|
|
HOST_CONFIGURE_VARS :=
|
|
|
|
HOST_CONFIGURE_ARGS := \
|
|
--prefix=$(STAGING_DIR_HOST)
|
|
|
|
$(eval $(call HostBuild))
|
|
|