From 21023e35dfe14c1d220e0615aa24ef1e95b4786d Mon Sep 17 00:00:00 2001 From: rusefillc Date: Tue, 16 Aug 2022 17:51:30 -0400 Subject: [PATCH] custom stuff goes on top to make sure it's overwritten with less weird stuff --- firmware/gen_config.sh | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/firmware/gen_config.sh b/firmware/gen_config.sh index 8bbfd5ce64..5c8a67b2f1 100755 --- a/firmware/gen_config.sh +++ b/firmware/gen_config.sh @@ -9,6 +9,17 @@ rm -f gen_config_board.log # todo: who is the consumer of this folder? shall we move that 'mkdir' command closer to usage? mkdir build + +# todo: we have a bit of code duplication with build-firmware.yaml here :( +config/boards/kinetis/config/gen_kinetis_config.sh +[ $? -eq 0 ] || { echo "ERROR generating board kinetis kin"; exit 1; } + +config/boards/cypress/config/gen_cypress_config.sh +[ $? -eq 0 ] || { echo "ERROR generating board cypress cypress"; exit 1; } + +config/boards/subaru_eg33/config/gen_subaru_config.sh +[ $? -eq 0 ] || { echo "ERROR generating board subaru_eg33 subaru_eg33_f7"; exit 1; } + # # see also build-firmware where we compile all versions of firmware # @@ -58,14 +69,4 @@ done [ $? -eq 0 ] || { echo "ERROR generating default"; exit 1; } -# todo: we have a bit of code duplication with build-firmware.yaml here :( -config/boards/kinetis/config/gen_kinetis_config.sh -[ $? -eq 0 ] || { echo "ERROR generating board kinetis kin"; exit 1; } - -config/boards/cypress/config/gen_cypress_config.sh -[ $? -eq 0 ] || { echo "ERROR generating board cypress cypress"; exit 1; } - -config/boards/subaru_eg33/config/gen_subaru_config.sh -[ $? -eq 0 ] || { echo "ERROR generating board subaru_eg33 subaru_eg33_f7"; exit 1; } - exit 0