summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/classes
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2022-07-28 09:29:44 -0700
committerMark Hatle <mark.hatle@amd.com>2022-07-28 09:29:44 -0700
commit603cfc87fb17c9cc0bd260bbaee46103c73ea76a (patch)
treeb518a73d4c75cf20fa6958dd657ba47425a0a661 /meta-xilinx-core/classes
parent2b2f635369366e009acb80bf03d768bc06edb0f8 (diff)
downloadmeta-xilinx-603cfc87fb17c9cc0bd260bbaee46103c73ea76a.tar.gz
qemuboot-xilinx.bbclass: Defaults should be ?= as classes load after conf
The conf file(s) should specify board specific defaults, but if left not set should fall back to what is implemented here. Since the load order is: machine.conf -> *-generic.conf -> xilinx-machine-qemu.conf ---| |--> inherits -> qemuboot-xilinx.bbclass Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/classes')
-rw-r--r--meta-xilinx-core/classes/qemuboot-xilinx.bbclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta-xilinx-core/classes/qemuboot-xilinx.bbclass b/meta-xilinx-core/classes/qemuboot-xilinx.bbclass
index 0f7c75ed..58ade1b9 100644
--- a/meta-xilinx-core/classes/qemuboot-xilinx.bbclass
+++ b/meta-xilinx-core/classes/qemuboot-xilinx.bbclass
@@ -10,11 +10,11 @@ QB_MACHINE_XILINX:aarch64 = "-machine arm-generic-fdt"
10QB_MACHINE_XILINX:arm = "-M arm-generic-fdt-7series" 10QB_MACHINE_XILINX:arm = "-M arm-generic-fdt-7series"
11QB_MACHINE_XILINX:microblaze = "-M microblaze-fdt-plnx" 11QB_MACHINE_XILINX:microblaze = "-M microblaze-fdt-plnx"
12 12
13QB_SYSTEM_NAME = "${@qemu_target_binary(d)}" 13QB_SYSTEM_NAME ?= "${@qemu_target_binary(d)}"
14QB_DEFAULT_FSTYPE = "${@qemu_rootfs_params(d,'fstype')}" 14QB_DEFAULT_FSTYPE ?= "${@qemu_rootfs_params(d,'fstype')}"
15QB_ROOTFS = "${@qemu_rootfs_params(d,'rootfs')}" 15QB_ROOTFS ?= "${@qemu_rootfs_params(d,'rootfs')}"
16QB_ROOTFS_OPT = "${@qemu_rootfs_params(d,'rootfs-opt')}" 16QB_ROOTFS_OPT ?= "${@qemu_rootfs_params(d,'rootfs-opt')}"
17QB_DTB = "${@qemu_default_dtb(d)}" 17QB_DTB ?= "${@qemu_default_dtb(d)}"
18 18
19# defaults 19# defaults
20QB_DEFAULT_KERNEL ?= "none" 20QB_DEFAULT_KERNEL ?= "none"