diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2022-07-28 09:29:44 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2022-07-28 09:29:44 -0700 |
| commit | 603cfc87fb17c9cc0bd260bbaee46103c73ea76a (patch) | |
| tree | b518a73d4c75cf20fa6958dd657ba47425a0a661 /meta-xilinx-core/classes | |
| parent | 2b2f635369366e009acb80bf03d768bc06edb0f8 (diff) | |
| download | meta-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.bbclass | 10 |
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" | |||
| 10 | QB_MACHINE_XILINX:arm = "-M arm-generic-fdt-7series" | 10 | QB_MACHINE_XILINX:arm = "-M arm-generic-fdt-7series" |
| 11 | QB_MACHINE_XILINX:microblaze = "-M microblaze-fdt-plnx" | 11 | QB_MACHINE_XILINX:microblaze = "-M microblaze-fdt-plnx" |
| 12 | 12 | ||
| 13 | QB_SYSTEM_NAME = "${@qemu_target_binary(d)}" | 13 | QB_SYSTEM_NAME ?= "${@qemu_target_binary(d)}" |
| 14 | QB_DEFAULT_FSTYPE = "${@qemu_rootfs_params(d,'fstype')}" | 14 | QB_DEFAULT_FSTYPE ?= "${@qemu_rootfs_params(d,'fstype')}" |
| 15 | QB_ROOTFS = "${@qemu_rootfs_params(d,'rootfs')}" | 15 | QB_ROOTFS ?= "${@qemu_rootfs_params(d,'rootfs')}" |
| 16 | QB_ROOTFS_OPT = "${@qemu_rootfs_params(d,'rootfs-opt')}" | 16 | QB_ROOTFS_OPT ?= "${@qemu_rootfs_params(d,'rootfs-opt')}" |
| 17 | QB_DTB = "${@qemu_default_dtb(d)}" | 17 | QB_DTB ?= "${@qemu_default_dtb(d)}" |
| 18 | 18 | ||
| 19 | # defaults | 19 | # defaults |
| 20 | QB_DEFAULT_KERNEL ?= "none" | 20 | QB_DEFAULT_KERNEL ?= "none" |
