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>
This commit is contained in:
Bruce Ashfield 2024-02-28 14:12:55 +00:00
parent 799c5a90b7
commit 8104728436

View File

@ -0,0 +1,3 @@
do_compile:append() {
bbwarn "${PN} is depreciated and should not be used, it will be removed in the future"
}