mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
9 lines
157 B
Plaintext
9 lines
157 B
Plaintext
python __anonymous () {
|
|
|
|
machine_kernel_pr = d.getVar('MACHINE_KERNEL_PR', True)
|
|
|
|
if machine_kernel_pr:
|
|
d.setVar('PR', machine_kernel_pr)
|
|
}
|
|
|