Makefile 554 B

12345678910111213141516171819202122232425
  1. #
  2. # Copyright (C) 2014 Qualcomm-Atheros Inc.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=sparse
  6. PKG_VERSION:=0.5-git40791b94
  7. PKG_SOURCE_PROTO:=git
  8. PKG_SOURCE_URL:=git://git.kernel.org/pub/scm/devel/sparse/sparse.git
  9. PKG_SOURCE_VERSION:=40791b94c56b1a6da2a0ddeb1f9d5c9d64de8f93
  10. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  12. PKG_BUILD_PARALLEL:=1
  13. include $(INCLUDE_DIR)/host-build.mk
  14. define Host/Install
  15. $(INSTALL_BIN) $(HOST_BUILD_DIR)/sparse $(STAGING_DIR_HOST)/bin
  16. endef
  17. $(eval $(call HostBuild))