[openwrt/openwrt] opensbi: allow building on upcoming d1 target
LEDE Commits
lede-commits at lists.infradead.org
Thu Feb 29 08:02:16 PST 2024
wigyori pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/f8436018fd1a928ecaaa55a240fa94add095a0ee
commit f8436018fd1a928ecaaa55a240fa94add095a0ee
Author: Zoltan HERPAI <wigyori at uid0.hu>
AuthorDate: Wed Jun 7 11:54:34 2023 +0200
opensbi: allow building on upcoming d1 target
U-boot on D1 also uses OpenSBI as its payload. As the current version of
OpenSBI already supports D1 with no further patches required, allow
building it on the upcoming TARGET_d1 too.
Signed-off-by: Zoltan HERPAI <wigyori at uid0.hu>
---
package/boot/opensbi/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/boot/opensbi/Makefile b/package/boot/opensbi/Makefile
index 01348e50aa..6bb33ad2aa 100644
--- a/package/boot/opensbi/Makefile
+++ b/package/boot/opensbi/Makefile
@@ -29,7 +29,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/opensbi
SECTION:=boot
CATEGORY:=Boot Loaders
- DEPENDS:=@TARGET_sifiveu
+ DEPENDS:=@(TARGET_sifiveu||TARGET_d1)
URL:=https://github.com/riscv/opensbi/blob/master/README.md
VARIANT:=$(subst _,/,$(subst opensbi_,,$(1)))
TITLE:=OpenSBI generic
More information about the lede-commits
mailing list