refresh patch
[openwrt.git] / package / ixp4xx-microcode / Makefile
index 3054f7c..9ed9127 100644 (file)
@@ -9,13 +9,11 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ixp4xx-microcode
 PKG_VERSION:=2.4
 
 PKG_NAME:=ixp4xx-microcode
 PKG_VERSION:=2.4
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 
-PKG_SOURCE:=IPL_ixp400NpeLibrary-2_4.zip
-PKG_SOURCE_URL:=http://downloadmirror.intel.com/12954/eng/
-PKG_MD5SUM:=9a6dc3846041b899edf9eff8a906fb11
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE:=IPL_ixp400NpeLibraryWithCrypto-2_4.zip
+PKG_SOURCE_URL:=http://downloads.openwrt.org/sources
+PKG_MD5SUM:=dd5f6482e625ecb334469958bcd54b37
 
 include $(INCLUDE_DIR)/package.mk
 
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -41,7 +39,7 @@ endef
 
 define Build/Compile
        (cd $(PKG_BUILD_DIR); \
 
 define Build/Compile
        (cd $(PKG_BUILD_DIR); \
-               $(HOSTCC) -Wall IxNpeMicrocode.c -o IxNpeMicrocode; \
+               $(HOSTCC) -Wall -I$(STAGING_DIR_HOST)/include IxNpeMicrocode.c -o IxNpeMicrocode; \
                ./IxNpeMicrocode -be \
        )
 endef
                ./IxNpeMicrocode -be \
        )
 endef
@@ -49,6 +47,7 @@ endef
 define Package/ixp4xx-microcode/install
        $(INSTALL_DIR) $(1)/lib/firmware
        $(INSTALL_DIR) $(1)/usr/share/doc
 define Package/ixp4xx-microcode/install
        $(INSTALL_DIR) $(1)/lib/firmware
        $(INSTALL_DIR) $(1)/usr/share/doc
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/NPE-A $(1)/lib/firmware/
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/NPE-B $(1)/lib/firmware/
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/NPE-C $(1)/lib/firmware/
        $(INSTALL_DATA) $(PKG_BUILD_DIR)/LICENSE.IPL $(1)/usr/share/doc/
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/NPE-B $(1)/lib/firmware/
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/NPE-C $(1)/lib/firmware/
        $(INSTALL_DATA) $(PKG_BUILD_DIR)/LICENSE.IPL $(1)/usr/share/doc/
This page took 0.027389 seconds and 4 git commands to generate.