diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-02-28 14:12:55 +0000 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-03-15 17:17:19 +0000 |
commit | 81047284368dd905f0db16b4182e42a22a70ba26 (patch) | |
tree | 44f07d4b4b1837ed51b65d4f331643e24ece6ba6 | |
parent | 799c5a90b7b4d673009ac44cf017bd725bf5adbd (diff) | |
download | meta-virtualization-81047284368dd905f0db16b4182e42a22a70ba26.tar.gz |
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 <bruce.ashfield@gmail.com>
-rw-r--r-- | classes/meta-virt-depreciated-warning.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ | |||
1 | do_compile:append() { | ||
2 | bbwarn "${PN} is depreciated and should not be used, it will be removed in the future" | ||
3 | } | ||