Skip to content

Commit aafd2f4

Browse files
committed
rpi-base: filter None values from DTB boot files
Filter None values from DTB boot files, to avoid errors expanding IMAGE_BOOT_FILES Signed-off-by: Luke Howard <lukeh@padl.com>
1 parent 6df7e02 commit aafd2f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conf/machine/include/rpi-base.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def make_dtb_boot_files(d):
146146
# destination: bcm2708-rpi-b.dtb
147147
return base
148148

149-
return ' '.join([transform(dtb) for dtb in alldtbs.split(' ') if dtb])
149+
return ' '.join(x for x in (transform(dtb) for dtb in alldtbs.split(' ') if dtb) if x is not None)
150150

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

0 commit comments

Comments
 (0)