summaryrefslogtreecommitdiff
path: root/conf/bitbake.conf
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2009-01-19 20:15:46 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2009-01-22 19:26:07 -0200
commit15cf3a07de1af0370093c1bafab33b63f89ddf79 (patch)
treececed315a3c823de1c95c827dec93a433287c858 /conf/bitbake.conf
parent0e50cf5e04fda9ce71683dc047cb3e78dacf705f (diff)
bitbake.conf: add EXTRA_IMAGECMD_{cpio,cpio.gz} variables
Diffstat (limited to 'conf/bitbake.conf')
-rw-r--r--conf/bitbake.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index 13e94fa83f..1164411963 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -317,8 +317,8 @@ IMAGE_CMD_squashfs-lzma = "mksquashfs-lzma ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/$
IMAGE_CMD_tar = "cd ${IMAGE_ROOTFS} && tar -cvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar ."
IMAGE_CMD_tar.gz = "cd ${IMAGE_ROOTFS} && tar -zcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.gz ."
IMAGE_CMD_tar.bz2 = "cd ${IMAGE_ROOTFS} && tar -jcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 ."
-IMAGE_CMD_cpio = "cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio)"
-IMAGE_CMD_cpio.gz = "cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz)"
+IMAGE_CMD_cpio = "cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio) ${EXTRA_IMAGECMD}"
+IMAGE_CMD_cpio.gz = "cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) ${EXTRA_IMAGECMD}"
IMAGE_CMD_ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubifs.img"
EXTRA_IMAGECMD = ""
@@ -326,6 +326,8 @@ EXTRA_IMAGECMD_jffs2 = ""
EXTRA_IMAGECMD_yaffs2 = "1"
EXTRA_IMAGECMD_squashfs = ""
EXTRA_IMAGECMD_squashfs-lzma = ""
+EXTRA_IMAGECMD_cpio = ""
+EXTRA_IMAGECMD_cpio.gz = ""
EXTRA_IMAGECMD_ubifs = ""
IMAGE_DEPENDS = ""