summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-01-20 18:54:05 +0000
committerRichard Purdie <richard@openedhand.com>2007-01-20 18:54:05 +0000
commit6a24673f5089245c674d74809606a5bbfea2fa79 (patch)
tree238ce1cf8d4a121628fbd61ca5328b431e282adf
parent42d89eed7e745c582d87bd3dadfade12e835e137 (diff)
downloadpoky-6a24673f5089245c674d74809606a5bbfea2fa79.tar.gz
zaurus-clamshell.conf: Clean up flash files from after building final images
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1181 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/conf/machine/include/zaurus-clamshell.conf19
1 files changed, 9 insertions, 10 deletions
diff --git a/meta/conf/machine/include/zaurus-clamshell.conf b/meta/conf/machine/include/zaurus-clamshell.conf
index b447456b77..fb27197174 100644
--- a/meta/conf/machine/include/zaurus-clamshell.conf
+++ b/meta/conf/machine/include/zaurus-clamshell.conf
@@ -3,20 +3,19 @@ PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5e armv5te"
3 3
4PREFERRED_PROVIDER_xserver = "xserver-kdrive" 4PREFERRED_PROVIDER_xserver = "xserver-kdrive"
5 5
6EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x4000 -n"
7EXTRA_IMAGEDEPENDS += "sharp-flash-header-c700 zaurus-updater" 6EXTRA_IMAGEDEPENDS += "sharp-flash-header-c700 zaurus-updater"
8 7
9IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \ 8IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \
10 --output=${T}/${IMAGE_NAME}.rootfs.jffs2 ${EXTRA_IMAGECMD}; \ 9 --output=${T}/${IMAGE_NAME}.rootfs.jffs2 --pad --little-endian --eraseblock=0x4000 -n \
10 && sumtool -i ${T}/${IMAGE_NAME}.rootfs.jffs2 \
11 -o ${T}/${IMAGE_NAME}.rootfs.jffs2.summary \
12 --eraseblock=0x4000 -l -p; \
11 cat ${STAGING_LIBDIR}/sharp-flash-header/header-c700.bin \ 13 cat ${STAGING_LIBDIR}/sharp-flash-header/header-c700.bin \
12 ${T}/${IMAGE_NAME}.rootfs.jffs2 > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2" 14 ${T}/${IMAGE_NAME}.rootfs.jffs2 > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2; \
13 15 rm ${T}/${IMAGE_NAME}.rootfs.jffs2; \
14# add a summary to the jffs2 file to make it mount a lot faster 16 cat ${STAGING_LIBDIR}/sharp-flash-header/header-c700.bin \
15EXTRA_IMAGECMD_jffs2 += "&& sumtool -i ${T}/${IMAGE_NAME}.rootfs.jffs2 \ 17 ${T}/${IMAGE_NAME}.rootfs.jffs2.summary > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.summary.jffs2; \
16 -o ${T}/${IMAGE_NAME}.rootfs.jffs2.summary \ 18 rm ${T}/${IMAGE_NAME}.rootfs.jffs2.summary"
17 --eraseblock=0x4000 -l -p"
18IMAGE_CMD_jffs2 += "; cat ${STAGING_LIBDIR}/sharp-flash-header/header-c700.bin \
19 ${T}/${IMAGE_NAME}.rootfs.jffs2.summary > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.summary.jffs2"
20 19
21GUI_MACHINE_CLASS = "bigscreen" 20GUI_MACHINE_CLASS = "bigscreen"
22GPE_EXTRA_INSTALL += "gaim sylpheed" 21GPE_EXTRA_INSTALL += "gaim sylpheed"