mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2025-08-29 15:22:01 +02:00
fix handling KERNEL_DEVICETREE with allwinner/ prefix
Since linux 6.5, .dts files live in vendor subdirs. Fix all `KERNEL_DEVICETREE` definitions to contain the `allwinner` subdir as prefix and drop code that previously added the prefix on demand. On the other hand, drop the prefix for `BOOT_IMAGE_FILES`, which searches the .dtb within `DEPLOY_DIR`. Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
This commit is contained in:
@@ -40,7 +40,7 @@ SUNXI_FEX_FILE ?= " "
|
||||
SUNXI_BOOT_SPACE ?= "40"
|
||||
IMAGE_BOOT_FILES ?= "${KERNEL_IMAGETYPE} boot.scr"
|
||||
# ship fex file for sunxi kernel, devicetree file for mainline kernel
|
||||
IMAGE_BOOT_FILES += "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/kernel', 'linux-sunxi', '${SUNXI_FEX_FILE}', '${KERNEL_DEVICETREE}', d)}"
|
||||
IMAGE_BOOT_FILES += "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/kernel', 'linux-sunxi', '${SUNXI_FEX_FILE}', d.getVar('KERNEL_DEVICETREE', '').split('/')[-1], d)}"
|
||||
WKS_FILES ?= "sunxi-sdcard-image.wks.in"
|
||||
WKS_FILE_DEPENDS ?= "virtual/kernel u-boot"
|
||||
# in case of sunxi kernel, sunxi-board-fex must be built prior wic image assembly
|
||||
|
Reference in New Issue
Block a user