blob: 4d8d80f92ea194c619f7fa77e222d3273052c5ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
DESCRIPTION = "NPE firmware for the IXP4xx line of devices"
LICENSE = "Intel"
PR = "r1"
DEPENDS = "ixp4xx-npe-native"
# You need to download the IPL_ixp400NpeLibrary-2_4.zip file (without crypto) from:
# http://www.intel.com/design/network/products/npfamily/download_ixp400.htm
# "Intel IXP400 software - NPE microcode (non-crypto)" -> "2.4"
# 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.4.bb-For-Instructions/IPL_ixp400NpeLibrary-2_4.zip \
file://Intel"
S = "${WORKDIR}/ixp400_xscale_sw/src/npeDl"
COMPATIBLE_MACHINE = "(nslu2|ixp4xx|kixrp435)"
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/
install -d ${D}/${datadir}/common-licenses/
install -m 0644 ${WORKDIR}/Intel ${D}${datadir}/common-licenses/
}
do_stage() {
install -d ${STAGING_FIRMWARE_DIR}
install ${S}/NPE-B ${STAGING_FIRMWARE_DIR}/
install ${S}/NPE-C ${STAGING_FIRMWARE_DIR}/
}
|