Makefile 652 B

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