mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
Without Linux option RTC_CLASS enabled, the build fails with: ERROR: modpost: "rtc_ktime_to_tm" [/home/sszy/development/eb972b781ead357c3e44a880cc1b8e4ab4b15b58/output/build/nxp-mwifiex-lf-6.6.52_2.2.0/./moal.ko] undefined! Fix that by enbaling RTC_CLASS. Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
27 lines
841 B
Makefile
27 lines
841 B
Makefile
################################################################################
|
|
#
|
|
# nxp-mwifiex
|
|
#
|
|
################################################################################
|
|
|
|
NXP_MWIFIEX_VERSION = lf-6.6.52_2.2.0
|
|
NXP_MWIFIEX_SITE = $(call github,nxp-imx,mwifiex,$(NXP_MWIFIEX_VERSION))
|
|
NXP_MWIFIEX_LICENSE = GPL-2.0
|
|
NXP_MWIFIEX_LICENSE_FILES = LICENSE
|
|
|
|
NXP_MWIFIEX_MAKE_OPTS = KERNELDIR=$(LINUX_DIR)
|
|
|
|
define NXP_MWIFIEX_LINUX_CONFIG_FIXUPS
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_NET)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_WIRELESS)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_CFG80211)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_USB_SUPPORT)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_USB)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_MMC)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_PCI)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_RTC_CLASS)
|
|
endef
|
|
|
|
$(eval $(kernel-module))
|
|
$(eval $(generic-package))
|