X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/58f98ac38244ed93bb01dcf377937f1aec45202b..7b3bd12cf8ee18257abac8deb8c5854070569fdf:/package/ixp4xx-microcode/Makefile diff --git a/package/ixp4xx-microcode/Makefile b/package/ixp4xx-microcode/Makefile index 3054f7c60..9ed912758 100644 --- a/package/ixp4xx-microcode/Makefile +++ b/package/ixp4xx-microcode/Makefile @@ -9,13 +9,11 @@ include $(TOPDIR)/rules.mk 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 @@ -41,7 +39,7 @@ endef 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 @@ -49,6 +47,7 @@ endef 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/