linux.inc: fixlet for avr32 and gcc 4.2.1
authorKoen Kooi <koen@openembedded.org>
Mon, 5 Nov 2007 18:39:36 +0000 (18:39 +0000)
committerKoen Kooi <koen@openembedded.org>
Mon, 5 Nov 2007 18:39:36 +0000 (18:39 +0000)
packages/linux/linux.inc

index 2a9085f..37759b7 100644 (file)
@@ -77,6 +77,11 @@ do_configure_prepend() {
         yes '' | oe_runmake oldconfig
 }
 
+
+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() {