From: Koen Kooi Date: Mon, 5 Nov 2007 18:39:36 +0000 (+0000) Subject: linux.inc: fixlet for avr32 and gcc 4.2.1 X-Git-Tag: Release-2010-05/1~7838^2~16^2~2^2^2~8^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a90f2b29e36ae3a730bd2640d856e46f82b0e30;p=openembedded.git linux.inc: fixlet for avr32 and gcc 4.2.1 --- diff --git a/packages/linux/linux.inc b/packages/linux/linux.inc index 2a9085f34e..37759b7667 100644 --- a/packages/linux/linux.inc +++ b/packages/linux/linux.inc @@ -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() {