summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openembedded/packages/linux/linux-openzaurus.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/openembedded/packages/linux/linux-openzaurus.inc b/openembedded/packages/linux/linux-openzaurus.inc
index c806452e52..e99bd07316 100644
--- a/openembedded/packages/linux/linux-openzaurus.inc
+++ b/openembedded/packages/linux/linux-openzaurus.inc
@@ -130,6 +130,14 @@ do_compile_append() {
130 die "This kernel is too big for your PXA Zaurus and will destroy data if you flash it. Please reduce the size of the kernel by making more of it modular." 130 die "This kernel is too big for your PXA Zaurus and will destroy data if you flash it. Please reduce the size of the kernel by making more of it modular."
131 fi 131 fi
132 ;; 132 ;;
133 collie )
134 size=`ls -l arch/${ARCH}/boot/${KERNEL_IMAGETYPE} | awk '{ print $5}'`
135 if [ $size -ge 1048576 ]; then
136 rm arch/${ARCH}/boot/${KERNEL_IMAGETYPE}
137 echo "Size is $size"
138 die "This kernel is too big for your Collie and will not be flashed. Please reduce the size of the kernel by making more of it modular."
139 fi
140 ;;
133 *) 141 *)
134 ;; 142 ;;
135 esac 143 esac