From 81047284368dd905f0db16b4182e42a22a70ba26 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Wed, 28 Feb 2024 14:12:55 +0000 Subject: [PATCH] classes: add depreciated warning bbclass Adding a simple bbclass that when inherited appends do_compile to emit a warning that the recipe will be removed in the future. Signed-off-by: Bruce Ashfield --- classes/meta-virt-depreciated-warning.bbclass | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 classes/meta-virt-depreciated-warning.bbclass diff --git a/classes/meta-virt-depreciated-warning.bbclass b/classes/meta-virt-depreciated-warning.bbclass new file mode 100644 index 00000000..97495bbf --- /dev/null +++ b/classes/meta-virt-depreciated-warning.bbclass @@ -0,0 +1,3 @@ +do_compile:append() { + bbwarn "${PN} is depreciated and should not be used, it will be removed in the future" +}