summaryrefslogtreecommitdiff
path: root/meta/classes
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:13:27 +0100
commit6e57a3231fb29f869d476b8511d6f4393f82651b (patch)
tree5ba205e1e3c5acffbf1327da3ca79e766ab40b04 /meta/classes
parent8505008c115efb54d18e5f25441c7a938a32ffaf (diff)
downloadopenembedded-core-6e57a3231fb29f869d476b8511d6f4393f82651b.tar.gz
openembedded-core-6e57a3231fb29f869d476b8511d6f4393f82651b.tar.bz2
openembedded-core-6e57a3231fb29f869d476b8511d6f4393f82651b.zip
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. 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.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 () {
cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio)
}
-ELF_KERNEL ?= "${STAGING_DIR_HOST}/kernel/${KERNEL_IMAGETYPE}"
+ELF_KERNEL ?= "${STAGING_DIR_HOST}/usr/src/kernel/${KERNEL_IMAGETYPE}"
ELF_APPEND ?= "ramdisk_size=32768 root=/dev/ram0 rw console="
IMAGE_CMD_elf () {