mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
linux-raspberrypi: Make sure we have initramfs image before running mkknlimg
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
This commit is contained in:
parent
9675f8f09a
commit
e9de6d816d
|
@ -66,12 +66,14 @@ do_rpiboot_mkimage() {
|
|||
}
|
||||
|
||||
do_bundle_initramfs_append() {
|
||||
if [ ! -z "${INITRAMFS_IMAGE}" -a x"${INITRAMFS_IMAGE_BUNDLE}" = x1 ]; then
|
||||
if test "x${KERNEL_IMAGETYPE}" != "xuImage" ; then
|
||||
if test -n "${KERNEL_DEVICETREE}"; then
|
||||
# Add RPi bootloader trailer to kernel image to enable DeviceTree support
|
||||
${STAGING_LIBEXECDIR_NATIVE}/mkknlimg --dtok ${KERNEL_OUTPUT}.initramfs ${KERNEL_OUTPUT}.initramfs
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
addtask rpiboot_mkimage before do_install after do_compile
|
||||
|
|
Loading…
Reference in New Issue
Block a user