X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fixp4xx-microcode%2FMakefile;h=9ed912758b07e28f5749491f0094e7444a9bdc00;hb=7b06afbcdb82a072957179b82a0c7a23fa4e3192;hp=3054f7c608119a5041c679215783660dd139437e;hpb=58f98ac38244ed93bb01dcf377937f1aec45202b;p=openwrt-10.03%2F.git 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/