kernel: kmod-net-rtl8192su: Remove package
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 7 Aug 2022 11:24:59 +0000 (13:24 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 14 Dec 2022 23:45:28 +0000 (00:45 +0100)
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@hauke-m.de>
(cherry picked from commit 7ebe1dca476ddb2c08f8a1cbbd0522e69c1edc82)

package/firmware/linux-firmware/realtek.mk
package/kernel/linux/modules/wireless.mk

index c883e8ba597e8026d4e0b504f7de4e133f9be22a..e06c3a63694c9a3add5469d8ff23b98e2650fe5a 100644 (file)
@@ -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
index f7a40ba10a10fc15d31ca172ae5871d631247104..5737c39ccfc83c57db787f88c007e808f2d3a406 100644 (file)
@@ -22,21 +22,3 @@ define KernelPackage/net-prism54/description
 endef
 
 $(eval $(call KernelPackage,net-prism54))
-
-
-define KernelPackage/net-rtl8192su
-  SUBMENU:=$(WIRELESS_MENU)
-  TITLE:=RTL8192SU support (staging)
-  DEPENDS:=@USB_SUPPORT +@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))