summaryrefslogtreecommitdiff
path: root/packages/linux
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-11-05 18:39:36 +0000
committerKoen Kooi <koen@openembedded.org>2007-11-05 18:39:36 +0000
commit6a90f2b29e36ae3a730bd2640d856e46f82b0e30 (patch)
tree75577db8f29ef63856eb86cb20a88d47aad6ef94 /packages/linux
parent891334ba568712e3000aa0dca5add8d059dabb7f (diff)
linux.inc: fixlet for avr32 and gcc 4.2.1
Diffstat (limited to 'packages/linux')
-rw-r--r--packages/linux/linux.inc5
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() {