X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/58f98ac38244ed93bb01dcf377937f1aec45202b..9fdbc2584272b13bb9671ae16e9545282ae52411:/package/ixp4xx-microcode/Makefile diff --git a/package/ixp4xx-microcode/Makefile b/package/ixp4xx-microcode/Makefile index 3054f7c60..b3fc8f71d 100644 --- a/package/ixp4xx-microcode/Makefile +++ b/package/ixp4xx-microcode/Makefile @@ -41,7 +41,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 +49,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/