[coreboot-gerrit] New patch to review for coreboot: drivers/intel/wifi: Only compile if SMBIOS tables are generated

Duncan Laurie (dlaurie@google.com) gerrit at coreboot.org
Tue Jan 19 05:13:26 CET 2016


Duncan Laurie (dlaurie at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13046

-gerrit

commit 658bae9c311f922277b0ad1b115187738b634442
Author: Duncan Laurie <dlaurie at google.com>
Date:   Mon Jan 18 20:09:18 2016 -0800

    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 at google.com>
---
 src/drivers/intel/Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/drivers/intel/Makefile.inc b/src/drivers/intel/Makefile.inc
index 3ddb05f..e54f07b 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



More information about the coreboot-gerrit mailing list