move cd statements to common_make.sh (#1830)
* move cd to compile.sh * rel path * undo changes to compile.sh and move cd to common_make
This commit is contained in:
parent
589acfc7db
commit
ae9c60731a
|
@ -3,6 +3,8 @@
|
|||
SCRIPT_NAME="common_make.sh"
|
||||
echo "Entering $SCRIPT_NAME"
|
||||
|
||||
cd ../../..
|
||||
|
||||
mkdir .dep
|
||||
# todo: start using env variable for number of threads or for '-r'
|
||||
make -j4 -r
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd ../../..
|
||||
|
||||
export EXTRA_PARAMS="-DDUMMY \
|
||||
-DDEFAULT_ENGINE_TYPE=MIATA_NA6_VAF \
|
||||
-DSHORT_BOARD_NAME=frankenso_na6 \
|
||||
|
@ -11,5 +9,5 @@ export EXTRA_PARAMS="-DDUMMY \
|
|||
\
|
||||
-DFIRMWARE_ID=\\\"frankensoNA6\\\""
|
||||
|
||||
bash config/boards/common_make.sh
|
||||
bash ../common_make.sh
|
||||
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd ../../..
|
||||
|
||||
export EXTRA_PARAMS="-DDUMMY \
|
||||
-DDEFAULT_ENGINE_TYPE=MIATA_NA6_VAF \
|
||||
-DSHORT_BOARD_NAME=frankenso_na6 \
|
||||
|
@ -12,5 +10,5 @@ export EXTRA_PARAMS="-DDUMMY \
|
|||
-DEFI_LOGIC_ANALYZER=FALSE \
|
||||
-DFIRMWARE_ID=\\\"frankensoNA6\\\""
|
||||
|
||||
bash config/boards/common_make.sh
|
||||
bash ../common_make.sh
|
||||
|
||||
|
|
|
@ -14,6 +14,4 @@ export USE_FATFS="no"
|
|||
export USE_BOOTLOADER="no"
|
||||
export DEBUG_LEVEL_OPT="-O2"
|
||||
|
||||
cd ../../..
|
||||
|
||||
bash config/boards/common_make.sh
|
||||
bash ../common_make.sh
|
||||
|
|
|
@ -16,10 +16,8 @@ export USE_FATFS=no
|
|||
export USE_BOOTLOADER=no
|
||||
# -DCH_DBG_ENABLE_CHECKS=FALSE
|
||||
|
||||
cd ../../..
|
||||
|
||||
# rm -f ${BUILDDIR}/rusefi_kinetis.*
|
||||
|
||||
# make -r -j4
|
||||
|
||||
bash config/boards/common_make.sh
|
||||
bash ../common_make.sh
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd ../../..
|
||||
|
||||
export PROJECT_BOARD=microrusefi
|
||||
export PROJECT_CPU=ARCH_STM32F4
|
||||
export EXTRA_PARAMS="-DSHORT_BOARD_NAME=mre_f4"
|
||||
|
||||
# export DEBUG_LEVEL_OPT="-O0 -ggdb -g3"
|
||||
|
||||
bash config/boards/common_make.sh
|
||||
bash ../common_make.sh
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd ../../..
|
||||
|
||||
export PROJECT_BOARD=microrusefi
|
||||
export PROJECT_CPU=ARCH_STM32F4
|
||||
export EXTRA_PARAMS="-DHW_CHECK_MODE=TRUE -DSHORT_BOARD_NAME=mre_f4"
|
||||
|
@ -11,6 +9,6 @@ export DEFAULT_ENGINE_TYPE=-DDEFAULT_ENGINE_TYPE=MRE_BOARD_NEW_TEST
|
|||
# this QC configuration is used to assert our status with debug info
|
||||
export DEBUG_LEVEL_OPT="-O0 -ggdb -g3"
|
||||
|
||||
bash config/boards/common_make.sh
|
||||
bash ../common_make.sh
|
||||
|
||||
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd ../../..
|
||||
|
||||
export PROJECT_BOARD=microrusefi
|
||||
export PROJECT_CPU=ARCH_STM32F4
|
||||
export EXTRA_PARAMS=-DDUMMY -DEFI_CANBUS_SLAVE=TRUE -DSHORT_BOARD_NAME=mre_f4
|
||||
|
||||
export DEFAULT_ENGINE_TYPE = -DDEFAULT_ENGINE_TYPE=BMW_M73_MRE_SLAVE
|
||||
|
||||
bash config/boards/common_make.sh
|
||||
bash ../common_make.sh
|
||||
|
||||
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd ../../..
|
||||
|
||||
export PROJECT_BOARD=microrusefi
|
||||
export PROJECT_CPU=ARCH_STM32F7
|
||||
export EXTRA_PARAMS="-DSHORT_BOARD_NAME=mre_f7"
|
||||
|
||||
export LDSCRIPT="config/boards/NUCLEO_F767/STM32F76xxI.ld"
|
||||
|
||||
bash config/boards/common_make.sh
|
||||
bash ../common_make.sh
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd ../../..
|
||||
|
||||
export PROJECT_BOARD=microrusefi
|
||||
export PROJECT_CPU=ARCH_STM32F7
|
||||
export EXTRA_PARAMS=-DSHORT_BOARD_NAME=mre_f7
|
||||
export DEFAULT_ENGINE_TYPE="-DDEFAULT_ENGINE_TYPE=MRE_BOARD_TEST"
|
||||
export LDSCRIPT="config/boards/NUCLEO_F767/STM32F76xxI.ld"
|
||||
|
||||
bash config/boards/common_make.sh
|
||||
bash ../common_make.sh
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
SCRIPT_NAME="compile_nucleo_f746.sh"
|
||||
echo "Entering $SCRIPT_NAME"
|
||||
|
||||
cd ../../..
|
||||
export PROJECT_BOARD=nucleo_f746
|
||||
export PROJECT_CPU=ARCH_STM32F7
|
||||
export EXTRA_PARAMS="-DDUMMY -DSTM32F746xx \
|
||||
|
@ -18,5 +17,5 @@ export EXTRA_PARAMS="-DDUMMY -DSTM32F746xx \
|
|||
-DSTATUS_LOGGING_BUFFER_SIZE=1400 \
|
||||
-DCCM_UNUSED_SIZE=10"
|
||||
export DEBUG_LEVEL_OPT="-O2"
|
||||
bash config/boards/common_make.sh
|
||||
bash ../common_make.sh
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
SCRIPT_NAME="compile_nucleo_f767.sh"
|
||||
echo "Entering $SCRIPT_NAME"
|
||||
|
||||
cd ../../..
|
||||
export PROJECT_BOARD=nucleo_f767
|
||||
export PROJECT_CPU=ARCH_STM32F7
|
||||
export EXTRA_PARAMS="-DDUMMY -DSTM32F767xx \
|
||||
|
@ -18,4 +17,4 @@ export EXTRA_PARAMS="-DDUMMY -DSTM32F767xx \
|
|||
-DCH_DBG_ENABLE_CHECKS=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DCH_DBG_THREADS_PROFILING=FALSE"
|
||||
export DEBUG_LEVEL_OPT="-O2"
|
||||
|
||||
bash config/boards/common_make.sh
|
||||
bash ../common_make.sh
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
# STM32F767 version of the firmware for F767ZI chip NOT on Nucleo board, with a real oscilattor
|
||||
|
||||
cd ../../..
|
||||
export PROJECT_BOARD=nucleo_f767
|
||||
export PROJECT_CPU=ARCH_STM32F7
|
||||
export EXTRA_PARAMS="-DDUMMY -DSTM32F767xx \
|
||||
|
@ -17,5 +16,5 @@ export EXTRA_PARAMS="-DDUMMY -DSTM32F767xx \
|
|||
# Do not forget to comment out following line if looking to debug!
|
||||
export DEBUG_LEVEL_OPT="-O2"
|
||||
|
||||
bash config/boards/common_make.sh
|
||||
bash ../common_make.sh
|
||||
|
||||
|
|
|
@ -2,10 +2,9 @@
|
|||
|
||||
# STM32F405 version of the firmware for https://rusefi.com/forum/viewtopic.php?f=4&t=1215
|
||||
|
||||
cd ../../..
|
||||
export PROJECT_BOARD=prometheus/f405
|
||||
export EXTRA_PARAMS=-DSHORT_BOARD_NAME=prometheus_405
|
||||
|
||||
|
||||
bash config/boards/common_make.sh
|
||||
bash ../common_make.sh
|
||||
|
||||
|
|
|
@ -2,10 +2,9 @@
|
|||
|
||||
# STM32F469 version of the firmware for https://rusefi.com/forum/viewtopic.php?f=4&t=1215
|
||||
|
||||
cd ../../..
|
||||
export PROJECT_BOARD=prometheus/f469
|
||||
export EXTRA_PARAMS=-DSHORT_BOARD_NAME=prometheus_469
|
||||
export USE_BOOTLOADER=yes
|
||||
|
||||
bash config/boards/common_make.sh
|
||||
bash ../common_make.sh
|
||||
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd ../../..
|
||||
|
||||
export PROJECT_BOARD=proteus
|
||||
export PROJECT_CPU=ARCH_STM32F4
|
||||
export EXTRA_PARAMS=-DSHORT_BOARD_NAME=proteus_f4
|
||||
|
||||
|
||||
|
||||
bash config/boards/common_make.sh
|
||||
bash ../common_make.sh
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd ../../..
|
||||
|
||||
export PROJECT_BOARD=proteus
|
||||
export PROJECT_CPU=ARCH_STM32F7
|
||||
export EXTRA_PARAMS=-DSHORT_BOARD_NAME=proteus_f7
|
||||
|
||||
export LDSCRIPT=config/boards/NUCLEO_F767/STM32F76xxI.ld
|
||||
|
||||
bash config/boards/common_make.sh
|
||||
bash ../common_make.sh
|
||||
|
|
Loading…
Reference in New Issue