summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Frydrych <tomas@sleepfive.com>2013-05-03 13:18:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-03 16:19:20 +0100
commitbd35213554002155b6d6f629c27c28e3e01a0643 (patch)
tree7c001c4f5530c0212f04323f2b46acd0be97a697
parentdb921312019c94b3fb8381bf3824befc9108336a (diff)
downloadpoky-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>
-rw-r--r--meta/classes/image_types.bbclass2
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
188ELF_KERNEL ?= "${STAGING_DIR_HOST}/kernel/${KERNEL_IMAGETYPE}" 188ELF_KERNEL ?= "${STAGING_DIR_HOST}/usr/src/kernel/${KERNEL_IMAGETYPE}"
189ELF_APPEND ?= "ramdisk_size=32768 root=/dev/ram0 rw console=" 189ELF_APPEND ?= "ramdisk_size=32768 root=/dev/ram0 rw console="
190 190
191IMAGE_CMD_elf () { 191IMAGE_CMD_elf () {