diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-08-09 08:41:19 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-08-09 08:41:19 +0000 |
commit | 9d829ed05c295df608b4fc108eb1c628fd06fd39 (patch) | |
tree | c1b27cfe4498f8abef1a61325922906f3e6a32ff /packages/ixp4xx/ixp4xx-npe_2.3.2.bb | |
parent | 1434b204e16e87b7f59f074f3036d5dcbcf0116f (diff) | |
parent | 6ccac10beeaaa02a86081bd6179fd57c208ad6b1 (diff) |
merge of '76e1e69496801009ea0aa69c84f76e858978ab99'
and 'db976a98427dd6a195e2cf167e225de2d0206aea'
Diffstat (limited to 'packages/ixp4xx/ixp4xx-npe_2.3.2.bb')
-rw-r--r-- | packages/ixp4xx/ixp4xx-npe_2.3.2.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/ixp4xx/ixp4xx-npe_2.3.2.bb b/packages/ixp4xx/ixp4xx-npe_2.3.2.bb new file mode 100644 index 0000000000..b5b1665735 --- /dev/null +++ b/packages/ixp4xx/ixp4xx-npe_2.3.2.bb @@ -0,0 +1,37 @@ +DESCRIPTION = "NPE firmware for the IXP4xx line of devices" +LICENSE = "Intel Public Licence" +PR = "r1" +DEPENDS = "ixp4xx-npe-native" + +# You need to download the IPL_ixp400NpeLibrary-2_3_2.zip file (without crypto) from: +# http://www.intel.com/design/network/products/npfamily/ixp400_current.htm +# and put it in your downloads directory so bitbake will find it. +# Make sure you *read* and accept the license - it is not a standard one. + +SRC_URI = "http://You-Have-To-Download-The-Microcode-Manually-So-Please-Read-ixp4xx-npe_2.3.2.bb-For-Instructions/IPL_ixp400NpeLibrary-2_3_2.zip" +S = "${WORKDIR}/ixp400_xscale_sw/src/npeDl" + +COMPATIBLE_MACHINE = "(nslu2|ixp4xx)" + +FILES_${PN} = "${base_libdir}/firmware/NPE-B ${base_libdir}/firmware/NPE-C" + +do_compile() { + ${STAGING_BINDIR_NATIVE}/IxNpeMicrocode-${PV} -be +} + +do_install() { + install -d ${D}/${base_libdir}/firmware/ + rm ${S}/NPE-B + mv ${S}/NPE-B.* ${S}/NPE-B + install ${S}/NPE-B ${D}/${base_libdir}/firmware/ + rm ${S}/NPE-C + mv ${S}/NPE-C.* ${S}/NPE-C + install ${S}/NPE-C ${D}/${base_libdir}/firmware/ +} + +do_populate_staging() { + install -d ${STAGING_FIRMWARE_DIR} + install ${S}/NPE-B ${STAGING_FIRMWARE_DIR}/ + install ${S}/NPE-C ${STAGING_FIRMWARE_DIR}/ +} + |