summaryrefslogtreecommitdiff
path: root/packages/ixp4xx/ixp4xx-npe_2.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ixp4xx/ixp4xx-npe_2.1.bb')
-rw-r--r--packages/ixp4xx/ixp4xx-npe_2.1.bb14
1 files changed, 11 insertions, 3 deletions
diff --git a/packages/ixp4xx/ixp4xx-npe_2.1.bb b/packages/ixp4xx/ixp4xx-npe_2.1.bb
index ca89248fbb..c06b4c28fb 100644
--- a/packages/ixp4xx/ixp4xx-npe_2.1.bb
+++ b/packages/ixp4xx/ixp4xx-npe_2.1.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 = "r4"
+PR = "r5"
DEPENDS = "ixp4xx-npe-native"
SRC_URI = "http://www.intel.com/Please-Read-The-BB-File/IPL_ixp400NpeLibrary-2_1.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/
}