summaryrefslogtreecommitdiff
path: root/package/firmware/linux-firmware
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2016-06-25 18:40:00 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2016-06-25 19:20:16 +0200
commit2ca4fa5febe988e51156442146c48c568efe9895 (patch)
treea26192c4bc0e7b8cd1763bd6420558ff931e245f /package/firmware/linux-firmware
parentd2a372c4fc3fc3b183375e605a2c5ca0a8ca9fa2 (diff)
downloadmtk-20170518-2ca4fa5febe988e51156442146c48c568efe9895.zip
mtk-20170518-2ca4fa5febe988e51156442146c48c568efe9895.tar.gz
mtk-20170518-2ca4fa5febe988e51156442146c48c568efe9895.tar.bz2
rtl8192su-firmware: move firmware to own package
Instead of downloading the firmware from some website take it from linux-firmware package and do not download it separately any more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/firmware/linux-firmware')
-rw-r--r--package/firmware/linux-firmware/realtek.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/firmware/linux-firmware/realtek.mk b/package/firmware/linux-firmware/realtek.mk
index 894915b..4229ca0 100644
--- a/package/firmware/linux-firmware/realtek.mk
+++ b/package/firmware/linux-firmware/realtek.mk
@@ -48,3 +48,10 @@ define Package/rtl8192se-firmware/install
$(INSTALL_DATA) $(PKG_BUILD_DIR)/rtlwifi/rtl8192sefw.bin $(1)/lib/firmware/rtlwifi
endef
$(eval $(call BuildPackage,rtl8192se-firmware))
+
+Package/rtl8192su-firmware = $(call Package/firmware-default,RealTek RTL8192SU firmware)
+define Package/rtl8192su-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtlwifi/rtl8712u.bin $(1)/lib/firmware/rtlwifi
+endef
+$(eval $(call BuildPackage,rtl8192su-firmware))