From 603cfc87fb17c9cc0bd260bbaee46103c73ea76a Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Thu, 28 Jul 2022 09:29:44 -0700 Subject: 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 --- meta-xilinx-core/classes/qemuboot-xilinx.bbclass | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'meta-xilinx-core/classes') 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" QB_MACHINE_XILINX:arm = "-M arm-generic-fdt-7series" QB_MACHINE_XILINX:microblaze = "-M microblaze-fdt-plnx" -QB_SYSTEM_NAME = "${@qemu_target_binary(d)}" -QB_DEFAULT_FSTYPE = "${@qemu_rootfs_params(d,'fstype')}" -QB_ROOTFS = "${@qemu_rootfs_params(d,'rootfs')}" -QB_ROOTFS_OPT = "${@qemu_rootfs_params(d,'rootfs-opt')}" -QB_DTB = "${@qemu_default_dtb(d)}" +QB_SYSTEM_NAME ?= "${@qemu_target_binary(d)}" +QB_DEFAULT_FSTYPE ?= "${@qemu_rootfs_params(d,'fstype')}" +QB_ROOTFS ?= "${@qemu_rootfs_params(d,'rootfs')}" +QB_ROOTFS_OPT ?= "${@qemu_rootfs_params(d,'rootfs-opt')}" +QB_DTB ?= "${@qemu_default_dtb(d)}" # defaults QB_DEFAULT_KERNEL ?= "none" -- cgit v1.2.3-54-g00ecf