nicer bundle folder structure and reducing unneeded content #833
This commit is contained in:
parent
0b1e22c2a2
commit
9001a78296
|
@ -8,18 +8,20 @@ make -j4 DEBUG_LEVEL_OPT='-O2' EXTRA_PARAMS='-DEFI_ENABLE_ASSERTS=FALSE -DCH_DB
|
|||
|
||||
rem mv build\rusefi.elf deliver\rusefi_no_asserts.elf
|
||||
mv build\rusefi.bin deliver\rusefi_no_asserts.bin
|
||||
rem mv build\rusefi.hex deliver\rusefi_no_asserts.hex
|
||||
rem this file is needed for DFU generation
|
||||
mv build\rusefi.hex deliver\rusefi_no_asserts.hex
|
||||
echo Release compilation results 1/2
|
||||
echo "TIMESTAMP %date% %time%"
|
||||
ls -l build
|
||||
if not exist deliver/rusefi_no_asserts.bin echo FAILED to compile NO ASSERTS version
|
||||
if not exist deliver/rusefi_no_asserts.bin exit -1
|
||||
if not exist deliver/rusefi_no_asserts.hex echo FAILED to compile NO ASSERTS version
|
||||
if not exist deliver/rusefi_no_asserts.hex exit -1
|
||||
|
||||
call clean.bat
|
||||
echo "TIMESTAMP %date% %time%"
|
||||
make -j4
|
||||
|
||||
mv build\rusefi.elf deliver\rusefi.elf
|
||||
rem this file is needed for DFU generation
|
||||
mv build\rusefi.hex deliver\rusefi.hex
|
||||
rem Keeping file in place since hw_test.bat would take it from current location
|
||||
cp build\rusefi.bin deliver\rusefi.bin
|
||||
|
|
|
@ -15,7 +15,8 @@ cp firmware/svnversion.h %folder%
|
|||
cp -r misc/install/openocd %folder%
|
||||
cp java_console/rusefi.xml %folder%
|
||||
rem 407 has additional version of firmware
|
||||
cp firmware/deliver/rusefi_no_asserts.* %folder%
|
||||
cp firmware/deliver/rusefi_no_asserts.bin %folder%
|
||||
cp firmware/deliver/rusefi_no_asserts.dfu %folder%
|
||||
rem 746 builds one version at the moment
|
||||
rem probably not needed cp firmware/build/rusefi.hex %folder%
|
||||
cp firmware/build/rusefi.bin %folder%
|
||||
|
|
Loading…
Reference in New Issue