[ADD] - gen auto script

This commit is contained in:
Guillaume Astier 2021-12-11 11:39:32 +01:00
parent d096f731cc
commit e3d3803679

21
bin/gen.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/bash
RmEnv() {
rm -Rf ${Wai}/ESL/.Prefetch/
rm -Rf ${Wai}/Workspace/*
}
Wai=$(realpath $(dirname $0))
cd ${Wai}/ESL/GenELMU/
source ${Wai}/ESL/setenv.sh
[[ $1 == "del" ]] && RmEnv
[[ "$ESL_PROJECT" != "ESL" ]] && ProductElemu="i"
yes | ./ESL_Gen_ELMUs.sh -p${ProductElemu}
cd ${Wai}/ESL/GenOS/
./ESL_Generate.sh