kumquat-buildroot/package/rtl8821au/rtl8821au.mk
Christian Stewart 4d33573aa5 package/rtl8821au: set CONFIG_RTL8821AU properly
Due to a recent update in the code, CONFIG_RTL8821AU=m is the expected
kernel configuration environment variable to be set, not
CONFIG_RTL8812AU_8821AU=m as was previously set.

Presently the package does effectively nothing.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 19:36:24 +02:00

26 lines
845 B
Makefile

################################################################################
#
# rtl8821au
#
################################################################################
RTL8821AU_VERSION = 116a3abe7783b023655e9917afe2d1eabe178028
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_RTL8821AU=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))