tmux: update to 2.9
[openadk.git] / package / arcboot / Makefile
blob4cfeefbe5f0a6e06167ba9127183437dbfff1f55
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= arcboot
7 PKG_VERSION:= 0.3.15
8 PKG_RELEASE:= 1
9 PKG_HASH:= f197eb1a205530cb5d8abc6344cb66dd18cf012fad477204dd87a7e93c30b17c
10 PKG_DESCR:= arc boot loader
11 PKG_SECTION:= base/boot
12 PKG_BUILDDEP:= e2fsprogs
13 PKG_URL:= https://honk.sigxcpu.org/piki/projects/arcboot/
14 PKG_SITES:= http://http.debian.net/debian/pool/main/a/arcboot/
16 DISTFILES:= $(PKG_NAME)_$(PKG_VERSION).tar.gz
17 WRKDIST= $(WRKDIR)/$(PKG_NAME)
19 PKG_ARCH_DEPENDS:= mips mips64
21 include $(ADK_TOPDIR)/mk/package.mk
23 $(eval $(call PKG_template,ARCBOOT,arcboot,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
25 XAKE_FLAGS+= E2FSINCLUDEDIR='$(STAGING_TARGET_DIR)/usr/include/ext2fs' \
26 EXT2LIB='$(STAGING_TARGET_DIR)/usr/lib/libext2fs.a'
28 CONFIG_STYLE:= manual
30 arcboot-install:
31 $(INSTALL_DIR) $(IDIR_ARCBOOT)/usr/bin
32 $(INSTALL_BIN) $(WRKINST)/usr/bin/arcboot \
33 $(IDIR_ARCBOOT)/usr/bin
35 include $(ADK_TOPDIR)/mk/pkg-bottom.mk