summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc')
-rw-r--r--meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc10
1 files changed, 8 insertions, 2 deletions
diff --git a/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc b/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc
index e4c99b8f..153a47fb 100644
--- a/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc
+++ b/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc
@@ -57,12 +57,18 @@ def get_default_image_boot_files(d):
57 if d.getVar("UBOOT_BINARY"): 57 if d.getVar("UBOOT_BINARY"):
58 files.append(d.getVar("UBOOT_BINARY")) 58 files.append(d.getVar("UBOOT_BINARY"))
59 59
60 # device trees (device-tree only), these are first as they are likely desired over the kernel ones
61 if "device-tree" in (d.getVar("MACHINE_ESSENTIAL_EXTRA_RDEPENDS") or ""):
62 files.append("devicetree/*.dtb")
63
64
60 # device trees (kernel only) 65 # device trees (kernel only)
61 if d.getVar("KERNEL_DEVICETREE"): 66 if d.getVar("KERNEL_DEVICETREE"):
62 dtbs = d.getVar("KERNEL_DEVICETREE").split(" ") 67 dtbs = d.getVar("KERNEL_DEVICETREE").split(" ")
63 dtbs = [os.path.basename(d) for d in dtbs] 68 dtbs = [os.path.basename(d) for d in dtbs]
64 if len(dtbs) != 0: 69 for dtb in dtbs:
65 files += [d.getVar("KERNEL_IMAGETYPE") + "-" + dtb for dtb in dtbs] 70 files.append(dtb)
71
66 return " ".join(files) 72 return " ".join(files)
67 73
68XSERVER_EXT ?= "" 74XSERVER_EXT ?= ""