summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2017-11-10 19:53:53 +0100
committerMathias Kresin <dev@kresin.me>2017-11-16 22:56:54 +0100
commit73e8fcf894ce641425a9d1351e88327fb4c42198 (patch)
treec5de3b8f478e5aa0b881b32f4413129143ed9f89
parentd44a6307c9eb928f9c26dbed8f862b7931af7c4e (diff)
downloadmtk-20170518-73e8fcf894ce641425a9d1351e88327fb4c42198.zip
mtk-20170518-73e8fcf894ce641425a9d1351e88327fb4c42198.tar.gz
mtk-20170518-73e8fcf894ce641425a9d1351e88327fb4c42198.tar.bz2
linux-firmware: add IO Edgeport USB Serial firmware
Preparing for kernel versions without firmware. Signed-off-by: Bjørn Mork <bjorn@mork.no>
-rw-r--r--package/firmware/linux-firmware/edgeport.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/firmware/linux-firmware/edgeport.mk b/package/firmware/linux-firmware/edgeport.mk
new file mode 100644
index 0000000..d68c75a
--- /dev/null
+++ b/package/firmware/linux-firmware/edgeport.mk
@@ -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))