From: Diego Rondini Date: Thu, 9 May 2019 12:40:13 +0000 (+0000) Subject: utilities.inc: split by any number of whitespaces X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=4d53f874a437096ef2361ff2d8deafd485f50b6a;p=meta-freescale.git utilities.inc: split by any number of whitespaces Split alldtbs by any number of whitespace instead of just one to fix machines with dtbs listed on multiple lines of KERNEL_DEVICETREE variable. Signed-off-by: Diego Rondini --- diff --git a/conf/machine/include/utilities.inc b/conf/machine/include/utilities.inc index e6cfda80..a56fd963 100644 --- a/conf/machine/include/utilities.inc +++ b/conf/machine/include/utilities.inc @@ -13,4 +13,4 @@ def make_dtb_boot_files(d): # destination: bcm2708-rpi-b.dtb return os.path.basename(dtb) - return ' '.join([transform(dtb) for dtb in alldtbs.split(' ') if dtb]) + return ' '.join([transform(dtb) for dtb in alldtbs.split() if dtb])