no custom per-board ini name

This commit is contained in:
Matthew Kennedy 2024-03-19 13:06:40 -07:00
parent 434de890be
commit 23053a3a2c
3 changed files with 5 additions and 8 deletions

View File

@ -20,7 +20,7 @@ for BOARD in \
"config/boards/hellen/alphax-4chan alphax-4chan" \ "config/boards/hellen/alphax-4chan alphax-4chan" \
"config/boards/hellen/alphax-8chan alphax-8chan" \ "config/boards/hellen/alphax-8chan alphax-8chan" \
"config/boards/hellen/harley81 harley81" \ "config/boards/hellen/harley81 harley81" \
"config/boards/hellen/hellen128 hellen128 fome_hellen128mercedes.ini" \ "config/boards/hellen/hellen128 hellen128" \
"config/boards/hellen/hellen121vag hellen121vag" \ "config/boards/hellen/hellen121vag hellen121vag" \
"config/boards/hellen/hellen121nissan hellen121nissan" \ "config/boards/hellen/hellen121nissan hellen121nissan" \
"config/boards/hellen/hellen-honda-k hellen-honda-k" \ "config/boards/hellen/hellen-honda-k hellen-honda-k" \

View File

@ -17,11 +17,7 @@ fi
BOARD_DIR=$1 BOARD_DIR=$1
SHORT_BOARDNAME=$2 SHORT_BOARDNAME=$2
if [ $# -gt 2 ]; then INI="fome_${SHORT_BOARDNAME}.ini"
INI="$3"
else
INI="fome_${SHORT_BOARDNAME}.ini"
fi
echo "BOARD_DIR=${BOARD_DIR} SHORT_BOARDNAME=${SHORT_BOARDNAME}" echo "BOARD_DIR=${BOARD_DIR} SHORT_BOARDNAME=${SHORT_BOARDNAME}"

View File

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
# file gen_config_default.sh # file gen_config_default.sh
bash gen_config_board.sh config/boards/f407-discovery f407-discovery fome.ini set -euo pipefail
exit $?
bash gen_config_board.sh config/boards/f407-discovery f407-discovery