mirror of
git://git.yoctoproject.org/meta-rockchip.git
synced 2025-07-05 13:14:48 +02:00
rockchip-extlinux.inc: handle multiple DTs in KERNEL_DEVICETREE
KERNEL_DEVICETREE may contain more than one DTB, the first one being the default one. Therefore, let's split on space first, to get the first DTB before stripping the directory name from it. This doesn't add support for creating multiple labels for each DTB in KERNEL_DEVICETREE. Reviewed-by: Trevor Woerner <twoerner@gmail.com> Fixes:3b51866f22
("remove /boot partition") Fixes:13316b7968
("KERNEL_DEVICETREE: 32-bit re-org") Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
This commit is contained in:
parent
b34ffb5381
commit
d80fa46c42
|
@ -9,7 +9,7 @@
|
|||
# $UBOOT_EXTLINUX_FDTDIR/rockchip/$KERNEL_DEVICETREE but rather at
|
||||
# $UBOOT_EXTLINUX_FDTDIR/$KERNEL_DEVICETREE therefore we need to strip off
|
||||
# the 'rockchip/' part for extlinux non-fitImage builds
|
||||
NONFITDT ?= "${@d.getVar('KERNEL_DEVICETREE').split('/')[1]}"
|
||||
NONFITDT ?= "${@d.getVar('KERNEL_DEVICETREE').split()[0].split('/')[1]}"
|
||||
|
||||
UBOOT_EXTLINUX ?= "1"
|
||||
UBOOT_EXTLINUX_ROOT ?= "root=PARTLABEL=rootfsA"
|
||||
|
|
Loading…
Reference in New Issue
Block a user