diff options
Diffstat (limited to 'projects')
30 files changed, 91 insertions, 54 deletions
diff --git a/projects/cbfstool/patches/0001-Avoid-using-git-submodules-for-3rdparty.patch b/projects/cbfstool/patches/0001-Avoid-using-git-submodules-for-3rdparty.patch deleted file mode 120000 index 627443a5..00000000 --- a/projects/cbfstool/patches/0001-Avoid-using-git-submodules-for-3rdparty.patch +++ /dev/null @@ -1 +0,0 @@ -../../coreboot/patches/0001-Avoid-using-git-submodules-for-3rdparty.patch
\ No newline at end of file diff --git a/projects/cbfstool/patches/0001-Don-t-pull-in-3rdparty-git-submodules.patch b/projects/cbfstool/patches/0001-Don-t-pull-in-3rdparty-git-submodules.patch new file mode 120000 index 00000000..250b848b --- /dev/null +++ b/projects/cbfstool/patches/0001-Don-t-pull-in-3rdparty-git-submodules.patch @@ -0,0 +1 @@ +../../coreboot/patches/0001-Don-t-pull-in-3rdparty-git-submodules.patch
\ No newline at end of file diff --git a/projects/cbmem/patches/0001-Avoid-using-git-submodules-for-3rdparty.patch b/projects/cbmem/patches/0001-Avoid-using-git-submodules-for-3rdparty.patch deleted file mode 120000 index 627443a5..00000000 --- a/projects/cbmem/patches/0001-Avoid-using-git-submodules-for-3rdparty.patch +++ /dev/null @@ -1 +0,0 @@ -../../coreboot/patches/0001-Avoid-using-git-submodules-for-3rdparty.patch
\ No newline at end of file diff --git a/projects/cbmem/patches/0001-Don-t-pull-in-3rdparty-git-submodules.patch b/projects/cbmem/patches/0001-Don-t-pull-in-3rdparty-git-submodules.patch new file mode 120000 index 00000000..250b848b --- /dev/null +++ b/projects/cbmem/patches/0001-Don-t-pull-in-3rdparty-git-submodules.patch @@ -0,0 +1 @@ +../../coreboot/patches/0001-Don-t-pull-in-3rdparty-git-submodules.patch
\ No newline at end of file diff --git a/projects/coreboot/configs/qemu_i440fx_piix4/16MiB/corebootfb/grub/dependencies b/projects/coreboot/configs/qemu_i440fx_piix4/16MiB/corebootfb/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/qemu_i440fx_piix4/16MiB/corebootfb/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/qemu_i440fx_piix4/16MiB/corebootfb/seabios/dependencies b/projects/coreboot/configs/qemu_i440fx_piix4/16MiB/corebootfb/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/qemu_i440fx_piix4/16MiB/corebootfb/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/qemu_i440fx_piix4/16MiB/textmode/grub/dependencies b/projects/coreboot/configs/qemu_i440fx_piix4/16MiB/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/qemu_i440fx_piix4/16MiB/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/qemu_i440fx_piix4/16MiB/textmode/seabios/dependencies b/projects/coreboot/configs/qemu_i440fx_piix4/16MiB/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/qemu_i440fx_piix4/16MiB/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/qemu_i440fx_piix4/8MiB/corebootfb/grub/dependencies b/projects/coreboot/configs/qemu_i440fx_piix4/8MiB/corebootfb/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/qemu_i440fx_piix4/8MiB/corebootfb/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/qemu_i440fx_piix4/8MiB/corebootfb/seabios/dependencies b/projects/coreboot/configs/qemu_i440fx_piix4/8MiB/corebootfb/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/qemu_i440fx_piix4/8MiB/corebootfb/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/qemu_i440fx_piix4/8MiB/textmode/grub/dependencies b/projects/coreboot/configs/qemu_i440fx_piix4/8MiB/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/qemu_i440fx_piix4/8MiB/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/qemu_i440fx_piix4/8MiB/textmode/seabios/dependencies b/projects/coreboot/configs/qemu_i440fx_piix4/8MiB/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/qemu_i440fx_piix4/8MiB/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/qemu_q35_ich9/16MiB/corebootfb/grub/dependencies b/projects/coreboot/configs/qemu_q35_ich9/16MiB/corebootfb/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/qemu_q35_ich9/16MiB/corebootfb/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/qemu_q35_ich9/16MiB/corebootfb/seabios/dependencies b/projects/coreboot/configs/qemu_q35_ich9/16MiB/corebootfb/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/qemu_q35_ich9/16MiB/corebootfb/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/qemu_q35_ich9/16MiB/textmode/grub/dependencies b/projects/coreboot/configs/qemu_q35_ich9/16MiB/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/qemu_q35_ich9/16MiB/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/qemu_q35_ich9/16MiB/textmode/seabios/dependencies b/projects/coreboot/configs/qemu_q35_ich9/16MiB/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/qemu_q35_ich9/16MiB/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/qemu_q35_ich9/8MiB/corebootfb/grub/dependencies b/projects/coreboot/configs/qemu_q35_ich9/8MiB/corebootfb/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/qemu_q35_ich9/8MiB/corebootfb/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/qemu_q35_ich9/8MiB/corebootfb/seabios/dependencies b/projects/coreboot/configs/qemu_q35_ich9/8MiB/corebootfb/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/qemu_q35_ich9/8MiB/corebootfb/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/configs/qemu_q35_ich9/8MiB/textmode/grub/dependencies b/projects/coreboot/configs/qemu_q35_ich9/8MiB/textmode/grub/dependencies new file mode 100644 index 00000000..6640cb8d --- /dev/null +++ b/projects/coreboot/configs/qemu_q35_ich9/8MiB/textmode/grub/dependencies @@ -0,0 +1 @@ +grub coreboot diff --git a/projects/coreboot/configs/qemu_q35_ich9/8MiB/textmode/seabios/dependencies b/projects/coreboot/configs/qemu_q35_ich9/8MiB/textmode/seabios/dependencies new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/qemu_q35_ich9/8MiB/textmode/seabios/dependencies @@ -0,0 +1 @@ +seabios diff --git a/projects/coreboot/coreboot b/projects/coreboot/coreboot index 046a4de1..e224cccc 100755 --- a/projects/coreboot/coreboot +++ b/projects/coreboot/coreboot @@ -28,10 +28,6 @@ dependencies() { project_dependencies "$project" "$@" } -dependencies_check() { - project_dependencies_check "$project" "$@" -} - download() { local repository=$project diff --git a/projects/cros-ec/cros-ec b/projects/cros-ec/cros-ec index 1df44feb..55dc676e 100755 --- a/projects/cros-ec/cros-ec +++ b/projects/cros-ec/cros-ec @@ -23,10 +23,6 @@ dependencies() { project_dependencies "$project" "$@" } -dependencies_check() { - project_dependencies_check "$project" "$@" -} - usage() { project_usage_actions "$project" project_usage_arguments "$project" "$@" diff --git a/projects/dejavu-fonts/dejavu-fonts b/projects/dejavu-fonts/dejavu-fonts index c3d76cf9..1e91362f 100755 --- a/projects/dejavu-fonts/dejavu-fonts +++ b/projects/dejavu-fonts/dejavu-fonts @@ -23,10 +23,6 @@ dependencies() { project_dependencies "$project" "$@" } -dependencies_check() { - project_dependencies_check "$project" "$@" -} - usage() { project_usage_actions "$project" project_usage_arguments "$project" "$@" diff --git a/projects/depthcharge/depthcharge b/projects/depthcharge/depthcharge index 6a58d305..17057e69 100755 --- a/projects/depthcharge/depthcharge +++ b/projects/depthcharge/depthcharge @@ -23,10 +23,6 @@ dependencies() { project_dependencies "$project" "$@" } -dependencies_check() { - project_dependencies_check "$project" "$@" -} - usage() { project_usage_actions "$project" project_usage_arguments "$project" "$@" diff --git a/projects/grub/grub b/projects/grub/grub index 3daca888..ada5c338 100755 --- a/projects/grub/grub +++ b/projects/grub/grub @@ -23,10 +23,6 @@ dependencies() { project_dependencies "$project" "$@" } -dependencies_check() { - project_dependencies_check "$project" "$@" -} - usage() { project_usage_actions "$project" project_usage_arguments "$project" "$@" @@ -79,28 +75,24 @@ build() { local build_path="$(project_build_path "$project" "$@")" local raw_keymap_path="$project_path/$CONFIGS/keymaps" - ( - set -e + mkdir -p "$build_path" - mkdir -p "$build_path" + grub_build_utils - grub_build_utils - - if [[ "$target" == 'bios' ]]; then - grub_build_floppy_image - else - grub_build_standalone_image - fi + if [[ "$target" == 'bios' ]]; then + grub_build_floppy_image + else + grub_build_standalone_image + fi - for raw_keymap in "$raw_keymap_path"/*; do - grub_build_layout "$raw_keymap" - done + for raw_keymap in "$raw_keymap_path"/*; do + grub_build_layout "$raw_keymap" + done - grub_build_font - grub_copy_modules + grub_build_font + grub_copy_modules - make -C "$sources_path" distclean - ) + make -C "$sources_path" distclean } build_check() { diff --git a/projects/ich9gen/ich9gen b/projects/ich9gen/ich9gen index 71567329..5ba9ae2f 100755 --- a/projects/ich9gen/ich9gen +++ b/projects/ich9gen/ich9gen @@ -58,23 +58,20 @@ build() { fi local sources_path="$(project_sources_path "$project" "$repository" "$@")" - local build_path="$(project_build_path "$project" "$@")" mkdir -p "$build_path" make -C "$sources_path" -j"$TASKS" ich9gen - ( - local macaddress="$(ich9gen_macaddress)" + local macaddress="$(ich9gen_macaddress)" - cd "$build_path" + cd "$build_path" - if [[ -n $macaddress ]]; then - "$sources_path"/ich9gen --macaddress "$macaddress" - else - "$sources_path"/ich9gen - fi - ) + if [[ -n $macaddress ]]; then + "$sources_path"/ich9gen --macaddress "$macaddress" + else + "$sources_path"/ich9gen + fi cp "$sources_path/ich9gen" "$build_path" make -C "$sources_path" clean diff --git a/projects/libreboot-dependencies/libreboot-dependencies b/projects/libreboot-dependencies/libreboot-dependencies new file mode 100755 index 00000000..ae50406c --- /dev/null +++ b/projects/libreboot-dependencies/libreboot-dependencies @@ -0,0 +1,52 @@ +#!/usr/bin/env bash + +# Copyright (C) 2019 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 +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +usage() { + project_usage_actions "$project" +} + +collect() { + project_dependencies "$@" +} + +download() { + project_dependencies_action_arguments "$action" "$@" +} + +extract() { + project_dependencies_action_arguments "$action" "$@" +} + +update() { + project_dependencies_action_arguments "$action" "$@" +} + +build() { + project_dependencies_action_arguments "$action" "$@" +} + +install() { + project_dependencies_action_arguments "$action" "$@" +} + +release() { + project_dependencies_action_arguments "$action" "$@" +} + +clean() { + project_dependencies_action_arguments "$action" "$@" +} diff --git a/projects/mosys/mosys b/projects/mosys/mosys index fecf9267..4407d784 100755 --- a/projects/mosys/mosys +++ b/projects/mosys/mosys @@ -23,10 +23,6 @@ dependencies() { project_dependencies "$project" "$@" } -dependencies_check() { - project_dependencies_check "$project" "$@" -} - download() { local repository=$project diff --git a/projects/nvramtool/patches/0001-Avoid-using-git-submodules-for-3rdparty.patch b/projects/nvramtool/patches/0001-Avoid-using-git-submodules-for-3rdparty.patch deleted file mode 120000 index 627443a5..00000000 --- a/projects/nvramtool/patches/0001-Avoid-using-git-submodules-for-3rdparty.patch +++ /dev/null @@ -1 +0,0 @@ -../../coreboot/patches/0001-Avoid-using-git-submodules-for-3rdparty.patch
\ No newline at end of file diff --git a/projects/nvramtool/patches/0001-Don-t-pull-in-3rdparty-git-submodules.patch b/projects/nvramtool/patches/0001-Don-t-pull-in-3rdparty-git-submodules.patch new file mode 120000 index 00000000..250b848b --- /dev/null +++ b/projects/nvramtool/patches/0001-Don-t-pull-in-3rdparty-git-submodules.patch @@ -0,0 +1 @@ +../../coreboot/patches/0001-Don-t-pull-in-3rdparty-git-submodules.patch
\ No newline at end of file |