summaryrefslogtreecommitdiff
path: root/conf/machine/include/zaurus-2.6.inc
diff options
context:
space:
mode:
Diffstat (limited to 'conf/machine/include/zaurus-2.6.inc')
-rw-r--r--conf/machine/include/zaurus-2.6.inc10
1 files changed, 9 insertions, 1 deletions
diff --git a/conf/machine/include/zaurus-2.6.inc b/conf/machine/include/zaurus-2.6.inc
index c7e6d46872..4bea25a0ed 100644
--- a/conf/machine/include/zaurus-2.6.inc
+++ b/conf/machine/include/zaurus-2.6.inc
@@ -51,7 +51,13 @@ zaurus_make_installkit () {
mkdir ${IMAGE_NAME}-installkit/
# Get the latest kernel using the zImage-<machine>.bin symlink
- cp zImage-${MACHINE}.bin ${IMAGE_NAME}-installkit/zImage
+ if [ "${MACHINE}" = "collie" ]; then
+ [ -f "zImage-${MACHINE}-kexecboot.bin" ] && cp zImage-${MACHINE}-kexecboot.bin ${IMAGE_NAME}-installkit/zImage
+ # we need also tgz for mmc or cf cards
+ cp ${IMAGE_NAME}.rootfs.tar.gz ${IMAGE_NAME}-installkit/hdimage1.tgz
+ else
+ cp zImage-${MACHINE}.bin ${IMAGE_NAME}-installkit/zImage
+ fi
if [ "${MACHINE}" = "spitz" ]; then
cp gnu-tar ${IMAGE_NAME}-installkit/
@@ -72,4 +78,6 @@ zaurus_make_installkit () {
# Don't include kernels in standard images for Zaurus machines
RDEPENDS_kernel-base = ""
+# collie is an exception. We use mmc as root, include kernel and use another small kernel to boot it.
+RDEPENDS_kernel-base_collie = "kernel-image"
KERNEL_IMAGETYPE = "zImage"