summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/machine/include/utilities.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/machine/include/utilities.inc b/conf/machine/include/utilities.inc
index 164d77f4..e9695bde 100644
--- a/conf/machine/include/utilities.inc
+++ b/conf/machine/include/utilities.inc
@@ -6,6 +6,11 @@ def make_dtb_boot_files(d):
6 # Use only the basename for dtb files: 6 # Use only the basename for dtb files:
7 alldtbs = d.getVar('KERNEL_DEVICETREE') 7 alldtbs = d.getVar('KERNEL_DEVICETREE')
8 8
9
10 # DTBs may be built out of kernel with devicetree.bbclass
11 if not alldtbs:
12 return ''
13
9 def transform(dtb): 14 def transform(dtb):
10 if not (dtb.endswith('dtb') or dtb.endswith('dtbo')): 15 if not (dtb.endswith('dtb') or dtb.endswith('dtbo')):
11 # eg: whatever/bcm2708-rpi-b.dtb has: 16 # eg: whatever/bcm2708-rpi-b.dtb has: