mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 06:32:11 +02:00
U-Boot no longer requires OpenSBI to include a FDT for the HiFive Unleashed, so remove the support from OpenSBI. (From OE-Core rev: 472507b8c446dcfe3cb08deecfbca4e5928ca504) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 lines
572 B
PHP
22 lines
572 B
PHP
def riscv_get_extra_oemake_image(d):
|
|
sbi_payload = d.getVar('RISCV_SBI_PAYLOAD')
|
|
deploy_dir = d.getVar('DEPLOY_DIR_IMAGE')
|
|
|
|
if sbi_payload is None:
|
|
return ""
|
|
|
|
return "FW_PAYLOAD_PATH=" + deploy_dir + "/" + sbi_payload
|
|
|
|
def riscv_get_do_compile_depends(d):
|
|
sbi_payload = d.getVar('RISCV_SBI_PAYLOAD')
|
|
|
|
if sbi_payload is None:
|
|
return ""
|
|
|
|
if 'linux' in sbi_payload or 'Image' in sbi_payload:
|
|
return "virtual/kernel:do_deploy"
|
|
if 'u-boot.bin' in sbi_payload:
|
|
return "virtual/bootloader:do_deploy"
|
|
|
|
return ""
|