1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME
:= ixp4xx-microcode
9 PKG_HASH
:= 1b1170d0657847248589d946048c0aeaa9cd671966fc5bec5933283309485eaa
10 PKG_DESCR
:= firmware for ixp4xx ethernet controller
11 PKG_SECTION
:= sys
/firmware
12 PKG_SITES
:= http
://distfiles.openadk.org
/
14 PKG_SYSTEM_DEPENDS
:= linksys-nslu2
16 DISTFILES
:= IPL_ixp400NpeLibraryWithCrypto-2_4.zip
17 WRKDIST
= ${WRKDIR}/ixp400_xscale_sw
19 include ${ADK_TOPDIR}/mk
/package.mk
21 $(eval
$(call PKG_template
,IXP4XX_MICROCODE
,ixp4xx-microcode
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
25 INSTALL_STYLE
:= manual
28 $(CP
) $(WRKSRC
)/src
/npeDl
/IxNpeMicrocode.c
$(WRKBUILD
)
30 $(HOST_CC
) IxNpeMicrocode.c
-o IxNpeMicrocode
; \
31 .
/IxNpeMicrocode
-be
; \
35 $(INSTALL_DIR
) $(IDIR_IXP4XX_MICROCODE
)/lib
/firmware
36 $(INSTALL_BIN
) $(WRKBUILD
)/NPE-
* \
37 $(IDIR_IXP4XX_MICROCODE
)/lib
/firmware
39 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk