Makefile 731 B

12345678910111213141516171819202122232425262728293031323334353637
  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. PKG_NAME:=cloog-ppl
  9. PKG_VERSION:=0.15.9
  10. PKG_SOURCE_URL:=ftp://gcc.gnu.org/pub/gcc/infrastructure
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_MD5SUM:=806e001d1b1a6b130069ff6274900af5
  13. include $(INCLUDE_DIR)/host-build.mk
  14. unexport CFLAGS
  15. HOST_CONFIGURE_VARS += \
  16. LIBS=-lstdc++
  17. HOST_CONFIGURE_ARGS += \
  18. --enable-static \
  19. --disable-shared \
  20. --with-ppl=$(BUILD_DIR_HOST)
  21. define Host/Configure
  22. (cd $(HOST_BUILD_DIR)/$(3); \
  23. $(HOST_CONFIGURE_CMD) \
  24. $(HOST_CONFIGURE_VARS) \
  25. $(HOST_CONFIGURE_ARGS); \
  26. )
  27. endef
  28. $(eval $(call HostBuild))