[3/3] arm-bsp/corstone1000-*-image: mark these as corstone1000-specific

Message ID 20220504141254.785384-3-ross.burton@arm.com
State New
Headers show
Series [1/3] arm-toolchain/arm-binary-toolchain: ensure toolchains don't provide any system libraries | expand

Commit Message

Ross Burton May 4, 2022, 2:12 p.m. UTC
We don't want world builds failing as they try to build these for machines
other than Corstone 1000.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta-arm-bsp/recipes-bsp/images/corstone1000-image.bb           | 2 ++
 meta-arm-bsp/recipes-bsp/images/corstone1000-initramfs-image.bb | 2 ++
 2 files changed, 4 insertions(+)

Patch

diff --git a/meta-arm-bsp/recipes-bsp/images/corstone1000-image.bb b/meta-arm-bsp/recipes-bsp/images/corstone1000-image.bb
index d91d4578..ad5ec958 100644
--- a/meta-arm-bsp/recipes-bsp/images/corstone1000-image.bb
+++ b/meta-arm-bsp/recipes-bsp/images/corstone1000-image.bb
@@ -3,6 +3,8 @@  DESCRIPTION = "This is the main image which is the container of all the binaries
                generated for the Corstone1000 platform."
 LICENSE = "MIT"
 
+COMPATIBLE_MACHINE = "corstone1000"
+
 inherit image
 inherit wic_nopt
 
diff --git a/meta-arm-bsp/recipes-bsp/images/corstone1000-initramfs-image.bb b/meta-arm-bsp/recipes-bsp/images/corstone1000-initramfs-image.bb
index a11de1e2..b778a008 100644
--- a/meta-arm-bsp/recipes-bsp/images/corstone1000-initramfs-image.bb
+++ b/meta-arm-bsp/recipes-bsp/images/corstone1000-initramfs-image.bb
@@ -3,6 +3,8 @@  DESCRIPTION = "This is the main Linux image which includes an initramfs kernel/r
 
 LICENSE = "MIT"
 
+COMPATIBLE_MACHINE = "corstone1000"
+
 IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
 
 inherit core-image