python3: update to 3.11.10
[openadk.git] / package / ixp4xx-microcode / Makefile
blob782b6d7470da4810d4dfd0217efc7ee703802946
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
7 PKG_VERSION:= 2.4
8 PKG_RELEASE:= 1
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}))
23 CONFIG_STYLE:= manual
24 BUILD_STYLE:= manual
25 INSTALL_STYLE:= manual
27 do-build:
28 $(CP) $(WRKSRC)/src/npeDl/IxNpeMicrocode.c $(WRKBUILD)
29 (cd $(WRKBUILD); \
30 $(HOST_CC) IxNpeMicrocode.c -o IxNpeMicrocode; \
31 ./IxNpeMicrocode -be; \
34 do-install:
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