life is great
This commit is contained in:
parent
04407b41fd
commit
d537780086
|
@ -34,7 +34,7 @@ java -DSystemOut.name=gen_config \
|
|||
-signature tunerstudio/signature_all.txt \
|
||||
-romraider_destination ../java_console/rusefi.xml
|
||||
|
||||
[ $? -eq 0 ] || (echo "ERROR generating default"; exit -1)
|
||||
[ $? -eq 0 ] || (echo "ERROR generating default"; exit 1)
|
||||
|
||||
if [ -z "${TS_PATH}" ]; then
|
||||
echo "TS_PATH not defined"
|
||||
|
@ -48,7 +48,7 @@ for BOARD in "microrusefi mre" "frankenso fra" "prometheus pth" "proteus pro"; d
|
|||
BOARD_NAME="${BOARD% *}"
|
||||
BOARD_SHORT_NAME="${BOARD#* }"
|
||||
sh gen_config_board.sh $BOARD_NAME $BOARD_SHORT_NAME
|
||||
[ $? -eq 0 ] || (echo "ERROR generating board $BOARD_NAME $BOARD_SHORT_NAME"; exit -1)
|
||||
[ $? -eq 0 ] || (echo "ERROR generating board $BOARD_NAME $BOARD_SHORT_NAME"; exit 1)
|
||||
done
|
||||
|
||||
cd config/boards/kinetis/config
|
||||
|
|
|
@ -27,7 +27,7 @@ java -DSystemOut.name=gen_config_board \
|
|||
-enumInputFile controllers/algo/rusefi_enums.h \
|
||||
-enumInputFile controllers/algo/rusefi_hw_enums.h
|
||||
|
||||
[ $? -eq 0 ] || (echo "ERROR generating TunerStudio config for ${BOARDNAME}"; exit -1)
|
||||
[ $? -eq 0 ] || (echo "ERROR generating TunerStudio config for ${BOARDNAME}"; exit 1)
|
||||
|
||||
java -DSystemOut.name=gen_config_board \
|
||||
-jar ../java_tools/ConfigDefinition.jar \
|
||||
|
@ -41,7 +41,7 @@ java -DSystemOut.name=gen_config_board \
|
|||
-prepend tunerstudio/${BOARDNAME}_prefix.txt \
|
||||
-prepend config/boards/${BOARDNAME}/prepend.txt
|
||||
|
||||
[ $? -eq 0 ] || (echo "ERROR generating TunerStudio config for ${BOARDNAME}"; exit -1)
|
||||
[ $? -eq 0 ] || (echo "ERROR generating TunerStudio config for ${BOARDNAME}"; exit 1)
|
||||
|
||||
if [ -z "${TS_PATH}" ]; then
|
||||
echo "TS_PATH not defined"
|
||||
|
|
|
@ -36,7 +36,7 @@ for f in *.ini; do if [[ -f "$f" ]]; then
|
|||
retVal=$?
|
||||
if [ $retVal -ne 0 ]; then
|
||||
echo "Upload failed"
|
||||
exit -1
|
||||
exit 1
|
||||
fi
|
||||
echo "* upload done!"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue