boot-artifacts: fix BOOTABLE_ARTIFACTS for NXP platforms
For platforms that do not define FIP_UBOOT_DTB, the
'd.getVar('FIP_UBOOT_DTB') gets evaluated to None, which is not equal to
"", and thus the code continues in the wrong "if" branch.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
9dc6a491ba
commit
19d940965d
|
|
@ -39,7 +39,7 @@ def get_bootable_artifacts(d):
|
||||||
artifacts = []
|
artifacts = []
|
||||||
|
|
||||||
# For platforms with a FIP artifact, ignore u-boot artifacts
|
# For platforms with a FIP artifact, ignore u-boot artifacts
|
||||||
if d.getVar('FIP_UBOOT_DTB') != "":
|
if d.getVar('FIP_UBOOT_DTB'):
|
||||||
machine = d.getVar('MACHINE', True) or ""
|
machine = d.getVar('MACHINE', True) or ""
|
||||||
# Add ATF artifacts
|
# Add ATF artifacts
|
||||||
for t in atf_types.split(" "):
|
for t in atf_types.split(" "):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue