Makefile 661 B

1234567891011121314151617181920212223242526272829303132333435
  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. PKG_NAME:=gmp
  9. PKG_VERSION:=5.0.1
  10. PKG_SOURCE_URL:=@GNU/gmp/
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  12. PKG_MD5SUM:=6bac6df75c192a13419dfd71d19240a7
  13. include $(INCLUDE_DIR)/host-build.mk
  14. unexport CFLAGS
  15. HOST_CONFIGURE_ARGS += \
  16. --enable-static \
  17. --disable-shared \
  18. --enable-cxx \
  19. --enable-mpbsd
  20. define Host/Configure
  21. (cd $(HOST_BUILD_DIR)/$(3); \
  22. $(HOST_CONFIGURE_CMD) \
  23. $(HOST_CONFIGURE_VARS) \
  24. $(HOST_CONFIGURE_ARGS); \
  25. )
  26. endef
  27. $(eval $(call HostBuild))