blob: e75f556bab78f9dd0918ee7edab519f3459773c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# This include is used to setup default QEMU and qemuboot config for meta-xilinx
# machines.
PREFERRED_PROVIDER_qemu-native = "qemu-xilinx-native"
PREFERRED_PROVIDER_qemu-system-native = "qemu-xilinx-system-native"
PREFERRED_PROVIDER_nativesdk-qemu = "nativesdk-qemu-xilinx"
# enable the overrides for the context of the conf only
MACHINEOVERRIDES =. "qemuboot-xilinx:"
# depend on qemu-helper-native, which will depend on QEMU
EXTRA_IMAGEDEPENDS += "qemu-devicetrees-native qemu-system-native qemu-helper-native:do_addto_recipe_sysroot"
# Use the xilinx specific version for these users
IMAGE_CLASSES += "qemuboot-xilinx"
# As of Yocto Project nanbield, if a -serial is pass in QB_OPT_APPEND the
# runqemu may add additional null entries or simply skip further setup.
#
# To help us be able to adjust for this behavior add a special
# QB_XILINX_SERIAL that will allow us to define serial ports for qemu
# emulated boards that may not match the standard Linux behavior.
#
QB_XILINX_SERIAL ??= ""
QB_OPT_APPEND += "${QB_XILINX_SERIAL} -nodefaults"
|