[package] mac80211: add ath9k init values patch
[openwrt/mini2440.git] / tools / gmp / Makefile
blob4c6fac425f93eddf7e3c338cca6a892974036772
2 # Copyright (C) 2009 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
9 PKG_NAME:=gmp
10 PKG_VERSION:=4.2.4
12 PKG_SOURCE_URL:=@GNU/gmp/
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
14 PKG_MD5SUM:=
16 include $(INCLUDE_DIR)/host-build.mk
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 \
28 endef
30 define Host/Compile
31 make -C $(HOST_BUILD_DIR) all
32 endef
34 define Host/Install
35 make -C $(HOST_BUILD_DIR) install
36 endef
38 define Host/Clean
39 rm -rf $(HOST_BUILD_DIR)
40 endef
42 $(eval $(call HostBuild))