Makefile 738 B

12345678910111213141516171819202122232425262728
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= mke2img
  5. PKG_VERSION:= 1
  6. PKG_RELEASE:= 1
  7. PKG_DESCR:= wrapper for ext2/3/4 filesystem utility
  8. PKG_SECTION:= sys/fs
  9. NO_DISTFILES:= 1
  10. PKG_CFLINE_MKE2IMG:= depends on ADK_HOST_ONLY
  11. include $(ADK_TOPDIR)/mk/host.mk
  12. include $(ADK_TOPDIR)/mk/package.mk
  13. $(eval $(call HOST_template,MKE2IMG,mke2img,$(PKG_VERSION)-${PKG_RELEASE}))
  14. HOST_STYLE:= manual
  15. mke2img-hostinstall:
  16. $(INSTALL_DIR) $(STAGING_HOST_DIR)/usr/bin
  17. $(INSTALL_BIN) ./files/mke2img $(STAGING_HOST_DIR)/usr/bin
  18. include ${ADK_TOPDIR}/mk/host-bottom.mk
  19. include ${ADK_TOPDIR}/mk/pkg-bottom.mk