Makefile 676 B

1234567891011121314151617181920212223242526272829303132333435
  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. HOST_FIXUP:=autoreconf
  14. include $(INCLUDE_DIR)/host-build.mk
  15. unexport CFLAGS
  16. HOST_CONFIGURE_ARGS += \
  17. --enable-static \
  18. --disable-shared
  19. define Host/Configure
  20. (cd $(HOST_BUILD_DIR)/$(3); \
  21. $(HOST_CONFIGURE_CMD) \
  22. $(HOST_CONFIGURE_VARS) \
  23. $(HOST_CONFIGURE_ARGS); \
  24. )
  25. endef
  26. $(eval $(call HostBuild))