aboutsummaryrefslogtreecommitdiffstats
path: root/packages/ixp4xx/ixp4xx-csr_1.4.bb
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-05-09 18:42:37 +0000
committerJohn Bowler <jbowler@nslu2-linux.org>2005-05-09 18:42:37 +0000
commit5d7350ba10148e7b55d62aacb3e940b22b33e397 (patch)
tree6a688c535178e1df02fdc200b7be01cedb20bba3 /packages/ixp4xx/ixp4xx-csr_1.4.bb
parent6322a20675851b5ff9dd01b02a50588a8f7a37f1 (diff)
downloadopenembedded-5d7350ba10148e7b55d62aacb3e940b22b33e397.tar.gz
Change ixp drivers to allow compilation on -mm patched
kernels and to allow netconsole to work. BKrev: 427faf1dyQUk9YAOBAN896ZvmvtMrA
Diffstat (limited to 'packages/ixp4xx/ixp4xx-csr_1.4.bb')
-rw-r--r--packages/ixp4xx/ixp4xx-csr_1.4.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/ixp4xx/ixp4xx-csr_1.4.bb b/packages/ixp4xx/ixp4xx-csr_1.4.bb
index b9738a86fc..47e0c63ad2 100644
--- a/packages/ixp4xx/ixp4xx-csr_1.4.bb
+++ b/packages/ixp4xx/ixp4xx-csr_1.4.bb
@@ -7,12 +7,18 @@ SRC_URI = "http://www.intel.com/design/network/swsup/ixp400AccessLibrary-1_4.zip
file://badpaths.patch;patch=1 \
file://build-timing-annoyance.patch;patch=1"
S = "${WORKDIR}/ixp400_xscale_sw"
-PR = "r1"
+PR = "r2"
COMPATIBLE_HOST = "^armeb-linux.*"
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 +=
+
#LINUX_MACH_CFLAGS := -D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale
CFLAGS = "-fno-common -D__KERNEL__ -DMODULE -D__linux -DCPU=33 -DXSCALE=33 \
-D__LINUX_ARM_ARCH__=5 \