mirror of
https://git.yoctoproject.org/poky
synced 2026-04-09 20:02:21 +02:00
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 master rev: 6e57a3231fb29f869d476b8511d6f4393f82651b)
(From OE-Core rev: 54a7691a3efce3d7a154233345b5f6b161fd71bf)
Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a21415db4e
commit
28be9becfb
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user