diff options
author | Koen Kooi <koen@openembedded.org> | 2007-11-05 18:39:36 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-11-05 18:39:36 +0000 |
commit | 6a90f2b29e36ae3a730bd2640d856e46f82b0e30 (patch) | |
tree | 75577db8f29ef63856eb86cb20a88d47aad6ef94 | |
parent | 891334ba568712e3000aa0dca5add8d059dabb7f (diff) |
linux.inc: fixlet for avr32 and gcc 4.2.1
-rw-r--r-- | packages/linux/linux.inc | 5 |
1 files changed, 5 insertions, 0 deletions
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() { |