1
0

Makefile 773 B

1234567891011121314151617181920212223242526272829
  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.25
  10. PKG_RELEASE:=1
  11. PKG_SOURCE_URL:=https://github.com/adron-s/kernel2minor.git
  12. PKG_MIRROR_HASH:=6083c46c2fe0da37bacd04d5d5439c0e2a9d00e58ff47a63acfd5057d2aa2145
  13. PKG_SOURCE_PROTO:=git
  14. PKG_SOURCE_VERSION:=1e5a52c7941945f6d64807ebca4a5923ba5466bd
  15. PKG_HASH:=33ca413403a3341af0c9a8e6d9bb58f4ad080a5339e8a8729b83637d35bfaf1b
  16. include $(INCLUDE_DIR)/host-build.mk
  17. define Host/Install
  18. $(INSTALL_BIN) $(HOST_BUILD_DIR)/kernel2minor $(STAGING_DIR_HOST)/bin/
  19. endef
  20. define Host/Clean
  21. rm -f $(STAGING_DIR_HOST)/bin/kernel2minor
  22. endef
  23. $(eval $(call HostBuild))