opensbi: allow building on upcoming d1 target
authorZoltan HERPAI <wigyori@uid0.hu>
Wed, 7 Jun 2023 09:54:34 +0000 (11:54 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Thu, 29 Feb 2024 15:50:19 +0000 (16:50 +0100)
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@uid0.hu>
package/boot/opensbi/Makefile

index 01348e50aad4a8a225ded6f74649a65785b171f7..6bb33ad2aa02ac94fc0b92024a8ca77a71e887c4 100644 (file)
@@ -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