Makefile 551 B

12345678910111213141516171819202122232425262728
  1. #
  2. # Copyright (C) 2014 Qualcomm-Atheros Inc.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=sparse
  6. PKG_VERSION:=0.6.4
  7. PKG_HASH:=6ab28b4991bc6aedbd73550291360aa6ab3df41f59206a9bde9690208a6e387c
  8. PKG_RELEASE:=1
  9. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  10. PKG_SOURCE_URL:=@KERNEL/software/devel/sparse/dist/
  11. PKG_BUILD_PARALLEL:=1
  12. include $(INCLUDE_DIR)/host-build.mk
  13. define Host/Install
  14. $(INSTALL_BIN) $(HOST_BUILD_DIR)/sparse $(STAGING_DIR_HOST)/bin
  15. endef
  16. define Host/Clean
  17. rm -f $(STAGING_DIR_HOST)/bin/sparse
  18. endef
  19. $(eval $(call HostBuild))