1 ## SPDX-License-Identifier: GPL-2.0-only
4 ifeq ($(CONFIG_DRIVERS_WIFI_GENERIC
),y
)
6 romstage-y
+= generic.c
8 ramstage-y
+= generic.c
9 ramstage-
$(CONFIG_GENERATE_SMBIOS_TABLES
) += smbios.c
10 ramstage-
$(CONFIG_HAVE_ACPI_TABLES
) += acpi.c
11 ramstage-
$(CONFIG_USE_MTCL
) += mtcl.c
13 CONFIG_WIFI_SAR_CBFS_FILEPATH
:= $(call strip_quotes
,$(CONFIG_WIFI_SAR_CBFS_FILEPATH
))
15 ifneq ($(CONFIG_WIFI_SAR_CBFS_FILEPATH
),)
17 cbfs-files-
$(CONFIG_USE_SAR
) += wifi_sar_defaults.hex
18 wifi_sar_defaults.hex-file
:= $(CONFIG_WIFI_SAR_CBFS_FILEPATH
)
19 wifi_sar_defaults.hex-type
:= raw
23 CONFIG_WIFI_MTCL_CBFS_FILEPATH
:= $(call strip_quotes
,$(CONFIG_WIFI_MTCL_CBFS_FILEPATH
))
25 ifneq ($(CONFIG_WIFI_MTCL_CBFS_FILEPATH
),)
27 cbfs-files-
$(CONFIG_USE_MTCL
) += wifi_mtcl.bin
28 wifi_mtcl.bin-file
:= $(CONFIG_WIFI_MTCL_CBFS_FILEPATH
)
29 wifi_mtcl.bin-type
:= raw