aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2019-01-21 21:26:34 -0500
committerAndrew Robbins <contact@andrewrobbins.info>2019-01-22 03:13:33 -0500
commitd58306c2c449ae4a4cb737847de191c01b90f7f2 (patch)
tree3ee79836d598a6ffe1f5610a90737eb0ca7848c5
parent6f7846b4f3dcea6cdc3752643d5bb8726d301fc5 (diff)
downloadlibrebootfr-d58306c2c449ae4a4cb737847de191c01b90f7f2.tar.gz
librebootfr-d58306c2c449ae4a4cb737847de191c01b90f7f2.zip
Support declaring dependencies for coreboot targets
Projects listed in projects/coreboot/configs/dependencies are the minimum required by all boards. Dependencies required by a target in addition to those specified in parent dependencies files may be declared in the target's directory, e.g: projects/coreboot/configs/x200/dependencies
-rw-r--r--projects/coreboot/configs/dependencies1
-rwxr-xr-xprojects/coreboot/coreboot8
2 files changed, 9 insertions, 0 deletions
diff --git a/projects/coreboot/configs/dependencies b/projects/coreboot/configs/dependencies
new file mode 100644
index 00000000..9a4386db
--- /dev/null
+++ b/projects/coreboot/configs/dependencies
@@ -0,0 +1 @@
+vboot
diff --git a/projects/coreboot/coreboot b/projects/coreboot/coreboot
index f7cfd2d9..046a4de1 100755
--- a/projects/coreboot/coreboot
+++ b/projects/coreboot/coreboot
@@ -24,6 +24,14 @@ usage() {
project_usage_arguments "$project" "$@"
}
+dependencies() {
+ project_dependencies "$project" "$@"
+}
+
+dependencies_check() {
+ project_dependencies_check "$project" "$@"
+}
+
download() {
local repository=$project