mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-12 18:39:30 +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:
parent
b64269b221
commit
d94c80615c
8
meta-oe/classes/machine_kernel_pr.bbclass
Normal file
8
meta-oe/classes/machine_kernel_pr.bbclass
Normal file
@ -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)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user