[username] Change USERNAME to OMEGA_USERNAME

This commit is contained in:
Quentin Guidée
2020-07-24 08:24:12 +02:00
parent d2a2925746
commit 7b07a2e3ac
12 changed files with 23 additions and 23 deletions

View File

@@ -4,10 +4,10 @@ set -e
REPO="${1:-https://github.com/Omega-Numworks/Omega.git}"
BRANCH="${2:-master}"
MODEL="${3:-MODEL=n0110}"
USERNAME="${4:- }"
OMEGA_USERNAME="${4:- }"
OPTIONS="${5:-epsilon_flash}"
echo Building ${REPO} branch ${BRANCH} for ${MODEL} with options ${OPTIONS} !
git clone --recurse-submodules -j $(nproc) --depth 1 --branch ${BRANCH} ${REPO} omega
time make cleanall && time make -j $(nproc) -C omega ${MODEL} ${USERNAME} ${OPTIONS}
time make cleanall && time make -j $(nproc) -C omega ${MODEL} ${OMEGA_USERNAME} ${OPTIONS}