From 8a21c1dda6150ae2596f3932ffbc6cb317ebcdf8 Mon Sep 17 00:00:00 2001 From: Herve Jourdain Date: Tue, 31 May 2016 19:58:59 +0800 Subject: linux-raspberrypi.inc: KERNEL_OUTPUT has been removed in kernel.bbclass Signed-off-by: Herve Jourdain --- recipes-kernel/linux/linux-raspberrypi.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc index 4799c74..6133b02 100644 --- a/recipes-kernel/linux/linux-raspberrypi.inc +++ b/recipes-kernel/linux/linux-raspberrypi.inc @@ -66,7 +66,9 @@ do_rpiboot_mkimage() { 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_BINDIR_NATIVE}/mkknlimg --dtok ${KERNEL_OUTPUT} ${KERNEL_OUTPUT} + for type in ${KERNEL_IMAGETYPES} ; do + ${STAGING_BINDIR_NATIVE}/mkknlimg --dtok ${KERNEL_OUTPUT_DIR}/$type ${KERNEL_OUTPUT_DIR}/$type + done fi fi } @@ -76,7 +78,9 @@ do_bundle_initramfs_append() { 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_BINDIR_NATIVE}/mkknlimg --dtok ${KERNEL_OUTPUT}.initramfs ${KERNEL_OUTPUT}.initramfs + for type in ${KERNEL_IMAGETYPES} ; do + ${STAGING_BINDIR_NATIVE}/mkknlimg --dtok ${KERNEL_OUTPUT_DIR}/$type.initramfs ${KERNEL_OUTPUT_DIR}/$type.initramfs + done fi fi fi -- cgit v1.2.3-54-g00ecf