summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kohn <chris.kohn@amd.com>2024-11-11 18:37:43 -0800
committerMark Hatle <mark.hatle@amd.com>2025-03-30 11:13:55 -0600
commit1cadf7c760ebf9c467e516e63ed6d2653bd1f13e (patch)
tree46ebe9de4ac82f204b00b0016ae464bfe34bcc33
parent2ad9dd522eef72bc5cb2d8930251b6998ce1494a (diff)
downloadmeta-xilinx-1cadf7c760ebf9c467e516e63ed6d2653bd1f13e.tar.gz
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 <chris.kohn@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--meta-xilinx-core/classes-recipe/dfx_user_dts.bbclass9
1 files 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
11 11
12DEPENDS = "dtc-native bootgen-native" 12DEPENDS = "dtc-native bootgen-native"
13 13
14# recipes that inherit from this class need to use an appropriate machine 14# Don't allow building for microblaze architectures
15# override for COMPATIBLE_MACHINE to build successfully; don't allow building 15COMPATIBLE_HOST:microblaze = "null"
16# for microblaze MACHINE
17COMPATIBLE_MACHINE ?= "^$"
18COMPATIBLE_MACHINE:microblaze = "^$"
19
20PACKAGE_ARCH = "${MACHINE_ARCH}"
21 16
22PROVIDES = "" 17PROVIDES = ""
23 18