From 5d0228c596f8ff96033c23258eadbb14de8aa094 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Thu, 11 Aug 2005 20:49:14 +0000 Subject: Change the NSLU2 kernel build configuration method to allow the configuration override to be specified in the machine.conf rather than hardwiring -mno-thumb-interwork into nslu2-kernel.inc --- packages/ixp4xx/ixp4xx-csr_1.4.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/ixp4xx') diff --git a/packages/ixp4xx/ixp4xx-csr_1.4.bb b/packages/ixp4xx/ixp4xx-csr_1.4.bb index 12898a28df..0526374e96 100644 --- a/packages/ixp4xx/ixp4xx-csr_1.4.bb +++ b/packages/ixp4xx/ixp4xx-csr_1.4.bb @@ -16,8 +16,8 @@ inherit module # Add the architecture compiler flags to KERNEL_CC and KERNEL_LD as # required. Notice that this has to be done for each separately built # module as well! -KERNEL_CC += "${TARGET_CC_ARCH} -mno-thumb-interwork" -# KERNEL_LD += +KERNEL_CC += "${TARGET_CC_KERNEL_ARCH}" +KERNEL_LD += "${TARGET_LD_KERNEL_ARCH}" #LINUX_MACH_CFLAGS := -D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale CFLAGS = "-fno-common -D__KERNEL__ -DMODULE -D__linux -DCPU=33 -DXSCALE=33 \ -- cgit v1.2.3