diff options
author | Koen Kooi <koen@openembedded.org> | 2007-11-30 15:23:08 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-11-30 15:23:08 +0000 |
commit | af445f54178cd9dfc4cfd5f9cf28db077e445fd0 (patch) | |
tree | 90112e523a649af4ba105e02cfe86bb9d668f9a7 | |
parent | 77fe3e9053a6f21bd39e8bd3a49b62bb7bb00344 (diff) |
linux.inc: remove unsupported gcc option from build
-rw-r--r-- | packages/linux/linux.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/linux/linux.inc b/packages/linux/linux.inc index 8066c3a403..77920f7f4f 100644 --- a/packages/linux/linux.inc +++ b/packages/linux/linux.inc @@ -85,10 +85,11 @@ do_configure_prepend() { yes '' | oe_runmake oldconfig } -fdo_configure_append_avr32() { +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() { @@ -97,7 +98,7 @@ do_sizecheck() { if [ $size -ge ${KERNEL_IMAGE_MAXSIZE} ]; then rm arch/${ARCH}/boot/${KERNEL_IMAGETYPE} die "This kernel (size=$size) is too big for your device. Please reduce the size of the kernel by making more of it modular." -a + fi fi } |