mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-05 05:15:25 +02:00
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:
parent
799c5a90b7
commit
8104728436
3
classes/meta-virt-depreciated-warning.bbclass
Normal file
3
classes/meta-virt-depreciated-warning.bbclass
Normal file
|
@ -0,0 +1,3 @@
|
|||
do_compile:append() {
|
||||
bbwarn "${PN} is depreciated and should not be used, it will be removed in the future"
|
||||
}
|
Loading…
Reference in New Issue
Block a user