[oe-commits] unknown linux.inc: remove unsupported gcc option from build

koen commit openembedded-commits at lists.openembedded.org
Wed Jan 23 18:04:27 UTC 2008


linux.inc: remove unsupported gcc option from build

Author: koen at openembedded.org
Branch: unknown
Revision: cb846b7ea697bd0b4ae5688ba9d82813631ab37d
ViewMTN: http://monotone.openembedded.org/revision/info/cb846b7ea697bd0b4ae5688ba9d82813631ab37d
Files:
1
packages/linux/linux.inc
Diffs:

#
# mt diff -r11b504a23856c15adafcb4ab45e85adfbfaf542d -rcb846b7ea697bd0b4ae5688ba9d82813631ab37d
#
# 
# 
# patch "packages/linux/linux.inc"
#  from [5a78d9378f13b99b789a10372cc084accad8f312]
#    to [be16fd4bfa8e76ae1f0de020375a9d9aa7cb59ee]
# 
============================================================
--- packages/linux/linux.inc	5a78d9378f13b99b789a10372cc084accad8f312
+++ packages/linux/linux.inc	be16fd4bfa8e76ae1f0de020375a9d9aa7cb59ee
@@ -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
 }
 






More information about the Openembedded-commits mailing list