Browse Source

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 <[email protected]>
Zoltan HERPAI 2 years ago
parent
commit
f8436018fd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/boot/opensbi/Makefile

+ 1 - 1
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