From 1cadf7c760ebf9c467e516e63ed6d2653bd1f13e Mon Sep 17 00:00:00 2001 From: Christian Kohn Date: Mon, 11 Nov 2024 18:37:43 -0800 Subject: dfx_user_dts: Simplify compatible machine logic COMPATIBLE_MACHINE and PACKAGE_ARCH defaults are already set as part of the devicetree class which this class inherits, therefore remove those entries. Use COMPATIBLE_HOST instead of COMPATIBLE_MACHINE to disallow microblaze builds. Signed-off-by: Christian Kohn Signed-off-by: Mark Hatle --- meta-xilinx-core/classes-recipe/dfx_user_dts.bbclass | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/meta-xilinx-core/classes-recipe/dfx_user_dts.bbclass b/meta-xilinx-core/classes-recipe/dfx_user_dts.bbclass index d4a01048..6cecf14d 100644 --- a/meta-xilinx-core/classes-recipe/dfx_user_dts.bbclass +++ b/meta-xilinx-core/classes-recipe/dfx_user_dts.bbclass @@ -11,13 +11,8 @@ inherit devicetree DEPENDS = "dtc-native bootgen-native" -# recipes that inherit from this class need to use an appropriate machine -# override for COMPATIBLE_MACHINE to build successfully; don't allow building -# for microblaze MACHINE -COMPATIBLE_MACHINE ?= "^$" -COMPATIBLE_MACHINE:microblaze = "^$" - -PACKAGE_ARCH = "${MACHINE_ARCH}" +# Don't allow building for microblaze architectures +COMPATIBLE_HOST:microblaze = "null" PROVIDES = "" -- cgit v1.2.3-54-g00ecf