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>
This commit is contained in:
Stefan Reinauer 2015-04-04 03:05:17 +02:00 committed by Patrick Georgi
parent f9ff353430
commit 3d28479cb1
1 changed files with 8 additions and 0 deletions

View File

@ -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