Makefile 743 B

123456789101112131415161718192021222324252627282930
  1. #
  2. # Copyright (C) 2015 OpenWrt.org
  3. # Copyright (C) 2016 LEDE project
  4. #
  5. # This is free software, licensed under the GNU General Public License v2.
  6. # See /LICENSE for more information.
  7. #
  8. include $(TOPDIR)/rules.mk
  9. PKG_NAME:=make-ext4fs
  10. PKG_SOURCE_URL=$(PROJECT_GIT)/project/make_ext4fs.git
  11. PKG_SOURCE_PROTO:=git
  12. PKG_SOURCE_DATE:=2016-08-14
  13. PKG_SOURCE_VERSION:=484903e4332be6c317f531b008cb2a841a18c506
  14. PKG_MIRROR_HASH:=d7ccd5e426b1d15331ff000a37dc15161f6eef594453e970fd584fcde5a25075
  15. include $(INCLUDE_DIR)/host-build.mk
  16. HOST_MAKE_FLAGS += STATIC=1
  17. define Host/Install
  18. $(INSTALL_BIN) $(HOST_BUILD_DIR)/make_ext4fs $(STAGING_DIR_HOST)/bin/
  19. endef
  20. define Host/Clean
  21. rm -f $(STAGING_DIR_HOST)/bin/make_ext4fs
  22. endef
  23. $(eval $(call HostBuild))