From: Zoltan HERPAI Date: Wed, 7 Jun 2023 09:54:34 +0000 (+0200) Subject: opensbi: allow building on upcoming d1 target X-Git-Url: http://git.openwrt.org/openwrt/feeds.git?a=commitdiff_plain;h=f8436018fd1a928ecaaa55a240fa94add095a0ee;p=openwrt%2Fstaging%2Fnbd.git 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 --- 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