Build system: Update HAVE_CMOS_DEFAULT

- Don't build the cmos.default file into cbfs if USE_OPTION_TABLE
isn't specified.
- Don't allow HAVE_CMOS_DEFAULT if HAVE_OPTION_TABLE isn't set.

Change-Id: I92401e892f09fc95d4b3fd7418cdbd10ed033fa8
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/17454
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Martin Roth
2016-11-16 15:45:22 -07:00
parent 3c20906e42
commit f76303e29e
2 changed files with 3 additions and 0 deletions

View File

@@ -149,6 +149,7 @@ config BOOTBLOCK_SAVE_BIST_AND_TIMESTAMP
config HAVE_CMOS_DEFAULT
def_bool n
depends on HAVE_OPTION_TABLE
config CMOS_DEFAULT_FILE
string