efcca4391b9cbe7d4b5f864ca1b8f48a53477b25
[openwrt/staging/lynxis/omap.git] / tools / cmake / Makefile
1 #
2 # Copyright (C) 2006-2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=cmake
10 PKG_VERSION:=2.8.12
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=http://www.cmake.org/files/v2.8/
14 PKG_MD5SUM:=105bc6d21cc2e9b6aff901e43c53afea
15
16 HOST_BUILD_PARALLEL:=1
17 HOST_CONFIGURE_PARALLEL:=1
18
19 include $(INCLUDE_DIR)/host-build.mk
20
21 HOST_CONFIGURE_VARS :=
22
23 HOST_CONFIGURE_ARGS := \
24 --prefix=$(STAGING_DIR_HOST) \
25 $(if $(MAKE_JOBSERVER),--parallel="$(MAKE_JOBSERVER)")
26
27 $(eval $(call HostBuild))