put all src downloads under src/

build/release/src was partly re-written to accomodate this

memtest86plus was patched to have a central Makefile, and
lbmk modified to use that, rather than mess with build32
and build64. the central Makefile just builds both targets
or cleans both targets

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-10-06 22:59:36 +01:00
parent 965b6a7ed7
commit 4e39d5a5a8
103 changed files with 412 additions and 397 deletions
+2 -4
View File
@@ -15,7 +15,7 @@ set -u -e
linkpath="${0}"
linkname="${linkpath##*/}"
buildpath="./script/${linkname}"
eval "$(setvars "" mode option project version versiondate)"
eval "$(setvars "" mode option project version versiondate aur_notice)"
main()
{
@@ -61,7 +61,6 @@ install_packages()
[ -f "config/dependencies/${2}" ] || fail "Unsupported target"
aur_notice=""
. "config/dependencies/${2}"
xx_ ${pkg_add} ${pkglist}
@@ -79,8 +78,7 @@ execute_command()
fi
lbmkcmd="${buildpath}/${mode}/${option}"
[ "${lbmkcmd}" = "./script/build/boot/roms" ] && \
printf "NOTE: ./build boot roms now: ./build fw coreboot\n" \
1>&2
printf "NOTE: ./build boot roms now: ./build fw coreboot\n" 1>&2
[ -f "${lbmkcmd}" ] || fail "Invalid command. Run: ${linkpath} help"
"${lbmkcmd}" $@ || fail "execute_command: ${lbmkcmd} ${@}"
}