|
@@ -71,6 +71,7 @@ OPENSBI_INSTALL_IMAGES = YES
|
|
OPENSBI_FW_IMAGES += payload
|
|
OPENSBI_FW_IMAGES += payload
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+ifneq ($(OPENSBI_PLAT),)
|
|
define OPENSBI_INSTALL_IMAGES_CMDS
|
|
define OPENSBI_INSTALL_IMAGES_CMDS
|
|
$(foreach f,$(OPENSBI_FW_IMAGES),\
|
|
$(foreach f,$(OPENSBI_FW_IMAGES),\
|
|
$(INSTALL) -m 0644 -D $(@D)/build/platform/$(OPENSBI_PLAT)/firmware/fw_$(f).bin \
|
|
$(INSTALL) -m 0644 -D $(@D)/build/platform/$(OPENSBI_PLAT)/firmware/fw_$(f).bin \
|
|
@@ -79,6 +80,7 @@ define OPENSBI_INSTALL_IMAGES_CMDS
|
|
$(BINARIES_DIR)/fw_$(f).elf
|
|
$(BINARIES_DIR)/fw_$(f).elf
|
|
)
|
|
)
|
|
endef
|
|
endef
|
|
|
|
+endif
|
|
|
|
|
|
# libsbi.a is not a library meant to be linked in user-space code, but
|
|
# libsbi.a is not a library meant to be linked in user-space code, but
|
|
# with bare metal code, which is why we don't install it in
|
|
# with bare metal code, which is why we don't install it in
|