From 4f3edb6da405ffff957d6f194bc7db7bdd9f1463 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Mon, 24 Feb 2020 12:14:48 -0800 Subject: xlnx-compatible-os.bbclass: Class to allow recipes to list OS compatibility Following the example of base.bbclass in OE-Core, a new COMPATIBLE_OS variable is defined. Similar to COMPATIBLE_MACHINE, it is a regex that can be used to declare TARGET_OS string compatibility on a per-recipe basis. Either the distro configuration or the recipes themselves will need to inherit this class. By default the class assumes we're building a Linux based system, and thus any recipe who has not declared compatibility is compatible with Linux. The default compatible field was copied from bitbake.conf to ensure there are no surprised. Additionally, enable the usage of this class throughout meta-xilinx-standalone layer. Signed-off-by: Mark Hatle --- meta-xilinx-standalone/recipes-kernel/linux/linux-dummy.bbappend | 1 + 1 file changed, 1 insertion(+) create mode 100644 meta-xilinx-standalone/recipes-kernel/linux/linux-dummy.bbappend (limited to 'meta-xilinx-standalone/recipes-kernel') diff --git a/meta-xilinx-standalone/recipes-kernel/linux/linux-dummy.bbappend b/meta-xilinx-standalone/recipes-kernel/linux/linux-dummy.bbappend new file mode 100644 index 00000000..0efa796c --- /dev/null +++ b/meta-xilinx-standalone/recipes-kernel/linux/linux-dummy.bbappend @@ -0,0 +1 @@ +COMPATIBLE_OS_xilinx-standalone = "${TARGET_OS}" -- cgit v1.2.3-54-g00ecf