summaryrefslogtreecommitdiff
path: root/packages/ixp4xx/ixp4xx-npe-native_2.4.bb
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2007-09-24 14:11:21 +0000
committerRod Whitby <rod@whitby.id.au>2007-09-24 14:11:21 +0000
commitba9967c8b79984a03a04efad71a7777dcc16906d (patch)
tree53aa57fc3efe6cdc0ae0aaedc0a2f159331df6bb /packages/ixp4xx/ixp4xx-npe-native_2.4.bb
parent6b5aebd11786e14e67cc1229d653895acd104f92 (diff)
ixp4xx-npe: Updated to version 2.4 microcode - already well tested in OpenWrt for some months, and now under a redistributable in binary form license.
Diffstat (limited to 'packages/ixp4xx/ixp4xx-npe-native_2.4.bb')
-rw-r--r--packages/ixp4xx/ixp4xx-npe-native_2.4.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/ixp4xx/ixp4xx-npe-native_2.4.bb b/packages/ixp4xx/ixp4xx-npe-native_2.4.bb
new file mode 100644
index 0000000000..2b3da60b5d
--- /dev/null
+++ b/packages/ixp4xx/ixp4xx-npe-native_2.4.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Firmware converter for the IXP4xx line of devices"
+LICENSE = "Intel Software License Agreement"
+PR = "r0"
+
+SRC_URI = "http://You-Have-To-Download-The-Microcode-Manually-So-Please-Read-ixp4xx-npe_2.4.bb-For-Instructions/IPL_ixp400NpeLibrary-2_4.zip"
+SRC_URI += "file://IxNpeMicrocode.h"
+inherit native
+S = "${WORKDIR}/ixp400_xscale_sw/src/npeDl"
+
+do_compile() {
+ mv ${WORKDIR}/IxNpeMicrocode.h ${S}/
+ gcc -Wall IxNpeMicrocode.c -o IxNpeMicrocode
+}
+
+do_stage() {
+ mv ${S}/IxNpeMicrocode ${S}/IxNpeMicrocode-${PV}
+ install -d ${STAGING_BINDIR}/
+ install -m 0755 ${S}/IxNpeMicrocode-${PV} ${STAGING_BINDIR}/
+}