tools: clean up Makefiles / make ccache work
[openwrt/openwrt.git] / tools / gmp / Makefile
1 #
2 # Copyright (C) 2009 -2010 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:=5.0.1
11
12 PKG_SOURCE_URL:=@GNU/gmp/
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
14 PKG_MD5SUM:=6bac6df75c192a13419dfd71d19240a7
15
16 include $(INCLUDE_DIR)/host-build.mk
17
18 unexport CFLAGS
19
20 HOST_CONFIGURE_ARGS += \
21 --enable-static \
22 --disable-shared \
23 --enable-cxx \
24 --enable-mpbsd
25
26 $(eval $(call HostBuild))