From 3d28479cb161329a5a5bab5e6c005287e0d003e6 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 4 Apr 2015 03:05:17 +0200 Subject: Fix dependency issue in Chrome OS vendor code make *config was complaining about mainboards selecting a virtual dev switch when CONFIG_CHROMEOS is not enabled. While the long term cleanup should be to move the option out of CONFIG_CHROMEOS and make it not be a user changeable option, this approach is contained to vendorcode/ and gets rid of the warning. Change-Id: Id090eb31d1307af7a0d1f9fbe641534dc24b24a9 Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/9301 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/vendorcode/google/chromeos/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/vendorcode/google/chromeos') diff --git a/src/vendorcode/google/chromeos/Kconfig b/src/vendorcode/google/chromeos/Kconfig index cb15d13df2..214f0ba494 100644 --- a/src/vendorcode/google/chromeos/Kconfig +++ b/src/vendorcode/google/chromeos/Kconfig @@ -169,4 +169,12 @@ source src/vendorcode/google/chromeos/vboot1/Kconfig source src/vendorcode/google/chromeos/vboot2/Kconfig endif # CHROMEOS +if !CHROMEOS +config VIRTUAL_DEV_SWITCH + bool + default n + depends on MAINBOARD_HAS_CHROMEOS + help + Whether this platform has a virtual developer switch. +endif endmenu -- cgit v1.2.3