opensbi: allow building on upcoming d1 target
[openwrt/staging/981213.git] / 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