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
12 PKG_SOURCE_URL:=@GNU/gmp/
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 include $(INCLUDE_DIR)/host-build.mk
18 define Build/Configure
19 (cd $(PKG_BUILD_DIR); \
21 --prefix=$(STAGING_DIR_HOST) \
22 --build=$(GNU_HOST_NAME) \
31 make -C $(PKG_BUILD_DIR) all
35 make -C $(PKG_BUILD_DIR) install
39 rm -rf $(PKG_BUILD_DIR)
42 $(eval $(call HostBuild))