diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image_types.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 3f97ddd448..98b74fd5e5 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
@@ -111,13 +111,14 @@ IMAGE_CMD_cpio () { | |||
111 | fi | 111 | fi |
112 | } | 112 | } |
113 | 113 | ||
114 | ELF_KERNEL ?= "${STAGING_DIR_HOST}/usr/src/kernel/${KERNEL_IMAGETYPE}" | 114 | ELF_KERNEL ?= "${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}" |
115 | ELF_APPEND ?= "ramdisk_size=32768 root=/dev/ram0 rw console=" | 115 | ELF_APPEND ?= "ramdisk_size=32768 root=/dev/ram0 rw console=" |
116 | 116 | ||
117 | IMAGE_CMD_elf () { | 117 | IMAGE_CMD_elf () { |
118 | test -f ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.elf && rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.elf | 118 | test -f ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.elf && rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.elf |
119 | mkelfImage --kernel=${ELF_KERNEL} --initrd=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.cpio.gz --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.elf --append='${ELF_APPEND}' ${EXTRA_IMAGECMD} | 119 | mkelfImage --kernel=${ELF_KERNEL} --initrd=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.cpio.gz --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.elf --append='${ELF_APPEND}' ${EXTRA_IMAGECMD} |
120 | } | 120 | } |
121 | |||
121 | IMAGE_TYPEDEP_elf = "cpio.gz" | 122 | IMAGE_TYPEDEP_elf = "cpio.gz" |
122 | 123 | ||
123 | UBI_VOLNAME ?= "${MACHINE}-rootfs" | 124 | UBI_VOLNAME ?= "${MACHINE}-rootfs" |