Makefile 805 B

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