diff options
Diffstat (limited to 'meta-xilinx/meta-xilinx-bsp/conf/machine')
3 files changed, 16 insertions, 0 deletions
diff --git a/meta-xilinx/meta-xilinx-bsp/conf/machine/include/xilinx-board.inc b/meta-xilinx/meta-xilinx-bsp/conf/machine/include/xilinx-board.inc new file mode 100644 index 000000000..ae209fd6a --- /dev/null +++ b/meta-xilinx/meta-xilinx-bsp/conf/machine/include/xilinx-board.inc @@ -0,0 +1,12 @@ +BOARD ??= "" +BOARD_VARIANT ??= "" + +MACHINEOVERRIDES =. "${@['', '${BOARD}:']['${BOARD}' != '']}" +MACHINEOVERRIDES =. "${@['', '${BOARD}${BOARD_VARIANT}:']['${BOARD_VARIANT}' != '']}" + + +SOC_BOARD_ARCH ?= "${BOARD}" +SOC_BOARDVARIANT_ARCH ?= "${BOARD}${BOARD_VARIANT}" + +PACKAGE_EXTRA_ARCHS_append = " ${SOC_BOARD_ARCH}" +PACKAGE_EXTRA_ARCHS_append = "${@['', ' ${SOC_BOARDVARIANT_ARCH}'][d.getVar('SOC_BOARDVARIANT_ARCH') != d.getVar('SOC_BOARD_ARCH')]}" diff --git a/meta-xilinx/meta-xilinx-bsp/conf/machine/versal-generic.conf b/meta-xilinx/meta-xilinx-bsp/conf/machine/versal-generic.conf index 9bf3593d4..a1a894ec4 100644 --- a/meta-xilinx/meta-xilinx-bsp/conf/machine/versal-generic.conf +++ b/meta-xilinx/meta-xilinx-bsp/conf/machine/versal-generic.conf @@ -14,6 +14,8 @@ UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" SERIAL_CONSOLES ?= "115200;ttyAMA0" +MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" + # Default SD image build onfiguration, use qemu-sd to pad IMAGE_CLASSES += "image-types-xilinx-qemu" IMAGE_FSTYPES += "wic.qemu-sd" diff --git a/meta-xilinx/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf b/meta-xilinx/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf index 7aa01986e..7e8316f50 100644 --- a/meta-xilinx/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf +++ b/meta-xilinx/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf @@ -23,6 +23,8 @@ WKS_FILES ?= "sdimage-bootpart.wks" SERIAL_CONSOLES ?= "115200;ttyPS0" +MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" + # We need a generic one that works with QEMU... HDF_MACHINE = "zcu102-zynqmp" KERNEL_DEVICETREE = "xilinx/zynqmp-zcu102-rev1.0.dtb" |