summaryrefslogtreecommitdiff
path: root/src/Kconfig
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2012-04-30 21:06:10 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2012-05-01 00:09:27 +0200
commit7e9b9d893c08e5cf92a4620df476238008511ecd (patch)
treec47ff0d4f762a96d014b2fce3820912b23d1624b /src/Kconfig
parent1db6e2aa197bd8f8ed702f77d6a1e09267af71ee (diff)
downloadcoreboot-7e9b9d893c08e5cf92a4620df476238008511ecd.tar.xz
Add Kconfig options to handle the blobs repository
One option to allow using the repo (defaults to no), one to let boards state that they require it in the current configuration. The build system checks out the repo if allowed, and fails if the repo is requested by the configuration but not desired by the user. Change-Id: If71d80b329cf528aa467fcb0b4d9d7c7434aab27 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/957 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig
index e8a560df24..d449b30b84 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -175,6 +175,24 @@ config COLLECT_TIMESTAMPS
Make coreboot create a table of timer-ID/timer-value pairs to
allow measuring time spent at different phases of the boot process.
+config USE_BLOBS
+ bool "Allow use of binary-only repository"
+ default n
+ help
+ This draws in the blobs repository, which contains binary files that
+ might be required for some chipsets or boards.
+ This flag ensures that a "Free" option remains available for users.
+
+config REQUIRES_BLOB
+ bool
+ default n
+ help
+ This option can be configured by boards that require the blobs
+ repository for the default configuration. It will make the build
+ fail if USE_BLOBS is disabled. Users that still desire to do a
+ coreboot build for such a board can override this manually, but
+ this option serves as warning that it might fail.
+
endmenu
source src/mainboard/Kconfig