Martin Roth | 8324fe9 | 2023-08-04 12:07:51 -0600 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
Furquan Shaikh | 507a98b | 2020-10-27 15:28:21 -0700 | [diff] [blame] | 3 | |
| 4 | ifeq ($(CONFIG_DRIVERS_WIFI_GENERIC),y) |
| 5 | |
Tim Wawrzynczak | 6f73a20 | 2022-02-04 12:45:37 -0700 | [diff] [blame] | 6 | romstage-y += generic.c |
| 7 | |
Furquan Shaikh | 507a98b | 2020-10-27 15:28:21 -0700 | [diff] [blame] | 8 | ramstage-y += generic.c |
| 9 | ramstage-$(CONFIG_GENERATE_SMBIOS_TABLES) += smbios.c |
Furquan Shaikh | 2736c82 | 2020-10-27 19:46:11 -0700 | [diff] [blame] | 10 | ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c |
Furquan Shaikh | f223863 | 2020-10-04 17:45:22 -0700 | [diff] [blame] | 11 | |
Furquan Shaikh | 31f6320 | 2021-03-13 22:34:57 -0800 | [diff] [blame] | 12 | CONFIG_WIFI_SAR_CBFS_FILEPATH := $(call strip_quotes,$(CONFIG_WIFI_SAR_CBFS_FILEPATH)) |
| 13 | |
| 14 | ifneq ($(CONFIG_WIFI_SAR_CBFS_FILEPATH),) |
| 15 | |
| 16 | cbfs-files-$(CONFIG_USE_SAR) += wifi_sar_defaults.hex |
| 17 | wifi_sar_defaults.hex-file := $(CONFIG_WIFI_SAR_CBFS_FILEPATH) |
Furquan Shaikh | f223863 | 2020-10-04 17:45:22 -0700 | [diff] [blame] | 18 | wifi_sar_defaults.hex-type := raw |
Furquan Shaikh | 507a98b | 2020-10-27 15:28:21 -0700 | [diff] [blame] | 19 | |
| 20 | endif |
Furquan Shaikh | 31f6320 | 2021-03-13 22:34:57 -0800 | [diff] [blame] | 21 | |
| 22 | endif |