1
0

Makefile 788 B

123456789101112131415161718192021222324252627282930313233343536
  1. #
  2. # Copyright (C) 2006-2015 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:=quilt
  9. PKG_VERSION:=0.67
  10. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  11. PKG_SOURCE_URL:=@SAVANNAH/quilt
  12. PKG_HASH:=3be3be0987e72a6c364678bb827e3e1fcc10322b56bc5f02b576698f55013cc2
  13. include $(INCLUDE_DIR)/host-build.mk
  14. define Host/Configure
  15. cd $(HOST_BUILD_DIR) && autoconf
  16. $(call Host/Configure/Default)
  17. [ -f $(HOST_BUILD_DIR)/Makefile ]
  18. endef
  19. define Host/Compile
  20. $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" all
  21. endef
  22. define Host/Install
  23. $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" install
  24. endef
  25. define Host/Clean
  26. rm -f $(STAGING_DIR_HOST)/bin/quilt
  27. endef
  28. $(eval $(call HostBuild))