summaryrefslogtreecommitdiff
path: root/packages/ixp4xx/ixp4xx-npe-native_2.3.bb
diff options
context:
space:
mode:
authorMichael-Luke Jones <mlj28@cam.ac.uk>2006-09-26 12:55:26 +0000
committerMichael-Luke Jones <mlj28@cam.ac.uk>2006-09-26 12:55:26 +0000
commitfbef170546c9d0c31ea1a9977666fe34617cd4e8 (patch)
tree771c2d4b99b5e4ccd5b98589348f97dfcaa488c5 /packages/ixp4xx/ixp4xx-npe-native_2.3.bb
parent68123aec8eaa31767625343ea187dc65c88e9663 (diff)
ixp4xx-npe: Add automatic byte-swapping for LE firmware load
mdev: Update loadmicrocode.sh
Diffstat (limited to 'packages/ixp4xx/ixp4xx-npe-native_2.3.bb')
-rw-r--r--packages/ixp4xx/ixp4xx-npe-native_2.3.bb10
1 files changed, 6 insertions, 4 deletions
diff --git a/packages/ixp4xx/ixp4xx-npe-native_2.3.bb b/packages/ixp4xx/ixp4xx-npe-native_2.3.bb
index ef1743ebff..b4c78f6c0f 100644
--- a/packages/ixp4xx/ixp4xx-npe-native_2.3.bb
+++ b/packages/ixp4xx/ixp4xx-npe-native_2.3.bb
@@ -1,18 +1,20 @@
DESCRIPTION = "Firmware converter for the IXP4xx line of devices"
MAINTAINER = "Oyvind Repvik <nail@nslu2-linux.org>"
LICENSE = "Intel Public Licence"
-PR = "r1"
+PR = "r3"
SRC_URI = "http://www.intel.com/Please-Read-The-BB-File/IPL_ixp400NpeLibrary-2_3.zip"
-SRC_URI += "file://header.patch;patch=1"
+SRC_URI += "file://IxNpeMicrocode.h"
inherit native
S = ${WORKDIR}/ixp400_xscale_sw/src/npeDl
do_compile() {
- ${CC} -Wall IxNpeMicrocode.c -o IxNpeMicrocode
+ 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 IxNpeMicrocode ${STAGING_BINDIR}/IxNpeMicrocode
+ install -m 0755 ${S}/IxNpeMicrocode-${PV} ${STAGING_BINDIR}/
}