u-boot: Always depend on openSBI do_deploy

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2023-03-01 02:35:34 -08:00
parent b1a37d95e8
commit a37e69820b

View File

@@ -47,12 +47,16 @@ do_deploy:append:freedom-u540() {
}
# Only add opensbi dependency if opensbi is in image deps
do_compile[depends] += "${@bb.utils.contains('EXTRA_IMAGEDEPENDS', 'opensbi', 'opensbi:do_deploy', '',d)}"
do_compile[depends] += "opensbi:do_deploy"
do_compile:prepend:ae350-ax45mp() {
export OPENSBI=${DEPLOY_DIR_IMAGE}/fw_dynamic.bin
}
do_compile:prepend:freedom-u540() {
export OPENSBI=${DEPLOY_DIR_IMAGE}/fw_dynamic.bin
}
do_configure:prepend:ae350-ax45mp() {
if [ -f "${WORKDIR}/tftp-mmc-boot.txt" ]; then
sed -i -e 's,@SERVERIP@,${TFTP_SERVER_IP},g' ${WORKDIR}/tftp-mmc-boot.txt