Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= arcboot
  5. PKG_VERSION:= 0.3.15
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= f197eb1a205530cb5d8abc6344cb66dd18cf012fad477204dd87a7e93c30b17c
  8. PKG_DESCR:= arc boot loader
  9. PKG_SECTION:= base/boot
  10. PKG_BUILDDEP:= e2fsprogs
  11. PKG_URL:= https://honk.sigxcpu.org/piki/projects/arcboot/
  12. PKG_SITES:= http://http.debian.net/debian/pool/main/a/arcboot/
  13. DISTFILES:= $(PKG_NAME)_$(PKG_VERSION).tar.gz
  14. WRKDIST= $(WRKDIR)/$(PKG_NAME)
  15. PKG_ARCH_DEPENDS:= mips mips64
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,ARCBOOT,arcboot,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
  18. XAKE_FLAGS+= E2FSINCLUDEDIR='$(STAGING_TARGET_DIR)/usr/include/ext2fs' \
  19. EXT2LIB='$(STAGING_TARGET_DIR)/usr/lib/libext2fs.a'
  20. CONFIG_STYLE:= manual
  21. arcboot-install:
  22. $(INSTALL_DIR) $(IDIR_ARCBOOT)/usr/bin
  23. $(INSTALL_BIN) $(WRKINST)/usr/bin/arcboot \
  24. $(IDIR_ARCBOOT)/usr/bin
  25. include $(ADK_TOPDIR)/mk/pkg-bottom.mk