summaryrefslogtreecommitdiff
path: root/packages/ixp4xx/ixp4xx-npe_2.3.bb
blob: 9e28fbba81de61d5e801c18e0597f541857bc303 (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
DESCRIPTION = "NPE firmware for the IXP4xx line of devices"
LICENSE = "Intel Public Licence"
PR = "r8"
DEPENDS = "ixp4xx-npe-native"

SRC_URI = "http://www.intel.com/Please-Read-The-BB-File/IPL_ixp400NpeLibrary-2_3.zip"
S = ${WORKDIR}/ixp400_xscale_sw/src/npeDl

COMPATIBLE_MACHINE = "(nslu2|ixp4xx)"

FILES_${PN} = "${base_libdir}/firmware/NPE-B"

do_compile() {
#        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/
	rm ${S}/NPE-B
	mv ${S}/NPE-B.* ${S}/NPE-B
	install ${S}/NPE-B ${D}/${base_libdir}/firmware/
}

do_populate_staging() {
	install -d ${STAGING_FIRMWARE_DIR}
	install ${S}/NPE-B ${STAGING_FIRMWARE_DIR}/
}