29 lines
1.0 KiB
Batchfile
29 lines
1.0 KiB
Batchfile
|
|
rd /s /q deliver
|
|
mkdir deliver
|
|
|
|
call clean.bat
|
|
echo "TIMESTAMP %date% %time%"
|
|
make -j4 DEBUG_LEVEL_OPT='-O2' EXTRA_PARAMS='-DEFI_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_TRACE=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DCH_DBG_THREADS_PROFILING=FALSE'
|
|
|
|
cp build\rusefi.elf deliver\rusefi_release.elf
|
|
cp build\rusefi.bin deliver\rusefi_release.bin
|
|
cp build\rusefi.hex deliver\rusefi_release.hex
|
|
echo Release compilation results 1/2
|
|
echo "TIMESTAMP %date% %time%"
|
|
ls -l build
|
|
if not exist deliver/rusefi_release.hex echo FAILED to compile RELEASE
|
|
if not exist deliver/rusefi_release.hex exit -1
|
|
|
|
call clean.bat
|
|
echo "TIMESTAMP %date% %time%"
|
|
make -j4
|
|
cp build\rusefi.elf deliver\rusefi_debug.elf
|
|
cp build\rusefi.bin deliver\rusefi_debug.bin
|
|
cp build\rusefi.hex deliver\rusefi_debug.hex
|
|
echo Debug compilation results 2/2
|
|
echo "TIMESTAMP %date% %time%"
|
|
ls -l build
|
|
if not exist deliver/rusefi_debug.hex echo FAILED to compile DEBUG
|
|
if not exist deliver/rusefi_debug.hex exit -1
|