2024-06-30 23:35:04 +02:00
|
|
|
echo === Trigger workaround
|
2024-07-01 00:37:02 +02:00
|
|
|
rem Fixme make will not build without targets files
|
|
|
|
|
rem Fixme make will not build without updated time stamps
|
|
|
|
|
dir
|
2024-06-30 23:35:04 +02:00
|
|
|
copy /T build.bat NFBSSHOT.BIN
|
|
|
|
|
dir/w utils
|
|
|
|
|
copy /T build.bat NFBSSHOT.HEX
|
|
|
|
|
dir/w utils
|
|
|
|
|
copy /T build.bat NFBSSHOT.REL
|
|
|
|
|
dir/w utils
|
|
|
|
|
copy /T NFBSSHOT.MAC NFBSSHOT.BAK
|
|
|
|
|
dir/w utils
|
|
|
|
|
copy /T NFBSSHOT.BAK NFBSSHOT.MAC
|
|
|
|
|
echo === Running make
|
2024-07-01 00:37:02 +02:00
|
|
|
omsxctl fail_after 300 seconds failed_make 1
|
2024-06-30 23:35:04 +02:00
|
|
|
make NFBSSHOT.MF /x > build2.bat
|
|
|
|
|
echo === Concat shutdown
|
2024-07-01 00:37:02 +02:00
|
|
|
echo "dir" > build1.bat
|
|
|
|
|
echo "dir" > build3.bat
|
|
|
|
|
echo "" > build4.bat
|
2024-06-30 23:35:04 +02:00
|
|
|
IFF "exit" == %1
|
2024-07-01 00:37:02 +02:00
|
|
|
echo "shutdown" > build4.bat
|
2024-06-30 23:35:04 +02:00
|
|
|
ENDIFF
|
2024-07-01 00:37:02 +02:00
|
|
|
concat build1.bat + build2.bat + build3.bat + build4.bat buildrun.bat
|
2024-06-30 23:35:04 +02:00
|
|
|
echo === Final script
|
2024-07-01 00:37:02 +02:00
|
|
|
type buildrun.bat
|
2024-06-30 23:35:04 +02:00
|
|
|
echo === Running build
|
2024-07-01 00:37:02 +02:00
|
|
|
omsxctl fail_after 300 seconds failed_build 1
|
|
|
|
|
buildrun
|