linux.inc: remove unsupported gcc option from build
authorKoen Kooi <koen@openembedded.org>
Fri, 30 Nov 2007 15:23:08 +0000 (15:23 +0000)
committerKoen Kooi <koen@openembedded.org>
Fri, 30 Nov 2007 15:23:08 +0000 (15:23 +0000)
packages/linux/linux.inc

index 8066c3a..77920f7 100644 (file)
@@ -85,10 +85,11 @@ do_configure_prepend() {
         yes '' | oe_runmake oldconfig
 }
 
-fdo_configure_append_avr32() {
+do_configure_append_avr32() {
         sed -i -e s:-mno-pic::g arch/avr32/Makefile
 }
 
+
 # Support checking the kernel size since some kernels need to reside in partitions
 # with a fixed length or there is a limit in transferring the kernel to memory
 do_sizecheck() {
@@ -97,7 +98,7 @@ do_sizecheck() {
             if [ $size -ge ${KERNEL_IMAGE_MAXSIZE} ]; then
                     rm arch/${ARCH}/boot/${KERNEL_IMAGETYPE}
                     die  "This kernel (size=$size) is too big for your device. Please reduce the size of the kernel by making more of it modular."
-a
+            fi
         fi
 }