diff options
author | Herve Jourdain <herve.jourdain@neuf.fr> | 2016-05-31 19:58:59 +0800 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2016-06-15 00:50:57 +0100 |
commit | 8a21c1dda6150ae2596f3932ffbc6cb317ebcdf8 (patch) | |
tree | 2d92fac3be138efd4e516f62ce5840bf5fd5c8b3 | |
parent | 0dbf569173178810c17c6fe1a2e1b29b716ce90f (diff) | |
download | meta-raspberrypi-8a21c1dda6150ae2596f3932ffbc6cb317ebcdf8.tar.gz |
linux-raspberrypi.inc: KERNEL_OUTPUT has been removed in kernel.bbclass
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
-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 |