diff options
author | Michael-Luke Jones <mlj28@cam.ac.uk> | 2006-09-26 12:55:26 +0000 |
---|---|---|
committer | Michael-Luke Jones <mlj28@cam.ac.uk> | 2006-09-26 12:55:26 +0000 |
commit | fbef170546c9d0c31ea1a9977666fe34617cd4e8 (patch) | |
tree | 771c2d4b99b5e4ccd5b98589348f97dfcaa488c5 /packages/ixp4xx/ixp4xx-npe_2.1.bb | |
parent | 68123aec8eaa31767625343ea187dc65c88e9663 (diff) |
ixp4xx-npe: Add automatic byte-swapping for LE firmware load
mdev: Update loadmicrocode.sh
Diffstat (limited to 'packages/ixp4xx/ixp4xx-npe_2.1.bb')
-rw-r--r-- | packages/ixp4xx/ixp4xx-npe_2.1.bb | 14 |
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/ } |