diff options
116 files changed, 199 insertions, 2 deletions
diff --git a/libs/common b/libs/common index da6fe754..a27ff785 100755 --- a/libs/common +++ b/libs/common @@ -34,6 +34,7 @@ VARIANTS="variants" BLOBS="blobs" BLOBS_IGNORE="blobs-ignore" BLOBS_DISCOVER="blobs-discover" +DEPENDENCIES="dependencies" DOTEPOCH=".epoch" DOTRNDSEED=".rndseed" diff --git a/libs/project b/libs/project index 99d29927..a073beef 100755 --- a/libs/project +++ b/libs/project @@ -1,6 +1,7 @@ #!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski <contact@paulk.fr> +# Copyright (C) 2018 Andrew Robbins <contact@andrewrobbins.info> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -15,9 +16,9 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -PROJECT_ACTIONS_GENERIC=(usage download extract update build install release clean) +PROJECT_ACTIONS_GENERIC=(usage dependencies download extract update build install release clean) PROJECT_ACTIONS_GENERIC_IGNORE_CHECK=(usage clean) -PROJECT_ACTIONS_HELPERS=(arguments) +PROJECT_ACTIONS_HELPERS=(arguments dependencies) INSTALL_REGEX='\([^:]*\):\(.*\)' @@ -55,6 +56,76 @@ project_check() { fi } +project_dependencies() { + local project=$1 + shift + + local -a dependencies + mapfile -t dependencies < <(project_file_contents_herit "$project" "$CONFIGS" "$DEPENDENCIES" "$@") + + if [[ -n ${dependencies[*]} ]]; then + printf '%s\n' "${dependencies[@]}" + fi +} + +project_dependencies_check() { + local project=$1 + shift + + local -a dependencies + mapfile -t dependencies < <(project_dependencies "$project" "$@") + + local -i count=${#dependencies[@]} + local -i missing=0 + + for ((i = 0; i < count; i++)); do + local -a dependency=(${dependencies[i]}) + + project_check "${dependency[0]}" || let missing++ + done + + return $missing +} + +project_dependencies_sources_check() { + local project=$1 + shift + + local -a dependencies + mapfile -t dependencies < <(project_dependencies "$project" "$@") + + local -i count=${#dependencies[@]} + local -i missing=0 + + for ((i = 0; i < count; i++)); do + local -a dependency=(${dependencies[i]}) + + project_sources_directory_filled_check "${dependency[0]}" \ + || let missing++ + done + + return $missing +} + +project_dependencies_action_arguments() { + local action=$1 + local project=$2 + shift 2 + + local -a dependencies + mapfile -t dependencies < <(project_dependencies "$project" "$@") + + local -i count=${#dependencies[@]} + + for ((i = 0; i < count; i++)); do + local -a dependency=(${dependencies[i]}) + + if project_function_check "${dependency[0]}" "$action"; then + project_action_arguments "$action" "${dependency[@]}" + fi + done +} + project_function_check() { local project=$1 local function=$2 diff --git a/projects/coreboot/configs/d510mo/16mb/textmode/grub/dependencies b/projects/coreboot/configs/d510mo/16mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/d510mo/16mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/d510mo/16mb/textmode/seabios/dependencies b/projects/coreboot/configs/d510mo/16mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/d510mo/16mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/d510mo/1mb/textmode/grub/dependencies b/projects/coreboot/configs/d510mo/1mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/d510mo/1mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/d510mo/1mb/textmode/seabios/dependencies b/projects/coreboot/configs/d510mo/1mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/d510mo/1mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/d510mo/dependencies b/projects/coreboot/configs/d510mo/dependencies new file mode 100644 index 00000000..03883144 --- /dev/null +++ b/projects/coreboot/configs/d510mo/dependencies @@ -0,0 +1 @@ +crossgcc i386 diff --git a/projects/coreboot/configs/d945gclf/16mb/textmode/grub/dependencies b/projects/coreboot/configs/d945gclf/16mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/d945gclf/16mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/d945gclf/16mb/textmode/seabios/dependencies b/projects/coreboot/configs/d945gclf/16mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/d945gclf/16mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/d945gclf/1mb/textmode/grub/dependencies b/projects/coreboot/configs/d945gclf/1mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/d945gclf/1mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/d945gclf/1mb/textmode/seabios/dependencies b/projects/coreboot/configs/d945gclf/1mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/d945gclf/1mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/d945gclf/512kb/textmode/seabios/dependencies b/projects/coreboot/configs/d945gclf/512kb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/d945gclf/512kb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/d945gclf/dependencies b/projects/coreboot/configs/d945gclf/dependencies new file mode 100644 index 00000000..03883144 --- /dev/null +++ b/projects/coreboot/configs/d945gclf/dependencies @@ -0,0 +1 @@ +crossgcc i386 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/configs/ga-g41m-es2l/16mb/corebootfb/grub/dependencies b/projects/coreboot/configs/ga-g41m-es2l/16mb/corebootfb/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/16mb/corebootfb/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/ga-g41m-es2l/16mb/corebootfb/seabios/dependencies b/projects/coreboot/configs/ga-g41m-es2l/16mb/corebootfb/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/16mb/corebootfb/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/ga-g41m-es2l/16mb/textmode/grub/dependencies b/projects/coreboot/configs/ga-g41m-es2l/16mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/16mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/ga-g41m-es2l/16mb/textmode/seabios/dependencies b/projects/coreboot/configs/ga-g41m-es2l/16mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/16mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/ga-g41m-es2l/1mb/corebootfb/grub/dependencies b/projects/coreboot/configs/ga-g41m-es2l/1mb/corebootfb/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/1mb/corebootfb/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/ga-g41m-es2l/1mb/corebootfb/seabios/dependencies b/projects/coreboot/configs/ga-g41m-es2l/1mb/corebootfb/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/1mb/corebootfb/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/ga-g41m-es2l/1mb/textmode/grub/dependencies b/projects/coreboot/configs/ga-g41m-es2l/1mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/1mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/ga-g41m-es2l/1mb/textmode/seabios/dependencies b/projects/coreboot/configs/ga-g41m-es2l/1mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/1mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/ga-g41m-es2l/dependencies b/projects/coreboot/configs/ga-g41m-es2l/dependencies new file mode 100644 index 00000000..03883144 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/dependencies @@ -0,0 +1 @@ +crossgcc i386 diff --git a/projects/coreboot/configs/kcma-d8/16mb/textmode/grub/dependencies b/projects/coreboot/configs/kcma-d8/16mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/kcma-d8/16mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/kcma-d8/16mb/textmode/seabios/dependencies b/projects/coreboot/configs/kcma-d8/16mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/kcma-d8/16mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/kcma-d8/2mb/textmode/grub/dependencies b/projects/coreboot/configs/kcma-d8/2mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/kcma-d8/2mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/kcma-d8/2mb/textmode/seabios/dependencies b/projects/coreboot/configs/kcma-d8/2mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/kcma-d8/2mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/kcma-d8/dependencies b/projects/coreboot/configs/kcma-d8/dependencies new file mode 100644 index 00000000..03883144 --- /dev/null +++ b/projects/coreboot/configs/kcma-d8/dependencies @@ -0,0 +1 @@ +crossgcc i386 diff --git a/projects/coreboot/configs/kfsn4-dre/1mb/corebootfb/grub/dependencies b/projects/coreboot/configs/kfsn4-dre/1mb/corebootfb/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/1mb/corebootfb/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/kfsn4-dre/1mb/corebootfb/seabios/dependencies b/projects/coreboot/configs/kfsn4-dre/1mb/corebootfb/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/1mb/corebootfb/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/kfsn4-dre/1mb/textmode/grub/dependencies b/projects/coreboot/configs/kfsn4-dre/1mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/1mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/kfsn4-dre/1mb/textmode/seabios/dependencies b/projects/coreboot/configs/kfsn4-dre/1mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/1mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/kfsn4-dre/2mb/corebootfb/grub/dependencies b/projects/coreboot/configs/kfsn4-dre/2mb/corebootfb/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/2mb/corebootfb/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/kfsn4-dre/2mb/corebootfb/seabios/dependencies b/projects/coreboot/configs/kfsn4-dre/2mb/corebootfb/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/2mb/corebootfb/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/kfsn4-dre/2mb/textmode/grub/dependencies b/projects/coreboot/configs/kfsn4-dre/2mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/2mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/kfsn4-dre/2mb/textmode/seabios/dependencies b/projects/coreboot/configs/kfsn4-dre/2mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/2mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/kfsn4-dre/dependencies b/projects/coreboot/configs/kfsn4-dre/dependencies new file mode 100644 index 00000000..03883144 --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/dependencies @@ -0,0 +1 @@ +crossgcc i386 diff --git a/projects/coreboot/configs/kgpe-d16/16mb/textmode/grub/dependencies b/projects/coreboot/configs/kgpe-d16/16mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/kgpe-d16/16mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/kgpe-d16/16mb/textmode/seabios/dependencies b/projects/coreboot/configs/kgpe-d16/16mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/kgpe-d16/16mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/kgpe-d16/2mb/textmode/grub/dependencies b/projects/coreboot/configs/kgpe-d16/2mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/kgpe-d16/2mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/kgpe-d16/2mb/textmode/seabios/dependencies b/projects/coreboot/configs/kgpe-d16/2mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/kgpe-d16/2mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/kgpe-d16/dependencies b/projects/coreboot/configs/kgpe-d16/dependencies new file mode 100644 index 00000000..03883144 --- /dev/null +++ b/projects/coreboot/configs/kgpe-d16/dependencies @@ -0,0 +1 @@ +crossgcc i386 diff --git a/projects/coreboot/configs/macbook21/16mb/corebootfb/grub/dependencies b/projects/coreboot/configs/macbook21/16mb/corebootfb/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/macbook21/16mb/corebootfb/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/macbook21/16mb/corebootfb/seabios/dependencies b/projects/coreboot/configs/macbook21/16mb/corebootfb/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/macbook21/16mb/corebootfb/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/macbook21/16mb/textmode/grub/dependencies b/projects/coreboot/configs/macbook21/16mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/macbook21/16mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/macbook21/16mb/textmode/seabios/dependencies b/projects/coreboot/configs/macbook21/16mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/macbook21/16mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/macbook21/2mb/corebootfb/grub/dependencies b/projects/coreboot/configs/macbook21/2mb/corebootfb/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/macbook21/2mb/corebootfb/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/macbook21/2mb/corebootfb/seabios/dependencies b/projects/coreboot/configs/macbook21/2mb/corebootfb/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/macbook21/2mb/corebootfb/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/macbook21/2mb/textmode/grub/dependencies b/projects/coreboot/configs/macbook21/2mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/macbook21/2mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/macbook21/2mb/textmode/seabios/dependencies b/projects/coreboot/configs/macbook21/2mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/macbook21/2mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/macbook21/dependencies b/projects/coreboot/configs/macbook21/dependencies new file mode 100644 index 00000000..03883144 --- /dev/null +++ b/projects/coreboot/configs/macbook21/dependencies @@ -0,0 +1 @@ +crossgcc i386 diff --git a/projects/coreboot/configs/nyan/big/16mb/corebootfb/depthcharge/dependencies b/projects/coreboot/configs/nyan/big/16mb/corebootfb/depthcharge/dependencies new file mode 100644 index 00000000..491f196e --- /dev/null +++ b/projects/coreboot/configs/nyan/big/16mb/corebootfb/depthcharge/dependencies @@ -0,0 +1 @@ +depthcharge nyan big diff --git a/projects/coreboot/configs/nyan/big/4mb/corebootfb/depthcharge/dependencies b/projects/coreboot/configs/nyan/big/4mb/corebootfb/depthcharge/dependencies new file mode 100644 index 00000000..491f196e --- /dev/null +++ b/projects/coreboot/configs/nyan/big/4mb/corebootfb/depthcharge/dependencies @@ -0,0 +1 @@ +depthcharge nyan big diff --git a/projects/coreboot/configs/nyan/blaze/16mb/corebootfb/depthcharge/dependencies b/projects/coreboot/configs/nyan/blaze/16mb/corebootfb/depthcharge/dependencies new file mode 100644 index 00000000..6dd9fb46 --- /dev/null +++ b/projects/coreboot/configs/nyan/blaze/16mb/corebootfb/depthcharge/dependencies @@ -0,0 +1 @@ +depthcharge nyan blaze diff --git a/projects/coreboot/configs/nyan/blaze/4mb/corebootfb/depthcharge/dependencies b/projects/coreboot/configs/nyan/blaze/4mb/corebootfb/depthcharge/dependencies new file mode 100644 index 00000000..6dd9fb46 --- /dev/null +++ b/projects/coreboot/configs/nyan/blaze/4mb/corebootfb/depthcharge/dependencies @@ -0,0 +1 @@ +depthcharge nyan blaze diff --git a/projects/coreboot/configs/nyan/dependencies b/projects/coreboot/configs/nyan/dependencies new file mode 100644 index 00000000..97e3f62c --- /dev/null +++ b/projects/coreboot/configs/nyan/dependencies @@ -0,0 +1,2 @@ +cros-ec +crossgcc arm diff --git a/projects/coreboot/configs/qemu_i440fx_piix4/dependencies b/projects/coreboot/configs/qemu_i440fx_piix4/dependencies new file mode 100644 index 00000000..03883144 --- /dev/null +++ b/projects/coreboot/configs/qemu_i440fx_piix4/dependencies @@ -0,0 +1 @@ +crossgcc i386 diff --git a/projects/coreboot/configs/qemu_q35_ich9/dependencies b/projects/coreboot/configs/qemu_q35_ich9/dependencies new file mode 100644 index 00000000..03883144 --- /dev/null +++ b/projects/coreboot/configs/qemu_q35_ich9/dependencies @@ -0,0 +1 @@ +crossgcc i386 diff --git a/projects/coreboot/configs/t400/16mb/corebootfb/grub/dependencies b/projects/coreboot/configs/t400/16mb/corebootfb/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/t400/16mb/corebootfb/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/t400/16mb/corebootfb/seabios/dependencies b/projects/coreboot/configs/t400/16mb/corebootfb/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/t400/16mb/corebootfb/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/t400/16mb/textmode/grub/dependencies b/projects/coreboot/configs/t400/16mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/t400/16mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/t400/16mb/textmode/seabios/dependencies b/projects/coreboot/configs/t400/16mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/t400/16mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/t400/4mb/corebootfb/grub/dependencies b/projects/coreboot/configs/t400/4mb/corebootfb/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/t400/4mb/corebootfb/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/t400/4mb/corebootfb/seabios/dependencies b/projects/coreboot/configs/t400/4mb/corebootfb/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/t400/4mb/corebootfb/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/t400/4mb/textmode/grub/dependencies b/projects/coreboot/configs/t400/4mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/t400/4mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/t400/4mb/textmode/seabios/dependencies b/projects/coreboot/configs/t400/4mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/t400/4mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/t400/8mb/corebootfb/grub/dependencies b/projects/coreboot/configs/t400/8mb/corebootfb/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/t400/8mb/corebootfb/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/t400/8mb/corebootfb/seabios/dependencies b/projects/coreboot/configs/t400/8mb/corebootfb/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/t400/8mb/corebootfb/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/t400/8mb/textmode/grub/dependencies b/projects/coreboot/configs/t400/8mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/t400/8mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/t400/8mb/textmode/seabios/dependencies b/projects/coreboot/configs/t400/8mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/t400/8mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/t400/dependencies b/projects/coreboot/configs/t400/dependencies new file mode 100644 index 00000000..2765ac73 --- /dev/null +++ b/projects/coreboot/configs/t400/dependencies @@ -0,0 +1,2 @@ +crossgcc i386 +ich9gen diff --git a/projects/coreboot/configs/t60/16mb/corebootfb/grub/dependencies b/projects/coreboot/configs/t60/16mb/corebootfb/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/t60/16mb/corebootfb/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/t60/16mb/corebootfb/seabios/dependencies b/projects/coreboot/configs/t60/16mb/corebootfb/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/t60/16mb/corebootfb/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/t60/16mb/textmode/grub/dependencies b/projects/coreboot/configs/t60/16mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/t60/16mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/t60/16mb/textmode/seabios/dependencies b/projects/coreboot/configs/t60/16mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/t60/16mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/t60/2mb/corebootfb/grub/dependencies b/projects/coreboot/configs/t60/2mb/corebootfb/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/t60/2mb/corebootfb/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/t60/2mb/corebootfb/seabios/dependencies b/projects/coreboot/configs/t60/2mb/corebootfb/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/t60/2mb/corebootfb/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/t60/2mb/textmode/grub/dependencies b/projects/coreboot/configs/t60/2mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/t60/2mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/t60/2mb/textmode/seabios/dependencies b/projects/coreboot/configs/t60/2mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/t60/2mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/t60/dependencies b/projects/coreboot/configs/t60/dependencies new file mode 100644 index 00000000..03883144 --- /dev/null +++ b/projects/coreboot/configs/t60/dependencies @@ -0,0 +1 @@ +crossgcc i386 diff --git a/projects/coreboot/configs/veyron/dependencies b/projects/coreboot/configs/veyron/dependencies new file mode 100644 index 00000000..97e3f62c --- /dev/null +++ b/projects/coreboot/configs/veyron/dependencies @@ -0,0 +1,2 @@ +cros-ec +crossgcc arm diff --git a/projects/coreboot/configs/veyron/jerry/16mb/corebootfb/depthcharge/dependencies b/projects/coreboot/configs/veyron/jerry/16mb/corebootfb/depthcharge/dependencies new file mode 100644 index 00000000..f9cda152 --- /dev/null +++ b/projects/coreboot/configs/veyron/jerry/16mb/corebootfb/depthcharge/dependencies @@ -0,0 +1 @@ +depthcharge veyron jerry diff --git a/projects/coreboot/configs/veyron/jerry/4mb/corebootfb/depthcharge/dependencies b/projects/coreboot/configs/veyron/jerry/4mb/corebootfb/depthcharge/dependencies new file mode 100644 index 00000000..f9cda152 --- /dev/null +++ b/projects/coreboot/configs/veyron/jerry/4mb/corebootfb/depthcharge/dependencies @@ -0,0 +1 @@ +depthcharge veyron jerry diff --git a/projects/coreboot/configs/veyron/mickey/4mb/corebootfb/depthcharge/dependencies b/projects/coreboot/configs/veyron/mickey/4mb/corebootfb/depthcharge/dependencies new file mode 100644 index 00000000..e25c53db --- /dev/null +++ b/projects/coreboot/configs/veyron/mickey/4mb/corebootfb/depthcharge/dependencies @@ -0,0 +1 @@ +depthcharge veyron mickey diff --git a/projects/coreboot/configs/veyron/minnie/16mb/corebootfb/depthcharge/dependencies b/projects/coreboot/configs/veyron/minnie/16mb/corebootfb/depthcharge/dependencies new file mode 100644 index 00000000..67e35ecf --- /dev/null +++ b/projects/coreboot/configs/veyron/minnie/16mb/corebootfb/depthcharge/dependencies @@ -0,0 +1 @@ +depthcharge veyron minnie diff --git a/projects/coreboot/configs/veyron/minnie/4mb/corebootfb/depthcharge/dependencies b/projects/coreboot/configs/veyron/minnie/4mb/corebootfb/depthcharge/dependencies new file mode 100644 index 00000000..67e35ecf --- /dev/null +++ b/projects/coreboot/configs/veyron/minnie/4mb/corebootfb/depthcharge/dependencies @@ -0,0 +1 @@ +depthcharge veyron minnie diff --git a/projects/coreboot/configs/veyron/speedy/16mb/corebootfb/depthcharge/dependencies b/projects/coreboot/configs/veyron/speedy/16mb/corebootfb/depthcharge/dependencies new file mode 100644 index 00000000..1aa0ca2c --- /dev/null +++ b/projects/coreboot/configs/veyron/speedy/16mb/corebootfb/depthcharge/dependencies @@ -0,0 +1 @@ +depthcharge veyron speedy diff --git a/projects/coreboot/configs/veyron/speedy/4mb/corebootfb/depthcharge/dependencies b/projects/coreboot/configs/veyron/speedy/4mb/corebootfb/depthcharge/dependencies new file mode 100644 index 00000000..1aa0ca2c --- /dev/null +++ b/projects/coreboot/configs/veyron/speedy/4mb/corebootfb/depthcharge/dependencies @@ -0,0 +1 @@ +depthcharge veyron speedy diff --git a/projects/coreboot/configs/x200/16mb/corebootfb/grub/dependencies b/projects/coreboot/configs/x200/16mb/corebootfb/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/x200/16mb/corebootfb/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/x200/16mb/corebootfb/seabios/dependencies b/projects/coreboot/configs/x200/16mb/corebootfb/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/x200/16mb/corebootfb/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/x200/16mb/textmode/grub/dependencies b/projects/coreboot/configs/x200/16mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/x200/16mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/x200/16mb/textmode/seabios/dependencies b/projects/coreboot/configs/x200/16mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/x200/16mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/x200/4mb/corebootfb/grub/dependencies b/projects/coreboot/configs/x200/4mb/corebootfb/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/x200/4mb/corebootfb/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/x200/4mb/corebootfb/seabios/dependencies b/projects/coreboot/configs/x200/4mb/corebootfb/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/x200/4mb/corebootfb/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/x200/4mb/textmode/grub/dependencies b/projects/coreboot/configs/x200/4mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/x200/4mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/x200/4mb/textmode/seabios/dependencies b/projects/coreboot/configs/x200/4mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/x200/4mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/x200/8mb/corebootfb/grub/dependencies b/projects/coreboot/configs/x200/8mb/corebootfb/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/x200/8mb/corebootfb/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/x200/8mb/corebootfb/seabios/dependencies b/projects/coreboot/configs/x200/8mb/corebootfb/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/x200/8mb/corebootfb/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/x200/8mb/textmode/grub/dependencies b/projects/coreboot/configs/x200/8mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/x200/8mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/x200/8mb/textmode/seabios/dependencies b/projects/coreboot/configs/x200/8mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/x200/8mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/x200/dependencies b/projects/coreboot/configs/x200/dependencies new file mode 100644 index 00000000..2765ac73 --- /dev/null +++ b/projects/coreboot/configs/x200/dependencies @@ -0,0 +1,2 @@ +crossgcc i386 +ich9gen diff --git a/projects/coreboot/configs/x60/16mb/corebootfb/grub/dependencies b/projects/coreboot/configs/x60/16mb/corebootfb/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/x60/16mb/corebootfb/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/x60/16mb/corebootfb/seabios/dependencies b/projects/coreboot/configs/x60/16mb/corebootfb/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/x60/16mb/corebootfb/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/x60/16mb/textmode/grub/dependencies b/projects/coreboot/configs/x60/16mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/x60/16mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/x60/16mb/textmode/seabios/dependencies b/projects/coreboot/configs/x60/16mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/x60/16mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/x60/2mb/corebootfb/grub/dependencies b/projects/coreboot/configs/x60/2mb/corebootfb/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/x60/2mb/corebootfb/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/x60/2mb/corebootfb/seabios/dependencies b/projects/coreboot/configs/x60/2mb/corebootfb/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/x60/2mb/corebootfb/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/x60/2mb/textmode/grub/dependencies b/projects/coreboot/configs/x60/2mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/x60/2mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/x60/2mb/textmode/seabios/dependencies b/projects/coreboot/configs/x60/2mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/x60/2mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/x60/dependencies b/projects/coreboot/configs/x60/dependencies new file mode 100644 index 00000000..03883144 --- /dev/null +++ b/projects/coreboot/configs/x60/dependencies @@ -0,0 +1 @@ +crossgcc i386 diff --git a/projects/coreboot/configs/z61t/16mb/textmode/grub/dependencies b/projects/coreboot/configs/z61t/16mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/z61t/16mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/z61t/16mb/textmode/seabios/dependencies b/projects/coreboot/configs/z61t/16mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/z61t/16mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/z61t/2mb/textmode/grub/dependencies b/projects/coreboot/configs/z61t/2mb/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/z61t/2mb/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/z61t/2mb/textmode/seabios/dependencies b/projects/coreboot/configs/z61t/2mb/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/z61t/2mb/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/z61t/dependencies b/projects/coreboot/configs/z61t/dependencies new file mode 100644 index 00000000..03883144 --- /dev/null +++ b/projects/coreboot/configs/z61t/dependencies @@ -0,0 +1 @@ +crossgcc i386 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 |