diff options
author | Mark Hatle <mark.hatle@kernel.crashing.org> | 2020-08-14 11:53:19 -0500 |
---|---|---|
committer | Mark Hatle <mark.hatle@kernel.crashing.org> | 2020-08-14 11:58:24 -0500 |
commit | fadd5ff3d0bdd9adcaf77d8f527022af3360c801 (patch) | |
tree | 2836e73fa2bb2d909717f88ec4bc284a7c022712 | |
parent | 276f2a014483170cfbcbf391c6350426e0a19fdc (diff) | |
download | meta-xilinx-fadd5ff3d0bdd9adcaf77d8f527022af3360c801.tar.gz |
qemuboot-xilinx: Allow machine to override defaults
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
-rw-r--r-- | meta-xilinx-bsp/classes/qemuboot-xilinx.bbclass | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/meta-xilinx-bsp/classes/qemuboot-xilinx.bbclass b/meta-xilinx-bsp/classes/qemuboot-xilinx.bbclass index 124454ab..62ecbdf9 100644 --- a/meta-xilinx-bsp/classes/qemuboot-xilinx.bbclass +++ b/meta-xilinx-bsp/classes/qemuboot-xilinx.bbclass | |||
@@ -3,9 +3,12 @@ | |||
3 | OVERRIDES .= ":qemuboot-xilinx" | 3 | OVERRIDES .= ":qemuboot-xilinx" |
4 | 4 | ||
5 | # Default machine targets for Xilinx QEMU (FDT Generic) | 5 | # Default machine targets for Xilinx QEMU (FDT Generic) |
6 | QB_MACHINE_aarch64 = "-machine arm-generic-fdt" | 6 | # Allow QB_MACHINE to be overridden by a BSP config |
7 | QB_MACHINE_arm = "-machine arm-generic-fdt-7series" | 7 | QB_MACHINE ?= "${QB_MACHINE_XILINX}" |
8 | QB_MACHINE_microblaze = "-machine microblaze-generic-fdt-plnx" | 8 | |
9 | QB_MACHINE_XILINX_aarch64 = "-machine arm-generic-fdt" | ||
10 | QB_MACHINE_XILINX_arm = "-machine arm-generic-fdt-7series" | ||
11 | QB_MACHINE_XILINX_microblaze = "-machine microblaze-fdt-plnx" | ||
9 | 12 | ||
10 | # defaults | 13 | # defaults |
11 | QB_DEFAULT_KERNEL ?= "none" | 14 | QB_DEFAULT_KERNEL ?= "none" |