39da908f01
This allows to build against newer kernels (up to 5.10). Added support for new HW (Edimax EW-7811Un V2, RTL8188FU, MERCUSYS MW150US v2, various RTL8188CE) Tested on kernel v5.9. Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
21 lines
726 B
Makefile
21 lines
726 B
Makefile
################################################################################
|
|
#
|
|
# rtl8188eu
|
|
#
|
|
################################################################################
|
|
|
|
RTL8188EU_VERSION = 60cb0b5a3cfc95e3f2e6fc294a28d987096b0559
|
|
RTL8188EU_SITE = $(call github,lwfinger,rtl8188eu,$(RTL8188EU_VERSION))
|
|
RTL8188EU_LICENSE = GPL-2.0, proprietary (rtl8188eufw.bin firmware blob)
|
|
RTL8188EU_LICENSE_FILES = COPYING
|
|
RTL8188EU_MODULE_MAKE_OPTS = CONFIG_RTL8188EU=m
|
|
|
|
define RTL8188EU_INSTALL_FIRMWARE
|
|
$(INSTALL) -D -m 644 $(@D)/rtl8188eufw.bin \
|
|
$(TARGET_DIR)/lib/firmware/rtlwifi/rtl8188eufw.bin
|
|
endef
|
|
RTL8188EU_POST_INSTALL_TARGET_HOOKS += RTL8188EU_INSTALL_FIRMWARE
|
|
|
|
$(eval $(kernel-module))
|
|
$(eval $(generic-package))
|