Skip to content

Commit

Permalink
rpi-base: filter None values from DTB boot files
Browse files Browse the repository at this point in the history
Filter None values from DTB boot files, to avoid errors expanding
IMAGE_BOOT_FILES

Signed-off-by: Luke Howard <[email protected]>
  • Loading branch information
lhoward committed Jan 12, 2025
1 parent 6df7e02 commit 1935464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/machine/include/rpi-base.inc
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def make_dtb_boot_files(d):
# destination: bcm2708-rpi-b.dtb
return base

return ' '.join([transform(dtb) for dtb in alldtbs.split(' ') if dtb])
return ' '.join(filter(lambda x: x is not None, [transform(dtb) for dtb in alldtbs.split(' ') if dtb]))

RPI_EXTRA_IMAGE_BOOT_FILES ?= " \
${@bb.utils.contains('RPI_USE_U_BOOT', '1', \
Expand Down

0 comments on commit 1935464

Please sign in to comment.