kumquat-buildroot/package/rtl8821au/rtl8821au.mk
Christian Stewart 37ba45c6c2 rtl8821au: new package
This patch adds the rtl8821au wifi driver. The driver is sourced from
ulli-kroll's work on GitHub, which includes various fixes and better LED
handling. Currently USB3 support is broken in this driver - it will
only connect to the EHCI controller in a USB3 port.

Signed-off-by: Christian Stewart <christian@paral.in>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-26 15:08:01 +02:00

26 lines
852 B
Makefile

################################################################################
#
# rtl8821au
#
################################################################################
RTL8821AU_VERSION = f58e4a7fb27551bdbb4aee9db6086dd6ad996c8d
RTL8821AU_SITE = $(call github,ulli-kroll,rtl8821au,$(RTL8821AU_VERSION))
RTL8821AU_LICENSE = GPLv2, proprietary (rtl8821au.bin firmware)
RTL8821AU_LICENSE_FILES = COPYING
RTL8821AU_MODULE_MAKE_OPTS = \
CONFIG_RTL8812AU_8821AU=m \
KVER=$(LINUX_VERSION_PROBED) \
USER_EXTRA_CFLAGS=-DCONFIG_$(call qstrip,$(BR2_ENDIAN))_ENDIAN
define RTL8821AU_FIRMWARE_INSTALL
mkdir -p $(TARGET_DIR)/lib/firmware/rtlwifi/
$(INSTALL) -D -m 0644 $(@D)/firmware/* $(TARGET_DIR)/lib/firmware/rtlwifi/
endef
RTL8821AU_POST_INSTALL_TARGET_HOOKS += RTL8821AU_FIRMWARE_INSTALL
$(eval $(kernel-module))
$(eval $(generic-package))