diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-04-04 03:05:17 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-04-13 13:02:52 +0200 |
commit | 3d28479cb161329a5a5bab5e6c005287e0d003e6 (patch) | |
tree | a506ce980f5b6710a72324eb78b2753396395c48 | |
parent | f9ff353430aae70e5cc04fb32d983b572956bd7d (diff) | |
download | coreboot-3d28479cb161329a5a5bab5e6c005287e0d003e6.tar.xz |
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 <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/9301
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r-- | src/vendorcode/google/chromeos/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
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 |