From 8faea7d93d34f51e23de2d0ccd5c04b99d1dbbd7 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Mon, 18 Jan 2016 20:09:18 -0800 Subject: 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 Reviewed-on: https://review.coreboot.org/13046 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Patrick Georgi --- src/drivers/intel/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3