Build: update various build installation directories

Modernize and improve the handling of build directories.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin 2025-10-02 16:02:11 -07:00
parent 534edcba04
commit 7415a1e5f8
8 changed files with 82 additions and 31 deletions

View file

@ -10,7 +10,9 @@
tmp="$(mktemp -d)"
[ -n "$tmp" ] || exit 1
NASM="${NASM:-../nasm}"
if [ -n "$1" ]; then
NASM="$1"
fi
: > "$tmp/junk.asm"
"$NASM" -f bin -o "$tmp/junk.bin" -Lsb -l "$tmp/junk.lst" "$tmp/junk.asm"