mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-12-25 12:38: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()
|
||||
if major >= 6 and minor >= 5:
|
||||
dt = d.getVar('KERNEL_DEVICETREE', True)
|
||||
dt = "allwinner/{0}".format(dt)
|
||||
d.setVar('KERNEL_DEVICETREE', dt)
|
||||
if not "allwinner" in dt:
|
||||
dt = "allwinner/{0}".format(dt)
|
||||
d.setVar('KERNEL_DEVICETREE', dt)
|
||||
d.setVar('KERNEL_DTB_PREFIX', "1")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user