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
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'
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