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
:= 319b62a4186fbce9b81a0c5f0ec9f003a10c808397a72138bc9745d9b87b1eb1
10 PKG_DESCR
:= bootloader for riscv hardware
11 PKG_SECTION
:= base
/boot
12 PKG_URL
:= https
://github.com
/riscv-software-src
/opensbi
13 PKG_SITES
:= https
://github.com
/riscv-software-src
/opensbi
/archive
/refs
/tags/
14 PKG_ARCH_DEPENDS
:= riscv32 riscv64
16 DISTFILES
:= v
$(PKG_VERSION
).
tar.gz
18 include $(ADK_TOPDIR
)/mk
/package.mk
20 $(eval
$(call PKG_template
,OPENSBI
,opensbi
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
)))
22 MAKE_ENV
+= PLATFORM
=generic FW_TEXT_START
=0x40000000 FW_OPTIONS
=0
26 $(CP
) $(WRKBUILD
)/build
/platform
/generic
/firmware
/*.bin \
29 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk