linux-firmware: add IO Edgeport USB Serial firmware
authorBjørn Mork <bjorn@mork.no>
Fri, 10 Nov 2017 18:53:53 +0000 (19:53 +0100)
committerMathias Kresin <dev@kresin.me>
Thu, 16 Nov 2017 21:56:54 +0000 (22:56 +0100)
Preparing for kernel versions without firmware.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
package/firmware/linux-firmware/edgeport.mk [new file with mode: 0644]

diff --git a/package/firmware/linux-firmware/edgeport.mk b/package/firmware/linux-firmware/edgeport.mk
new file mode 100644 (file)
index 0000000..d68c75a
--- /dev/null
@@ -0,0 +1,12 @@
+Package/edgeport-firmware = $(call Package/firmware-default,USB Inside Out Edgeport Serial Driver firmware)
+define Package/edgeport-firmware/install
+       $(INSTALL_DIR) $(1)/lib/firmware/edgeport
+       $(INSTALL_DATA) \
+               $(PKG_BUILD_DIR)/edgeport/boot.fw \
+               $(PKG_BUILD_DIR)/edgeport/boot2.fw \
+               $(PKG_BUILD_DIR)/edgeport/down.fw \
+               $(PKG_BUILD_DIR)/edgeport/down2.fw \
+               $(1)/lib/firmware/edgeport
+endef
+
+$(eval $(call BuildPackage,edgeport-firmware))