diff options
author | Leah Rowe <leah@libreboot.org> | 2023-10-20 00:17:30 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-10-20 01:00:38 +0100 |
commit | 8d9aeef3de28bcb908e33b804517bdeacce7be38 (patch) | |
tree | da6c27fa43780232300898052005617ea155aba2 /include | |
parent | 0b98c9b00c6b99940555cff25f7c6858745a560c (diff) |
lbmk: use 2-level directory structure in script/
as opposed to the current 3-level structure.
recent build system simplifications have enabled
this change, thus:
./build fw coreboot -> ./build roms
./build fw grub -> ./build grub
./build fw serprog -> ./build serprog
./update project release -> ./update release
./update project trees -> ./update trees
./update vendor download -> ./vendor download
./update vendor inject -> ./vendor inject
alper criticised that the commands were too long,
so i made them shorter!
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
-rwxr-xr-x | include/git.sh | 2 | ||||
-rwxr-xr-x | include/option.sh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/git.sh b/include/git.sh index 9e6c60db..1c458f08 100755 --- a/include/git.sh +++ b/include/git.sh @@ -75,7 +75,7 @@ fetch_project_repo() clone_project [ "${depend}" = "" ] || for d in ${depend} ; do - x_ ./update project trees -f ${d} + x_ ./update trees -f ${d} done x_ rm -Rf "${tmp_git_dir}" } diff --git a/include/option.sh b/include/option.sh index 73a567bb..dd41e88c 100755 --- a/include/option.sh +++ b/include/option.sh @@ -3,7 +3,7 @@ # SPDX-FileCopyrightText: 2022 Ferass El Hafidi <vitali64pmemail@protonmail.com> # SPDX-FileCopyrightText: 2023 Leah Rowe <leah@libreboot.org> -vendir="vendor" +vendir="vendorfiles" appdir="${vendir}/app" cbdir="src/coreboot/default" cbcfgsdir="config/coreboot" @@ -62,7 +62,7 @@ check_defconfig() handle_coreboot_utils() { for util in cbfstool ifdtool; do - x_ ./update project trees ${_f} "src/coreboot/${1}/util/${util}" + x_ ./update trees ${_f} "src/coreboot/${1}/util/${util}" [ -z "${mode}" ] && [ ! -f "cbutils/${1}/${util}" ] && \ x_ mkdir -p "cbutils/${1}" && \ x_ cp "src/coreboot/${1}/util/${util}/${util}" \ |