diff options
| -rw-r--r-- | recipes-kernel/linux/linux-raspberrypi.inc | 8 |
1 files 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() { | |||
| 66 | if test "x${KERNEL_IMAGETYPE}" != "xuImage" ; then | 66 | if test "x${KERNEL_IMAGETYPE}" != "xuImage" ; then |
| 67 | if test -n "${KERNEL_DEVICETREE}"; then | 67 | if test -n "${KERNEL_DEVICETREE}"; then |
| 68 | # Add RPi bootloader trailer to kernel image to enable DeviceTree support | 68 | # Add RPi bootloader trailer to kernel image to enable DeviceTree support |
| 69 | ${STAGING_BINDIR_NATIVE}/mkknlimg --dtok ${KERNEL_OUTPUT} ${KERNEL_OUTPUT} | 69 | for type in ${KERNEL_IMAGETYPES} ; do |
| 70 | ${STAGING_BINDIR_NATIVE}/mkknlimg --dtok ${KERNEL_OUTPUT_DIR}/$type ${KERNEL_OUTPUT_DIR}/$type | ||
| 71 | done | ||
| 70 | fi | 72 | fi |
| 71 | fi | 73 | fi |
| 72 | } | 74 | } |
| @@ -76,7 +78,9 @@ do_bundle_initramfs_append() { | |||
| 76 | if test "x${KERNEL_IMAGETYPE}" != "xuImage" ; then | 78 | if test "x${KERNEL_IMAGETYPE}" != "xuImage" ; then |
| 77 | if test -n "${KERNEL_DEVICETREE}"; then | 79 | if test -n "${KERNEL_DEVICETREE}"; then |
| 78 | # Add RPi bootloader trailer to kernel image to enable DeviceTree support | 80 | # Add RPi bootloader trailer to kernel image to enable DeviceTree support |
| 79 | ${STAGING_BINDIR_NATIVE}/mkknlimg --dtok ${KERNEL_OUTPUT}.initramfs ${KERNEL_OUTPUT}.initramfs | 81 | for type in ${KERNEL_IMAGETYPES} ; do |
| 82 | ${STAGING_BINDIR_NATIVE}/mkknlimg --dtok ${KERNEL_OUTPUT_DIR}/$type.initramfs ${KERNEL_OUTPUT_DIR}/$type.initramfs | ||
| 83 | done | ||
| 80 | fi | 84 | fi |
| 81 | fi | 85 | fi |
| 82 | fi | 86 | fi |
