[openwrt/openwrt] kernel: kmod-net-rtl8192su: Remove package

LEDE Commits lede-commits at lists.infradead.org
Wed Aug 10 15:52:04 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/7ebe1dca476ddb2c08f8a1cbbd0522e69c1edc82

commit 7ebe1dca476ddb2c08f8a1cbbd0522e69c1edc82
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Aug 7 13:24:59 2022 +0200

    kernel: kmod-net-rtl8192su: Remove package
    
    The R8712U driver depends on cfg80211. cfg80211 is provided by mac80211
    backports, we can not build any in kernel drivers which depend on
    cfg80211 which is an out of tree module in OpenWrt.
    
    The cfg80211 dependency was added with kernel 5.9.
    
    We could add rtl8192su to backports and build it from there.
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/firmware/linux-firmware/realtek.mk |  7 -------
 package/kernel/linux/modules/wireless.mk   | 25 -------------------------
 2 files changed, 32 deletions(-)

diff --git a/package/firmware/linux-firmware/realtek.mk b/package/firmware/linux-firmware/realtek.mk
index c883e8ba59..e06c3a6369 100644
--- a/package/firmware/linux-firmware/realtek.mk
+++ b/package/firmware/linux-firmware/realtek.mk
@@ -69,13 +69,6 @@ define Package/rtl8192se-firmware/install
 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))
-
 Package/rtl8723au-firmware = $(call Package/firmware-default,RealTek RTL8723AU firmware)
 define Package/rtl8723au-firmware/install
 	$(INSTALL_DIR) $(1)/lib/firmware/rtlwifi
diff --git a/package/kernel/linux/modules/wireless.mk b/package/kernel/linux/modules/wireless.mk
deleted file mode 100644
index 1e9e68a0f6..0000000000
--- a/package/kernel/linux/modules/wireless.mk
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# Copyright (C) 2006-2008 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-WIRELESS_MENU:=Wireless Drivers
-
-define KernelPackage/net-rtl8192su
-  SUBMENU:=$(WIRELESS_MENU)
-  TITLE:=RTL8192SU support (staging)
-  DEPENDS:=@USB_SUPPORT + at DRIVER_WEXT_SUPPORT +kmod-usb-core +rtl8192su-firmware
-  KCONFIG:=\
-	CONFIG_STAGING=y \
-	CONFIG_R8712U
-  FILES:=$(LINUX_DIR)/drivers/staging/rtl8712/r8712u.ko
-  AUTOLOAD:=$(call AutoProbe,r8712u)
-endef
-
-define KernelPackage/net-rtl8192su/description
- Kernel modules for RealTek RTL8712 and RTL81XXSU fullmac support.
-endef
-
-$(eval $(call KernelPackage,net-rtl8192su))




More information about the lede-commits mailing list