summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/conf/bitbake.conf10
1 files changed, 7 insertions, 3 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index e5948e6df8..7bb412a13b 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -249,10 +249,10 @@ IMAGE_ROOTFS = "${TMPDIR}/rootfs"
249IMAGE_BASENAME = "${PN}" 249IMAGE_BASENAME = "${PN}"
250IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}" 250IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}"
251IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}" 251IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}"
252
252IMAGE_CMD = "" 253IMAGE_CMD = ""
253IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \ 254IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 ${EXTRA_IMAGECMD}"
254 --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \ 255IMAGE_CMD_yaffs2 = "mkyaffs2image 1 ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.yaffs2 ${EXTRA_IMAGECMD}"
255 ${EXTRA_IMAGECMD}"
256IMAGE_CMD_cramfs = "mkcramfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cramfs ${EXTRA_IMAGECMD}" 256IMAGE_CMD_cramfs = "mkcramfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cramfs ${EXTRA_IMAGECMD}"
257IMAGE_CMD_ext2 = "genext2fs -b ${IMAGE_ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}" 257IMAGE_CMD_ext2 = "genext2fs -b ${IMAGE_ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}"
258IMAGE_CMD_ext2.gz = "rm -rf ${DEPLOY_DIR_IMAGE}/tmp.gz && mkdir ${DEPLOY_DIR_IMAGE}/tmp.gz; genext2fs -b ${IMAGE_ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; gzip -f -9 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.gz; rmdir ${DEPLOY_DIR_IMAGE}/tmp.gz" 258IMAGE_CMD_ext2.gz = "rm -rf ${DEPLOY_DIR_IMAGE}/tmp.gz && mkdir ${DEPLOY_DIR_IMAGE}/tmp.gz; genext2fs -b ${IMAGE_ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; gzip -f -9 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.gz; rmdir ${DEPLOY_DIR_IMAGE}/tmp.gz"
@@ -265,13 +265,16 @@ IMAGE_CMD_tar.gz = "cd ${IMAGE_ROOTFS} && tar -zcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_
265IMAGE_CMD_tar.bz2 = "cd ${IMAGE_ROOTFS} && tar -jcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 ." 265IMAGE_CMD_tar.bz2 = "cd ${IMAGE_ROOTFS} && tar -jcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 ."
266IMAGE_CMD_cpio = "cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio)" 266IMAGE_CMD_cpio = "cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio)"
267IMAGE_CMD_cpio.gz = "cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz)" 267IMAGE_CMD_cpio.gz = "cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz)"
268
268EXTRA_IMAGECMD = "" 269EXTRA_IMAGECMD = ""
269EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x40000" 270EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x40000"
271EXTRA_IMAGECMD_yaffs2 = ""
270EXTRA_IMAGECMD_squashfs = "" 272EXTRA_IMAGECMD_squashfs = ""
271EXTRA_IMAGECMD_squashfs-lzma = "" 273EXTRA_IMAGECMD_squashfs-lzma = ""
272 274
273IMAGE_DEPENDS = "" 275IMAGE_DEPENDS = ""
274IMAGE_DEPENDS_jffs2 = "mtd-utils-native" 276IMAGE_DEPENDS_jffs2 = "mtd-utils-native"
277IMAGE_DEPENDS_yaffs2 = "yaffs2-utils-native"
275IMAGE_DEPENDS_cramfs = "cramfs-native" 278IMAGE_DEPENDS_cramfs = "cramfs-native"
276IMAGE_DEPENDS_ext2 = "genext2fs-native" 279IMAGE_DEPENDS_ext2 = "genext2fs-native"
277IMAGE_DEPENDS_ext2.gz = "genext2fs-native" 280IMAGE_DEPENDS_ext2.gz = "genext2fs-native"
@@ -279,6 +282,7 @@ IMAGE_DEPENDS_ext3 = "genext2fs-native e2fsprogs-native"
279IMAGE_DEPENDS_ext3.gz = "genext2fs-native e2fsprogs-native" 282IMAGE_DEPENDS_ext3.gz = "genext2fs-native e2fsprogs-native"
280IMAGE_DEPENDS_squashfs = "squashfs-tools-native" 283IMAGE_DEPENDS_squashfs = "squashfs-tools-native"
281IMAGE_DEPENDS_squashfs-lzma = "squashfs-lzma-tools-native" 284IMAGE_DEPENDS_squashfs-lzma = "squashfs-lzma-tools-native"
285
282EXTRA_IMAGEDEPENDS = "" 286EXTRA_IMAGEDEPENDS = ""
283 287
284################################################################## 288##################################################################