kumquat-buildroot/package/rtl8822cs/rtl8822cs.mk
Vyacheslav d5ff6b9673 package/rtl8822cs: new package
This package adds the rtl88822cs WiFi driver.

   repo: https://github.com/jethome-ru/rtl88x2cs.git
   branch: tune_for_jethub

Driver is known to support Realtek RTL8822CS SDIO WiFi/BT chip.

Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-07-13 23:21:11 +02:00

26 lines
754 B
Makefile

################################################################################
#
# rtl8822cs
#
################################################################################
RTL8822CS_VERSION = b51ab22fffdbe4a8cbb88fcc04b00aa2ca87d0f3
RTL8822CS_SITE = $(call github,jethome-ru,rtl88x2cs,$(RTL8822CS_VERSION))
RTL8822CS_LICENSE = GPL-2.0
RTL8822CS_MODULE_MAKE_OPTS = \
CONFIG_RTL8822CS=m \
KVER=$(LINUX_VERSION_PROBED) \
KSRC=$(LINUX_DIR)
define RTL8822CS_LINUX_CONFIG_FIXUPS
$(call KCONFIG_ENABLE_OPT,CONFIG_NET)
$(call KCONFIG_ENABLE_OPT,CONFIG_WIRELESS)
$(call KCONFIG_ENABLE_OPT,CONFIG_CFG80211)
$(call KCONFIG_ENABLE_OPT,CONFIG_MAC80211)
$(call KCONFIG_ENABLE_OPT,CONFIG_MMC)
endef
$(eval $(kernel-module))
$(eval $(generic-package))