From 94eceeb6249f477e2e257eebb8da757d4f5a345b Mon Sep 17 00:00:00 2001 From: Abraham Gonzalez Date: Wed, 4 Nov 2020 15:54:09 -0800 Subject: [PATCH] Use empty variable instead of t/f --- scripts/build-toolchains.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-toolchains.sh b/scripts/build-toolchains.sh index 9ceb8808..84fdbd45 100755 --- a/scripts/build-toolchains.sh +++ b/scripts/build-toolchains.sh @@ -35,7 +35,7 @@ die() { TOOLCHAIN="riscv-tools" EC2FASTINSTALL="false" -IGNOREQEMU="false" +IGNOREQEMU="" RISCV="" # getopts does not support long options, and is inflexible @@ -133,7 +133,7 @@ module_all riscv-tests --prefix="${RISCV}/riscv64-unknown-elf" SRCDIR="$(pwd)/toolchains" module_all libgloss --prefix="${RISCV}/riscv64-unknown-elf" --host=riscv64-unknown-elf -if [ "${IGNOREQEMU}" = false ] ; then +if [ -z "$IGNOREQEMU" ] ; then SRCDIR="$(pwd)/toolchains" module_all qemu --prefix="${RISCV}" --target-list=riscv64-softmmu fi