Initial Commit
- initial default booting image
This commit is contained in:
12
package/rtl8821cu/Config.in
Normal file
12
package/rtl8821cu/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
comment "rtl8821cu needs a Linux kernel to be built"
|
||||
depends on !BR2_s390x
|
||||
depends on !BR2_LINUX_KERNEL
|
||||
|
||||
config BR2_PACKAGE_RTL8821CU
|
||||
bool "rtl8821cu"
|
||||
depends on !BR2_s390x
|
||||
depends on BR2_LINUX_KERNEL
|
||||
help
|
||||
rtl8821cu wifi driver
|
||||
|
||||
https://github.com/brektrou/rtl8821CU
|
||||
3
package/rtl8821cu/rtl8821cu.hash
Normal file
3
package/rtl8821cu/rtl8821cu.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 c471f8a73efb5985b4e880e40de439ac8837241c74d3b7f8cc06a1bbfcc85075 rtl8821cu-7f63a9da2e8ed83403f6f920e9b1628a37b38ef4.tar.gz
|
||||
sha256 22cdb0a9cf492dbf05c5b27381a5c0e73ae0d4622427b522b0ba92b7495e5fb0 LICENSE
|
||||
39
package/rtl8821cu/rtl8821cu.mk
Normal file
39
package/rtl8821cu/rtl8821cu.mk
Normal file
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
#
|
||||
# rtl8821cu
|
||||
#
|
||||
################################################################################
|
||||
|
||||
RTL8821CU_VERSION = 7f63a9da2e8ed83403f6f920e9b1628a37b38ef4
|
||||
RTL8821CU_SITE = $(call github,morrownr,8821cu-20210916,$(RTL8821CU_VERSION))
|
||||
RTL8821CU_LICENSE = GPL-2.0
|
||||
RTL8821CU_LICENSE_FILES = LICENSE
|
||||
|
||||
define RTL8821CU_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_USB_SUPPORT)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_USB)
|
||||
endef
|
||||
|
||||
RTL8821CU_USER_EXTRA_CFLAGS = \
|
||||
-DCONFIG_$(call qstrip,$(BR2_ENDIAN))_ENDIAN \
|
||||
-DCONFIG_IOCTL_CFG80211 \
|
||||
-DRTW_USE_CFG80211_STA_EVENT \
|
||||
-Wno-error
|
||||
|
||||
RTL8821CU_MODULE_MAKE_OPTS = \
|
||||
CONFIG_PLATFORM_AUTODETECT=n \
|
||||
CONFIG_RTL8821CU=m \
|
||||
KVER=$(LINUX_VERSION_PROBED) \
|
||||
USER_EXTRA_CFLAGS="$(RTL8821CU_USER_EXTRA_CFLAGS)"
|
||||
|
||||
define RTL8821CU_INSTALL_MODPROBE_CONF
|
||||
$(INSTALL) -m 0644 -D $(@D)/8821cu.conf \
|
||||
$(TARGET_DIR)/etc/modprobe.d/8821cu.conf
|
||||
endef
|
||||
RTL8821CU_POST_INSTALL_TARGET_HOOKS += RTL8821CU_INSTALL_MODPROBE_CONF
|
||||
|
||||
$(eval $(kernel-module))
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user