summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/linux/linux-rp.inc24
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/packages/linux/linux-rp.inc b/meta/packages/linux/linux-rp.inc
index a63ea20a1e..610ccefa94 100644
--- a/meta/packages/linux/linux-rp.inc
+++ b/meta/packages/linux/linux-rp.inc
@@ -136,30 +136,6 @@ do_configure() {
136 yes '' | oe_runmake oldconfig 136 yes '' | oe_runmake oldconfig
137} 137}
138 138
139# Check the kernel is below the 1264*1024 byte limit for the PXA Zaurii
140do_compile_append() {
141 case ${MACHINE} in
142 c7x0 | akita | poodle | spitz | tosa )
143 size=`ls -l arch/${ARCH}/boot/${KERNEL_IMAGETYPE} | awk '{ print $5}'`
144 if [ $size -ge 1294336 ]; then
145 rm arch/${ARCH}/boot/${KERNEL_IMAGETYPE}
146 echo "Size is $size"
147 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."
148 fi
149 ;;
150 collie )
151 size=`ls -l arch/${ARCH}/boot/${KERNEL_IMAGETYPE} | awk '{ print $5}'`
152 if [ $size -ge 1048576 ]; then
153 rm arch/${ARCH}/boot/${KERNEL_IMAGETYPE}
154 echo "Size is $size"
155 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."
156 fi
157 ;;
158 *)
159 ;;
160 esac
161}
162
163do_deploy() { 139do_deploy() {
164 install -d ${DEPLOY_DIR_IMAGE} 140 install -d ${DEPLOY_DIR_IMAGE}
165 install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_DEPLOY_NAME} 141 install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_DEPLOY_NAME}