diff options
author | Duncan Laurie <dlaurie@google.com> | 2016-01-18 20:09:18 -0800 |
---|---|---|
committer | Duncan Laurie <dlaurie@google.com> | 2016-01-21 02:26:26 +0100 |
commit | 8faea7d93d34f51e23de2d0ccd5c04b99d1dbbd7 (patch) | |
tree | 31f60aa3fef96efec79181ef08478f1ce1fc9447 /src/drivers | |
parent | 576b7c72647216329e28a2e56807544a94d09851 (diff) |
drivers/intel/wifi: Only compile if SMBIOS tables are generated
This driver adds an SMBIOS table for Intel WiFi, but if SMBIOS
table generation is disabled then it should not attempt to
compile or it will fail to find the "get_smbios_data" member
of the device_operations structure.
Tested by compiling and booting on purism/librem13 with
SMBIOS table generation disabled.
Change-Id: Iac6c265da7daae1be4d7585dab7b54561ff4e631
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/13046
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/intel/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/intel/Makefile.inc b/src/drivers/intel/Makefile.inc index 3ddb05fb20..e54f07b5b5 100644 --- a/src/drivers/intel/Makefile.inc +++ b/src/drivers/intel/Makefile.inc @@ -1,5 +1,5 @@ subdirs-y += gma -subdirs-y += wifi +subdirs-$(CONFIG_GENERATE_SMBIOS_TABLES) += wifi subdirs-$(CONFIG_PLATFORM_USES_FSP1_0) += fsp1_0 subdirs-$(CONFIG_PLATFORM_USES_FSP1_1) += fsp1_1 subdirs-$(CONFIG_DRIVER_INTEL_I210) += i210 |