tree: git://git.infradead.org/users/dvhart/linux-platform-drivers-x86.git testing head: 1fd7ad4be77160c4a6c6deca62c3b9c728836b7d commit: 1fd7ad4be77160c4a6c6deca62c3b9c728836b7d [6/6] platform/x86: dell-smbios: Resolve dependency error on DCDBAS config: sh-allmodconfig (attached as .config) compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 1fd7ad4be77160c4a6c6deca62c3b9c728836b7d # save the attached .config to linux build tree make.cross ARCH=sh All errors (new ones prefixed by >>): >> drivers/platform/x86/Kconfig:128:error: recursive dependency detected! >> drivers/platform/x86/Kconfig:128: symbol DELL_SMBIOS_USING_DCDBAS is selected by DELL_SMBIOS_SMM >> drivers/platform/x86/Kconfig:145: symbol DELL_SMBIOS_SMM depends on DELL_SMBIOS >> drivers/platform/x86/Kconfig:114: symbol DELL_SMBIOS depends on DELL_SMBIOS_USING_DCDBAS For a resolution refer to Documentation/kbuild/kconfig-language.txt subsection "Kconfig recursive dependency limitations" vim +128 drivers/platform/x86/Kconfig 17 18 config ACER_WMI 19 tristate "Acer WMI Laptop Extras" 20 depends on ACPI 21 select LEDS_CLASS 22 select NEW_LEDS 23 depends on BACKLIGHT_CLASS_DEVICE 24 depends on SERIO_I8042 25 depends on INPUT 26 depends on RFKILL || RFKILL = n 27 depends on ACPI_WMI 28 select INPUT_SPARSEKMAP 29 # Acer WMI depends on ACPI_VIDEO when ACPI is enabled 30 select ACPI_VIDEO if ACPI 31 ---help--- 32 This is a driver for newer Acer (and Wistron) laptops. It adds 33 wireless radio and bluetooth control, and on some laptops, 34 exposes the mail LED and LCD backlight. 35 36 If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M 37 here. 38 39 config ACER_WIRELESS 40 tristate "Acer Wireless Radio Control Driver" 41 depends on ACPI 42 depends on INPUT 43 ---help--- 44 The Acer Wireless Radio Control handles the airplane mode hotkey 45 present on new Acer laptops. 46 47 Say Y or M here if you have an Acer notebook with an airplane mode 48 hotkey. 49 50 If you choose to compile this driver as a module the module will be 51 called acer-wireless. 52 53 config ACERHDF 54 tristate "Acer Aspire One temperature and fan driver" 55 depends on ACPI && THERMAL 56 select THERMAL_GOV_BANG_BANG 57 ---help--- 58 This is a driver for Acer Aspire One netbooks. It allows to access 59 the temperature sensor and to control the fan. 60 61 After loading this driver the BIOS is still in control of the fan. 62 To let the kernel handle the fan, do: 63 echo -n enabled > /sys/class/thermal/thermal_zone0/mode 64 65 For more information about this driver see 66 <http://piie.net/files/acerhdf_README.txt> 67 68 If you have an Acer Aspire One netbook, say Y or M 69 here. 70 71 config ALIENWARE_WMI 72 tristate "Alienware Special feature control" 73 depends on ACPI 74 depends on LEDS_CLASS 75 depends on NEW_LEDS 76 depends on ACPI_WMI 77 ---help--- 78 This is a driver for controlling Alienware BIOS driven 79 features. It exposes an interface for controlling the AlienFX 80 zones on Alienware machines that don't contain a dedicated AlienFX 81 USB MCU such as the X51 and X51-R2. 82 83 config ASUS_LAPTOP 84 tristate "Asus Laptop Extras" 85 depends on ACPI 86 select LEDS_CLASS 87 select NEW_LEDS 88 depends on BACKLIGHT_CLASS_DEVICE 89 depends on INPUT 90 depends on RFKILL || RFKILL = n 91 depends on ACPI_VIDEO || ACPI_VIDEO = n 92 select INPUT_SPARSEKMAP 93 select INPUT_POLLDEV 94 ---help--- 95 This is a driver for Asus laptops, Lenovo SL and the Pegatron 96 Lucid tablet. It may also support some MEDION, JVC or VICTOR 97 laptops. It makes all the extra buttons generate standard 98 ACPI events and input events, and on the Lucid the built-in 99 accelerometer appears as an input device. It also adds 100 support for video output switching, LCD backlight control, 101 Bluetooth and Wlan control, and most importantly, allows you 102 to blink those fancy LEDs. 103 104 For more information see <http://acpi4asus.sf.net>. 105 106 If you have an ACPI-compatible ASUS laptop, say Y or M here. 107 108 # 109 # If the DELL_SMBIOS_SMM feature is enabled, the DELL_SMBIOS driver 110 # becomes dependent on the DCDBAS driver. The "depends" line enforces 111 # that conditional dependency, by preventing a configuration where 112 # DELL_SMBIOS_SMM is enabled and DELL_SMBIOS=y while DCDBAS=m. 113 # > 114 config DELL_SMBIOS 115 tristate "Dell SMBIOS driver" 116 depends on !DELL_SMBIOS_USING_DCDBAS || (DCDBAS || DCDBAS=n) 117 ---help--- 118 This provides support for the Dell SMBIOS calling interface. 119 If you have a Dell computer you should enable this option. 120 121 Be sure to select at least one backend for it to work properly. 122 123 # 124 # This decouples what would otherwise be a recursive dependency between 125 # DELL_SMBIOS and DELL_SMBIOS_SMM. If DELL_SMBIOS_SMM is selected, then 126 # DELL_SMBIOS needs to depend on DCDBAS. 127 # > 128 config DELL_SMBIOS_USING_DCDBAS 129 bool 130 131 config DELL_SMBIOS_WMI 132 bool "Dell SMBIOS driver WMI backend" 133 default y 134 depends on ACPI_WMI 135 select DELL_WMI_DESCRIPTOR 136 depends on DELL_SMBIOS 137 ---help--- 138 This provides an implementation for the Dell SMBIOS calling interface 139 communicated over ACPI-WMI. 140 141 If you have a Dell computer from >2007 you should say Y here. 142 If you aren't sure and this module doesn't work for your computer 143 it just won't load. 144 > 145 config DELL_SMBIOS_SMM 146 bool "Dell SMBIOS driver SMM backend" 147 default y 148 depends on DCDBAS 149 depends on DELL_SMBIOS 150 select DELL_SMBIOS_USING_DCDBAS 151 ---help--- 152 This provides an implementation for the Dell SMBIOS calling interface 153 communicated over SMI/SMM. 154 155 If you have a Dell computer from <=2017 you should say Y here. 156 If you aren't sure and this module doesn't work for your computer 157 it just won't load. 158 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip