firmware: add support for PCMCIA Aircard's
authorTomasz Maciej Nowak <tomek_n@o2.pl>
Sat, 17 Dec 2016 20:50:24 +0000 (21:50 +0100)
committerJohn Crispin <john@phrozen.org>
Tue, 20 Dec 2016 08:35:36 +0000 (09:35 +0100)
Add .cis firmware for Sierra Wireless Aircard GPRS/3G PCMCIA modems:

 - Aircard 555
 - Aircards 7xx
 - Aircards 8x0

There is a package named sierra-pcmcia in obsoleted repository for
packages at git.openwrt.org but there's no reason to reintroduce it in
current packages repo because these files are part of upstream
linux-firmware.

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
package/firmware/linux-firmware/cis.mk [new file with mode: 0644]

diff --git a/package/firmware/linux-firmware/cis.mk b/package/firmware/linux-firmware/cis.mk
new file mode 100644 (file)
index 0000000..4a59957
--- /dev/null
@@ -0,0 +1,10 @@
+Package/aircard-pcmcia-firmware = $(call Package/firmware-default,Sierra Wireless Aircard 555/7xx/8x0 firmware)
+define Package/aircard-pcmcia-firmware/install
+       $(INSTALL_DIR) $(1)/lib/firmware/cis
+       $(INSTALL_DATA) \
+               $(PKG_BUILD_DIR)/cis/SW_555_SER.cis \
+               $(PKG_BUILD_DIR)/cis/SW_7xx_SER.cis \
+               $(PKG_BUILD_DIR)/cis/SW_8xx_SER.cis \
+               $(1)/lib/firmware/cis
+endef
+$(eval $(call BuildPackage,aircard-pcmcia-firmware))