1
0

Makefile 698 B

12345678910111213141516171819202122232425262728
  1. #
  2. # Copyright (C) 2016 adron@yapic.net
  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:=kernel2minor
  9. PKG_VERSION:=0.22
  10. PKG_RELEASE:=1
  11. PKG_MIRROR_HASH:=8e509deb78e4eddc5f4d0798d3c5fbc99bf6dd151faaf0332a640607042d7f82
  12. PKG_SOURCE_URL:=https://github.com/adron-s/kernel2minor.git
  13. PKG_SOURCE_PROTO:=git
  14. PKG_SOURCE_VERSION:=0587740de3e398dbe89d965334c492609cb9739d
  15. include $(INCLUDE_DIR)/host-build.mk
  16. define Host/Install
  17. $(INSTALL_BIN) $(HOST_BUILD_DIR)/kernel2minor $(STAGING_DIR_HOST)/bin/
  18. endef
  19. define Host/Clean
  20. rm -f $(STAGING_DIR_HOST)/bin/kernel2minor
  21. endef
  22. $(eval $(call HostBuild))