rpi-base.inc: Split IMAGE_BOOT_FILES for kernel image
The kernel image deployment is now defined in IMAGE_BOOT_FILES as a
separate variable: RPI_EXTRA_IMAGE_BOOT_FILES. This allows a custom
kernel image deployment by redefining this variable when needed.
@@ -134,13 +134,16 @@ def make_dtb_boot_files(d):
return ' '.join([transform(dtb) for dtb in alldtbs.split(' ') if dtb])
-
-IMAGE_BOOT_FILES ?= "${BOOTFILES_DIR_NAME}/* \
- ${@make_dtb_boot_files(d)} \
+RPI_EXTRA_IMAGE_BOOT_FILES ?= " \
${@bb.utils.contains('RPI_USE_U_BOOT', '1', \
'${KERNEL_IMAGETYPE} u-boot.bin;${SDIMG_KERNELIMAGE} boot.scr', \
'${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}', d)} \
"
+
+IMAGE_BOOT_FILES ?= "${BOOTFILES_DIR_NAME}/* \
+ ${@make_dtb_boot_files(d)} \
+ ${RPI_EXTRA_IMAGE_BOOT_FILES} \
+ "
do_image_wic[depends] += " \
rpi-bootfiles:do_deploy \
${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'u-boot:do_deploy', '',d)} \
