[package] make robocfg work on brcm63xx as well (#4599)
[openwrt.git] / tools / gmp / Makefile
1 #
2 # Copyright (C) 2009 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:=gmp
10 PKG_VERSION:=4.2.4
11
12 PKG_SOURCE_URL:=@GNU/gmp/
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
14 PKG_MD5SUM:=
15
16 include $(INCLUDE_DIR)/host-build.mk
17
18 define Host/Configure
19 (cd $(HOST_BUILD_DIR); \
20 ./configure \
21 --prefix=$(STAGING_DIR_HOST) \
22 --build=$(GNU_HOST_NAME) \
23 --enable-static \
24 --disable-shared \
25 --enable-cxx \
26 --enable-mpbsd \
27 );
28 endef
29
30 define Host/Compile
31 make -C $(HOST_BUILD_DIR) all
32 endef
33
34 define Host/Install
35 make -C $(HOST_BUILD_DIR) install
36 endef
37
38 define Host/Clean
39 rm -rf $(HOST_BUILD_DIR)
40 endef
41
42 $(eval $(call HostBuild))
This page took 0.065032 seconds and 5 git commands to generate.