mirror of
git://git.yoctoproject.org/meta-raspberrypi
synced 2026-09-16 12:02:46 +00:00
rpi-base.inc: handle empty/undefined KERNEL_DEVICETREE
This patch is based on an analog patch from Christopher Boyd <xpboyd@gmail.com> committed at meta-freescale.
(see 954d7a7d7a)
Signed-off-by: Oliver Lang <quantenkeks@gmail.com>
This commit is contained in:
parent
fc5f80a47e
commit
722c51647c
@ -119,6 +119,10 @@ def make_dtb_boot_files(d):
|
|||||||
# KERNEL_DEVICETREE.
|
# KERNEL_DEVICETREE.
|
||||||
alldtbs = d.getVar('KERNEL_DEVICETREE')
|
alldtbs = d.getVar('KERNEL_DEVICETREE')
|
||||||
|
|
||||||
|
# DTBs may be built out of kernel with devicetree.bbclass
|
||||||
|
if not alldtbs:
|
||||||
|
return ''
|
||||||
|
|
||||||
def transform(dtb):
|
def transform(dtb):
|
||||||
base = os.path.basename(dtb)
|
base = os.path.basename(dtb)
|
||||||
if dtb.endswith('dtbo') or base == 'overlay_map.dtb':
|
if dtb.endswith('dtbo') or base == 'overlay_map.dtb':
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user