kumquat-buildroot/package/rtl8188eu/rtl8188eu.mk
Luca Ceresoli ff6ba2f7e5 rtl8188eu: new package
[Thomas:
  - remove patches 0001 and 0002, they are not needed since when using
    the kernel-module infrastructure, we directly call the kernel
    build system and bypass the one provided by the external module
  - install the firmware directly in the Buildroot .mk file, which
    allows to also remove patch 0003.
  - remove RTL8188EU_DEPENDENCIES = linux, since this is already
    handled by the kernel-module infrastructure.]

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-27 23:40:56 +02:00

22 lines
725 B
Makefile

################################################################################
#
# rtl8188eu
#
################################################################################
RTL8188EU_VERSION = 3091828c8f4b4a01cbec6025128bf77e6e7b9f97
RTL8188EU_SITE = $(call github,lwfinger,rtl8188eu,$(RTL8188EU_VERSION))
RTL8188EU_LICENSE = GPLv2, proprietary (rtl8188eufw.bin firmware blob)
RTL8188EU_LICENSE_FILES = COPYING
RTL8188EU_MODULE_MAKE_OPTS = CONFIG_RTL8188EU=m
$(eval $(kernel-module))
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 $(generic-package))