mirror of https://github.com/rusefi/rusefi-1.git
progress?
This commit is contained in:
parent
bf9229f5ac
commit
33002e7683
|
@ -4,12 +4,15 @@
|
|||
export PROJECT_BOARD=$1
|
||||
export PROJECT_CPU=$2
|
||||
|
||||
# fail on error
|
||||
set -e
|
||||
|
||||
SCRIPT_NAME="common_make.sh"
|
||||
echo "Entering $SCRIPT_NAME with board $1 and CPU $2"
|
||||
|
||||
cd ../../..
|
||||
|
||||
mkdir .dep
|
||||
mkdir -p .dep
|
||||
# todo: start using env variable for number of threads or for '-r'
|
||||
make -j$(nproc) -r PROJECT_BOARD=$PROJECT_BOARD PROJECT_CPU=$PROJECT_CPU
|
||||
[ -e build/rusefi.hex ] || { echo "FAILED to compile by $SCRIPT_NAME with $PROJECT_BOARD $DEBUG_LEVEL_OPT and $EXTRA_PARAMS"; exit 1; }
|
||||
|
@ -28,8 +31,6 @@ chmod u+x $HEX2DFU
|
|||
mkdir -p deliver
|
||||
rm -f deliver/*
|
||||
|
||||
set -e
|
||||
|
||||
echo "$SCRIPT_NAME: invoking hex2dfu for incremental rusEFI image"
|
||||
$HEX2DFU -i build/rusefi.hex -C 0x1C -o build/rusefi.dfu
|
||||
|
||||
|
|
Loading…
Reference in New Issue