diff options
author | Tomas Frydrych <tomas@sleepfive.com> | 2013-05-03 13:18:11 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-03 16:19:20 +0100 |
commit | bd35213554002155b6d6f629c27c28e3e01a0643 (patch) | |
tree | 7c001c4f5530c0212f04323f2b46acd0be97a697 /meta/classes | |
parent | db921312019c94b3fb8381bf3824befc9108336a (diff) | |
download | poky-bd35213554002155b6d6f629c27c28e3e01a0643.tar.gz |
image_types: fix default location of kernel when generating elf images
Generation of elf images fails because kernel images are no longer staged under
${STAGING_DIR_HOST}/kernel, but rather ${STAGING_DIR_HOST}/usr/src/kernel. This
patch fixes the path to point to the correct location.
(From OE-Core rev: 6e57a3231fb29f869d476b8511d6f4393f82651b)
Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image_types.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 98d31f5bfb..94837ae0a8 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
@@ -185,7 +185,7 @@ IMAGE_CMD_cpio () { | |||
185 | cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio) | 185 | cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio) |
186 | } | 186 | } |
187 | 187 | ||
188 | ELF_KERNEL ?= "${STAGING_DIR_HOST}/kernel/${KERNEL_IMAGETYPE}" | 188 | ELF_KERNEL ?= "${STAGING_DIR_HOST}/usr/src/kernel/${KERNEL_IMAGETYPE}" |
189 | ELF_APPEND ?= "ramdisk_size=32768 root=/dev/ram0 rw console=" | 189 | ELF_APPEND ?= "ramdisk_size=32768 root=/dev/ram0 rw console=" |
190 | 190 | ||
191 | IMAGE_CMD_elf () { | 191 | IMAGE_CMD_elf () { |