mirror of
https://github.com/breeze303/nss-packages.git
synced 2025-12-16 16:57:29 +00:00
firmware: Add NSS EIP firmware package
This is just a helper package that helps ensure that the EIP-197 firmware is installed by being used as a dependency on nss-crypto. Note that the package does not provide or ship with firmware binaries itself. Those need to be pulled from the stock firmware. Binaries required are: * ifpp.bin * ipue.bin * ofpp.bin * opue.bin They should be placed inside of the src folder. Note that we add the src folder to the .gitignore to prevent accidentally pushing the FW to a public repo. Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
0012f0a236
commit
c5e731e58d
34
firmware/nss-eip-firmware/Makefile
Normal file
34
firmware/nss-eip-firmware/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=nss-eip-firmware
|
||||
PKG_VERSION=2.5.7
|
||||
PKG_RELEASE:=$(AUTORELEASE)
|
||||
|
||||
PKG_MAINTAINER:=Robert Marko <robimarko@gmail.com>
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/nss-eip-firmware
|
||||
SECTION:=firmware
|
||||
CATEGORY:=Firmware
|
||||
TITLE:=NSS EIP-197 firmware
|
||||
DEPENDS:=@(TARGET_ipq807x||TARGET_ipq60xx)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
|
||||
endef
|
||||
|
||||
define Package/nss-eip-firmware/install
|
||||
$(INSTALL_DIR) $(1)/lib/firmware/
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_BUILD_DIR)/ifpp.bin $(1)/lib/firmware/ifpp.bin
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_BUILD_DIR)/ipue.bin $(1)/lib/firmware/ipue.bin
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_BUILD_DIR)/ofpp.bin $(1)/lib/firmware/ofpp.bin
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_BUILD_DIR)/opue.bin $(1)/lib/firmware/opue.bin
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,nss-eip-firmware))
|
||||
0
firmware/nss-eip-firmware/src/.gitkeep
Normal file
0
firmware/nss-eip-firmware/src/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user