aboutsummaryrefslogtreecommitdiffstats
path: root/packages/ixp425-eth
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/ixp425-eth
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/ixp425-eth')
-rw-r--r--packages/ixp425-eth/files/mm4.patch0
-rw-r--r--packages/ixp425-eth/files/pollcontroller.patch0
-rw-r--r--packages/ixp425-eth/ixp425-eth_1.1.bb12
3 files changed, 10 insertions, 2 deletions
diff --git a/packages/ixp425-eth/files/mm4.patch b/packages/ixp425-eth/files/mm4.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ixp425-eth/files/mm4.patch
diff --git a/packages/ixp425-eth/files/pollcontroller.patch b/packages/ixp425-eth/files/pollcontroller.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ixp425-eth/files/pollcontroller.patch
diff --git a/packages/ixp425-eth/ixp425-eth_1.1.bb b/packages/ixp425-eth/ixp425-eth_1.1.bb
index 6332aeaadb..40e7f19f54 100644
--- a/packages/ixp425-eth/ixp425-eth_1.1.bb
+++ b/packages/ixp425-eth/ixp425-eth_1.1.bb
@@ -4,8 +4,10 @@ MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
SRC_URI = "http://www.intel.com/design/network/swsup/ixp400LinuxEthernetDriverPatch-1_1.zip \
file://makefile.patch;patch=1 \
file://ethhdr.patch;patch=1 \
- file://intdriven.patch;patch=1"
-PR = "r1"
+ file://intdriven.patch;patch=1 \
+ file://pollcontroller.patch;patch=1 \
+ file://mm4.patch;patch=1"
+PR = "r3"
S = "${WORKDIR}"
@@ -13,6 +15,12 @@ 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 +=
+
do_ixp425_c_patch_fetch () {
if test ! -e ${DL_DIR}/ixp425_eth.c.patch.md5; then
cd ${DL_DIR}