summaryrefslogtreecommitdiff
path: root/packages/ixp4xx/ixp4xx-npe_2.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ixp4xx/ixp4xx-npe_2.3.bb')
-rw-r--r--packages/ixp4xx/ixp4xx-npe_2.3.bb14
1 files changed, 11 insertions, 3 deletions
diff --git a/packages/ixp4xx/ixp4xx-npe_2.3.bb b/packages/ixp4xx/ixp4xx-npe_2.3.bb
index 5cc710ab69..9e13c8766b 100644
--- a/packages/ixp4xx/ixp4xx-npe_2.3.bb
+++ b/packages/ixp4xx/ixp4xx-npe_2.3.bb
@@ -1,7 +1,7 @@
DESCRIPTION = "NPE firmware for the IXP4xx line of devices"
MAINTAINER = "Oyvind Repvik <nail@nslu2-linux.org>"
LICENSE = "Intel Public Licence"
-PR = "r3"
+PR = "r5"
DEPENDS = "ixp4xx-npe-native"
SRC_URI = "http://www.intel.com/Please-Read-The-BB-File/IPL_ixp400NpeLibrary-2_3.zip"
@@ -10,12 +10,20 @@ S = ${WORKDIR}/ixp400_xscale_sw/src/npeDl
FILES_${PN} = "${base_libdir}/firmware/NPE-B"
do_compile() {
- ${STAGING_BINDIR}/IxNpeMicrocode
+ if test '${ARCH_BYTE_SEX}' = be
+ then
+ ${STAGING_BINDIR}/IxNpeMicrocode-${PV} -be
+ fi
+ if test '${ARCH_BYTE_SEX}' = le
+ then
+ ${STAGING_BINDIR}/IxNpeMicrocode-${PV} -le
+ fi
}
do_install() {
install -d ${D}/${base_libdir}/firmware/
- mv ${S}/NPE-B.010c0200 ${S}/NPE-B
+ rm ${S}/NPE-B
+ mv ${S}/NPE-B.* ${S}/NPE-B
install ${S}/NPE-B ${D}/${base_libdir}/firmware/
}