From 6a90f2b29e36ae3a730bd2640d856e46f82b0e30 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 5 Nov 2007 18:39:36 +0000 Subject: linux.inc: fixlet for avr32 and gcc 4.2.1 --- packages/linux/linux.inc | 5 +++++ 1 file changed, 5 insertions(+) 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() { -- cgit v1.2.3