]> code.ossystems Code Review - meta-freescale.git/commitdiff
utilities.inc: split by any number of whitespaces
authorDiego Rondini <diego.rondini@kynetics.com>
Thu, 9 May 2019 12:40:13 +0000 (12:40 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 9 May 2019 14:04:41 +0000 (11:04 -0300)
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 <diego.rondini@kynetics.com>
conf/machine/include/utilities.inc

index e6cfda80e1bc8d9d9c037bc3db679d218b28f128..a56fd963681a83cb515f1fd925a00e0afab15d27 100644 (file)
@@ -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])