diff options
Diffstat (limited to 'meta-unit-distro/conf/distro/include/rpi-extra-image-boot-files-initramfs.conf')
| -rw-r--r-- | meta-unit-distro/conf/distro/include/rpi-extra-image-boot-files-initramfs.conf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-unit-distro/conf/distro/include/rpi-extra-image-boot-files-initramfs.conf b/meta-unit-distro/conf/distro/include/rpi-extra-image-boot-files-initramfs.conf new file mode 100644 index 0000000..0715f4b --- /dev/null +++ b/meta-unit-distro/conf/distro/include/rpi-extra-image-boot-files-initramfs.conf @@ -0,0 +1,12 @@ +# Similar to what is found in meta-raspberrypi/conf/machine/include/rpi-base.inc, +# but will use kernel image with bundled initramfs if appropriate variables set +RPI_EXTRA_IMAGE_BOOT_FILES = " \ + ${@bb.utils.contains('RPI_USE_U_BOOT', '1', \ + '%s;Image u-boot.bin;%s boot.scr' % \ + (('${KERNEL_IMAGETYPE}-${INITRAMFS_LINK_NAME}.bin' if (d.getVar('INITRAMFS_IMAGE') and d.getVar('INITRAMFS_IMAGE_BUNDLE') == '1') else '${KERNEL_IMAGETYPE}'), \ + '${SDIMG_KERNELIMAGE}'), \ + '%s;%s' % \ + (('${KERNEL_IMAGETYPE}-${INITRAMFS_LINK_NAME}.bin' if (d.getVar('INITRAMFS_IMAGE') and d.getVar('INITRAMFS_IMAGE_BUNDLE') == '1') else '${KERNEL_IMAGETYPE}'), \ + '${SDIMG_KERNELIMAGE}'), \ + d)} \ +" |
