mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 14:59:55 +00:00
machine_kernel_pr.bbclass: provides MACHINE_KERNEL_PR functionality
Diffing with the OE-Core's kernel.bbclass only difference is setting of machine kernel pr. So lets convert it to a separate class which provides the added functionality and let everyone use kernel.bbclass from kernel It needs the dependent layers to inherit this class in addition to kernel.bbclass. After dependent layers are updated we can remove meta-oe copy of kernel.bbclass, it leaves up with one less conflict with OE-Core. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
python __anonymous () {
|
||||
|
||||
machine_kernel_pr = d.getVar('MACHINE_KERNEL_PR', True)
|
||||
|
||||
if machine_kernel_pr:
|
||||
d.setVar('PR', machine_kernel_pr)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user