util/xcompile: Add NASM to xcompile
Reason: opensil uses nasm code. Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: Ib8d89354bfd21113f77927186e418e2ec3eab44c Reviewed-on: https://review.coreboot.org/c/coreboot/+/76465 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
9ab8a78d7e
commit
9b186e0ffe
|
@ -58,6 +58,12 @@ elif [ "$(iasl 2>/dev/null | grep -c ACPI)" -gt 0 ]; then
|
|||
IASL=iasl
|
||||
fi
|
||||
|
||||
if program_exists "${XGCCPATH}/nasm" ; then
|
||||
NASM="${XGCCPATH}/nasm"
|
||||
elif program_exists nasm; then
|
||||
NASM=nasm
|
||||
fi
|
||||
|
||||
if program_exists "${XGCCPATH}/gcc"; then
|
||||
HOSTCC="${XGCCPATH}/gcc"
|
||||
elif program_exists gcc; then
|
||||
|
@ -103,6 +109,7 @@ fi
|
|||
cat <<EOF
|
||||
# platform agnostic and host tools
|
||||
XGCCPATH:=${XGCCPATH}
|
||||
NASM:=${NASM}
|
||||
IASL:=${IASL}
|
||||
HOSTCC?=${HOSTCC}
|
||||
HOSTCXX?=${HOSTCXX}
|
||||
|
|
Loading…
Reference in New Issue