uniform current folder strategy

This commit is contained in:
rusefillc 2022-08-15 11:45:41 -04:00
parent 01b4d3e052
commit 911eaecfbd
3 changed files with 4 additions and 13 deletions

View File

@ -8,8 +8,6 @@
# see inside cache.zip for all input files
#
cd ../../../../..
pwd
bash gen_signature.sh hellen_cypress

View File

@ -8,8 +8,6 @@
# see inside cache.zip for all input files
#
cd ../../../..
pwd
bash gen_signature.sh kin

View File

@ -46,7 +46,7 @@ for BOARD in \
BOARD_NAME=$(echo "$BOARD" | cut -d " " -f 1)
BOARD_SHORT_NAME=$(echo "$BOARD" | cut -d " " -f 2)
INI=$(echo "$BOARD" | cut -d " " -f 3)
gen_config_board.sh $BOARD_NAME $BOARD_SHORT_NAME $INI
./gen_config_board.sh $BOARD_NAME $BOARD_SHORT_NAME $INI
[ $? -eq 0 ] || { echo "ERROR generating board $BOARD_NAME $BOARD_SHORT_NAME $INI"; exit 1; }
done
@ -54,21 +54,16 @@ done
# TODO: it's time to kill the 'default' bundle concept and just live happily with explicit f407-discovery
# default config should be generated after normal custom boards so that it would be default
# firmware/controllers/generated/rusefi_generated.h file which would be pushed into VCS
gen_config_default.sh
./gen_config_default.sh
[ $? -eq 0 ] || { echo "ERROR generating default"; exit 1; }
# todo: we have a bit of code duplication with build-firmware.yaml here :(
cd config/boards/kinetis/config
gen_kinetis_config.sh
config/boards/kinetis/config/gen_kinetis_config.sh
[ $? -eq 0 ] || { echo "ERROR generating board kinetis kin"; exit 1; }
cd ../../../..
cd config/boards/hellen/cypress/config
gen_cypress_config.sh
config/boards/hellen/cypress/config/gen_cypress_config.sh
[ $? -eq 0 ] || { echo "ERROR generating board hellen_cypress hellen_cypress"; exit 1; }
cd ../../../../..
config/boards/subaru_eg33/config/gen_subaru_config.sh
[ $? -eq 0 ] || { echo "ERROR generating board subaru_eg33 subaru_eg33_f7"; exit 1; }