[ADD] - gen auto script
This commit is contained in:
parent
d096f731cc
commit
e3d3803679
21
bin/gen.sh
Executable file
21
bin/gen.sh
Executable 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
|
||||||
Loading…
x
Reference in New Issue
Block a user