2018-12-13 23:22:32 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=rtl8812au-ct
|
2021-02-19 00:34:43 +00:00
|
|
|
PKG_RELEASE=1
|
2018-12-13 23:22:32 +00:00
|
|
|
|
|
|
|
PKG_LICENSE:=GPLv2
|
|
|
|
PKG_LICENSE_FILES:=
|
|
|
|
|
|
|
|
PKG_SOURCE_URL:=https://github.com/greearb/rtl8812AU_8821AU_linux.git
|
2024-03-25 09:03:26 +00:00
|
|
|
PKG_MIRROR_HASH:=880c0ddd968a8f4bfdf4263318e925635c9abe4cc20a79bbdc905d46e00018d0
|
2018-12-13 23:22:32 +00:00
|
|
|
PKG_SOURCE_PROTO:=git
|
2023-08-15 22:11:45 +00:00
|
|
|
PKG_SOURCE_DATE:=2022-10-26
|
|
|
|
PKG_SOURCE_VERSION:=9b2b203a217e1320602a0eb07c338a1bfca0f5a6
|
2018-12-13 23:22:32 +00:00
|
|
|
|
|
|
|
PKG_MAINTAINER:=Ben Greear <greearb@candelatech.com>
|
|
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
#PKG_EXTMOD_SUBDIRS:=rtl8812au-ct
|
|
|
|
|
|
|
|
STAMP_CONFIGURED_DEPENDS := $(STAGING_DIR)/usr/include/mac80211-backport/backport/autoconf.h
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define KernelPackage/rtl8812au-ct
|
|
|
|
SUBMENU:=Wireless Drivers
|
|
|
|
TITLE:=Driver for Realtek 8812 AU devices comfast 912-ac, etc
|
2022-11-26 11:58:21 +00:00
|
|
|
DEPENDS:=+kmod-cfg80211 +kmod-usb-core +@DRIVER_11AC_SUPPORT
|
2018-12-13 23:22:32 +00:00
|
|
|
FILES:=\
|
|
|
|
$(PKG_BUILD_DIR)/rtl8812au.ko
|
|
|
|
AUTOLOAD:=$(call AutoProbe,rtl8812au)
|
|
|
|
PROVIDES:=kmod-rtl8812au
|
|
|
|
endef
|
|
|
|
|
2021-03-18 06:22:11 +00:00
|
|
|
NOSTDINC_FLAGS := \
|
|
|
|
$(KERNEL_NOSTDINC_FLAGS) \
|
2018-12-13 23:22:32 +00:00
|
|
|
-I$(PKG_BUILD_DIR) \
|
|
|
|
-I$(PKG_BUILD_DIR)/include \
|
|
|
|
-I$(STAGING_DIR)/usr/include/mac80211-backport \
|
|
|
|
-I$(STAGING_DIR)/usr/include/mac80211-backport/uapi \
|
|
|
|
-I$(STAGING_DIR)/usr/include/mac80211 \
|
|
|
|
-I$(STAGING_DIR)/usr/include/mac80211/uapi \
|
2022-12-19 00:40:04 +00:00
|
|
|
-include backport/backport.h \
|
|
|
|
-Wno-error=address \
|
|
|
|
-Wno-error=stringop-overread
|
2018-12-13 23:22:32 +00:00
|
|
|
|
|
|
|
NOSTDINC_FLAGS+=-DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT -DBUILD_OPENWRT
|
|
|
|
|
|
|
|
define Build/Compile
|
2022-12-14 21:34:19 +00:00
|
|
|
+$(KERNEL_MAKE) $(PKG_JOBS) \
|
2020-01-20 14:42:00 +00:00
|
|
|
M="$(PKG_BUILD_DIR)" \
|
2018-12-13 23:22:32 +00:00
|
|
|
NOSTDINC_FLAGS="$(NOSTDINC_FLAGS)" \
|
|
|
|
modules
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,rtl8812au-ct))
|