kumquat-buildroot/package/wilc-driver/wilc-driver.mk
Kris Bahnsen f2832d0dfc package/wilc-driver: new package
WILC1000/3000 driver pulled from at91-linux tree set-up to be built
as an external module. Upstream Linux kernel does not support
WILC3000 features at this time. This package is intended to bridge
that gap until WILC1000/3000 is fully supported in kernel.

Signed-off-by: Kris Bahnsen <kris@embeddedTS.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-04-25 22:08:41 +02:00

30 lines
757 B
Makefile

################################################################################
#
# wilc-driver
#
################################################################################
WILC_DRIVER_VERSION = linux4microchip-2021.10-1
WILC_DRIVER_SITE = $(call github,embeddedTS,wilc3000-external-module,$(WILC_DRIVER_VERSION))
WILC_DRIVER_LICENSE = GPL-2.0
WILC_DRIVER_LICENSE_FILES = LICENSE
ifeq ($(BR2_PACKAGE_WILC_DRIVER_SPI),y)
WILC_DRIVER_MODULE_MAKE_OPTS += \
CONFIG_WILC_SPI=m
endif
ifeq ($(BR2_PACKAGE_WILC_DRIVER_SDIO),y)
WILC_DRIVER_MODULE_MAKE_OPTS += \
CONFIG_WILC_SDIO=m
endif
ifeq ($(BR2_PACKAGE_WILC_DRIVER_SDIO_OOB),y)
WILC_DRIVER_MODULE_MAKE_OPTS += \
CONFIG_WILC_HW_OOB_INTR=y
endif
$(eval $(kernel-module))
$(eval $(generic-package))