Makefile 810 B

12345678910111213141516171819202122232425262728293031
  1. #
  2. # Copyright (c) 2017-2019 Tomasz Maciej Nowak <tomek_n@o2.pl>
  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 := cbootimage
  9. PKG_VERSION := 1.8
  10. PKG_SOURCE_PROTO := git
  11. PKG_SOURCE_URL := https://github.com/NVIDIA/cbootimage.git
  12. PKG_SOURCE_VERSION := 7c9db585d06cce9efffa2a82245f233233680060
  13. PKG_MIRROR_HASH := 84d9abaaa3eddde05f506dc16effe1c9e18eb94727ed59c5e0a879baeb04e0b2
  14. HOST_BUILD_PARALLEL := 1
  15. include $(INCLUDE_DIR)/host-build.mk
  16. define Host/Configure
  17. (cd $(HOST_BUILD_DIR); autoreconf --install --symlink)
  18. $(call Host/Configure/Default)
  19. endef
  20. define Host/Clean
  21. rm -f $(STAGING_DIR_HOST)/bin/$(PKG_NAME) \
  22. $(STAGING_DIR_HOST)/share/man/man1/$(PKG_NAME).1
  23. endef
  24. $(eval $(call HostBuild))