Skip to content

Commit a5346d5

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 e145dc4 commit a5346d5

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
@@ -161,7 +161,7 @@ def make_dtb_boot_files(d):
161161
# destination: bcm2708-rpi-b.dtb
162162
return base
163163

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

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

0 commit comments

Comments
 (0)