mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-12-26 04:58:22 +01:00
linux-mainline: Add "allwinner" prefix only if not available
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
This commit is contained in:
parent
cd1031613f
commit
cc1de9f039
@ -19,8 +19,9 @@ python() {
|
|||||||
major, minor = kernel_version()
|
major, minor = kernel_version()
|
||||||
if major >= 6 and minor >= 5:
|
if major >= 6 and minor >= 5:
|
||||||
dt = d.getVar('KERNEL_DEVICETREE', True)
|
dt = d.getVar('KERNEL_DEVICETREE', True)
|
||||||
dt = "allwinner/{0}".format(dt)
|
if not "allwinner" in dt:
|
||||||
d.setVar('KERNEL_DEVICETREE', dt)
|
dt = "allwinner/{0}".format(dt)
|
||||||
|
d.setVar('KERNEL_DEVICETREE', dt)
|
||||||
d.setVar('KERNEL_DTB_PREFIX', "1")
|
d.setVar('KERNEL_DTB_PREFIX', "1")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user