diff options
author | John Bowler <jbowler@nslu2-linux.org> | 2005-08-11 20:49:14 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-08-11 20:49:14 +0000 |
commit | 5d0228c596f8ff96033c23258eadbb14de8aa094 (patch) | |
tree | 7e483e63cabe9499c779917a7130d23b07024a26 /packages | |
parent | 4482fb65c15c522245c9fed2ed92bc182fb2304c (diff) |
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
Diffstat (limited to 'packages')
-rw-r--r-- | packages/ixp425-eth/ixp425-eth_1.1.bb | 4 | ||||
-rw-r--r-- | packages/ixp4xx/ixp4xx-csr_1.4.bb | 4 | ||||
-rw-r--r-- | packages/linux/nslu2-kernel.inc | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/packages/ixp425-eth/ixp425-eth_1.1.bb b/packages/ixp425-eth/ixp425-eth_1.1.bb index 84d037d330..f10d7173f0 100644 --- a/packages/ixp425-eth/ixp425-eth_1.1.bb +++ b/packages/ixp425-eth/ixp425-eth_1.1.bb @@ -19,8 +19,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}" #do_ixp425_c_patch_fetch () { # if test ! -e ${DL_DIR}/ixp425_eth.c.patch.md5; then 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 \ diff --git a/packages/linux/nslu2-kernel.inc b/packages/linux/nslu2-kernel.inc index f5d7135c88..8946822574 100644 --- a/packages/linux/nslu2-kernel.inc +++ b/packages/linux/nslu2-kernel.inc @@ -221,8 +221,8 @@ CMDLINE = "${CMDLINE_ROOT} ${CMDLINE_DEBUG} ${CMDLINE_CONSOLE}" # 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}" # By putting the added files in place in a separate task before # do_patch it becomes possible to patch these files. |