From e59a98f11c5fd8253dae81edf22a5072436069fe Mon Sep 17 00:00:00 2001 From: Ulrich Mohr Date: Thu, 10 Feb 2022 15:28:12 +0100 Subject: [PATCH] removed q7s/watchdog and q7s/simple configurations scripts, as there is no special configuration needed any more --- .../Q7S/simple/make-simple-debug-cfg.sh | 36 ------------------ .../Q7S/simple/ninja-simple-debug-cfg.sh | 35 ------------------ cmake/scripts/Q7S/watchdog/make-debug-cfg.sh | 37 ------------------- .../scripts/Q7S/watchdog/make-release-cfg.sh | 36 ------------------ cmake/scripts/Q7S/watchdog/ninja-debug-cfg.sh | 35 ------------------ .../scripts/Q7S/watchdog/ninja-release-cfg.sh | 35 ------------------ 6 files changed, 214 deletions(-) delete mode 100755 cmake/scripts/Q7S/simple/make-simple-debug-cfg.sh delete mode 100755 cmake/scripts/Q7S/simple/ninja-simple-debug-cfg.sh delete mode 100755 cmake/scripts/Q7S/watchdog/make-debug-cfg.sh delete mode 100755 cmake/scripts/Q7S/watchdog/make-release-cfg.sh delete mode 100755 cmake/scripts/Q7S/watchdog/ninja-debug-cfg.sh delete mode 100755 cmake/scripts/Q7S/watchdog/ninja-release-cfg.sh diff --git a/cmake/scripts/Q7S/simple/make-simple-debug-cfg.sh b/cmake/scripts/Q7S/simple/make-simple-debug-cfg.sh deleted file mode 100755 index 93f4a087..00000000 --- a/cmake/scripts/Q7S/simple/make-simple-debug-cfg.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh -counter=0 -cfg_script_name="cmake-build-cfg.py" -while [ ${counter} -lt 5 ] -do - cd .. - if [ -f ${cfg_script_name} ];then - break - fi - counter=$((counter=counter + 1)) -done - -if [ "${counter}" -ge 5 ];then - echo "${cfg_script_name} not found in upper directories!" - exit 1 -fi - -os_fsfw="linux" -tgt_bsp="arm/q7s" -build_dir="build-Simple-Q7S" -build_generator="" -definitions="BUILD_Q7S_SIMPLE_MODE=On" -if [ "${OS}" = "Windows_NT" ]; then - build_generator="MinGW Makefiles" - python="py" -# Could be other OS but this works for now. -else - build_generator="Unix Makefiles" - python="python3" -fi - -echo "Running command (without the leading +):" -set -x # Print command -${python} ${cfg_script_name} -o "${os_fsfw}" -g "${build_generator}" -b "debug" -t "${tgt_bsp}" \ - -l "${build_dir}" -d "${definitions}" -# set +x diff --git a/cmake/scripts/Q7S/simple/ninja-simple-debug-cfg.sh b/cmake/scripts/Q7S/simple/ninja-simple-debug-cfg.sh deleted file mode 100755 index c1805eff..00000000 --- a/cmake/scripts/Q7S/simple/ninja-simple-debug-cfg.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -counter=0 -cfg_script_name="cmake-build-cfg.py" -while [ ${counter} -lt 5 ] -do - cd .. - if [ -f ${cfg_script_name} ];then - break - fi - counter=$((counter=counter + 1)) -done - -if [ "${counter}" -ge 5 ];then - echo "${cfg_script_name} not found in upper directories!" - exit 1 -fi - -os_fsfw="linux" -tgt_bsp="arm/q7s" -build_dir="build-Simple-Q7S" -build_generator="Ninja" -definitions="BUILD_Q7S_SIMPLE_MODE=On" -if [ "${OS}" = "Windows_NT" ]; then - python="py" -# Could be other OS but this works for now. -else - python="python3" -fi - -echo "Running command (without the leading +):" -set -x # Print command -${python} ${cfg_script_name} -o "${os_fsfw}" -g "${build_generator}" -b "debug" -t "${tgt_bsp}" \ - -l "${build_dir}" -d "${definitions}" -# set +x - diff --git a/cmake/scripts/Q7S/watchdog/make-debug-cfg.sh b/cmake/scripts/Q7S/watchdog/make-debug-cfg.sh deleted file mode 100755 index 0f829fea..00000000 --- a/cmake/scripts/Q7S/watchdog/make-debug-cfg.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh -counter=0 -cfg_script_name="cmake-build-cfg.py" -while [ ${counter} -lt 5 ] -do - cd .. - if [ -f ${cfg_script_name} ];then - break - fi - counter=$((counter=counter + 1)) -done - -if [ "${counter}" -ge 5 ];then - echo "${cfg_script_name} not found in upper directories!" - exit 1 -fi - -os_fsfw="linux" -tgt_bsp="arm/q7s" -build_dir="build-Debug-Watchdog" -build_generator="" -definitions="EIVE_BUILD_WATCHDOG=ON" -if [ "${OS}" = "Windows_NT" ]; then - build_generator="MinGW Makefiles" - python="py" -# Could be other OS but this works for now. -else - build_generator="Unix Makefiles" - python="python3" -fi - -echo "Running command (without the leading +):" -set -x # Print command -${python} ${cfg_script_name} -o "${os_fsfw}" -g "${build_generator}" -b "debug" -t "${tgt_bsp}" \ - -d "${definitions}" -l"${build_dir}" -# set +x - diff --git a/cmake/scripts/Q7S/watchdog/make-release-cfg.sh b/cmake/scripts/Q7S/watchdog/make-release-cfg.sh deleted file mode 100755 index c8df73d5..00000000 --- a/cmake/scripts/Q7S/watchdog/make-release-cfg.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh -counter=0 -while [ ${counter} -lt 5 ] -do - cd .. - if [ -f "cmake_build_config.py" ];then - break - fi - counter=$((counter=counter + 1)) -done - -if [ "${counter}" -ge 5 ];then - echo "cmake_build_config.py not found in upper directories!" - exit 1 -fi - -os_fsfw="linux" -tgt_bsp="arm/q7s" -build_dir="build-Release-Watchdog" -build_generator="" -definitions="EIVE_BUILD_WATCHDOG=ON" -if [ "${OS}" = "Windows_NT" ]; then - build_generator="MinGW Makefiles" - python="py" -# Could be other OS but this works for now. -else - build_generator="Unix Makefiles" - python="python3" -fi - -echo "Running command (without the leading +):" -set -x # Print command -${python} cmake_build_config.py -o "${os_fsfw}" -g "${build_generator}" -b "release" -t "${tgt_bsp}" \ - -d "${definitions} -l"${build_dir}" -# set +x - diff --git a/cmake/scripts/Q7S/watchdog/ninja-debug-cfg.sh b/cmake/scripts/Q7S/watchdog/ninja-debug-cfg.sh deleted file mode 100755 index ed23bb6a..00000000 --- a/cmake/scripts/Q7S/watchdog/ninja-debug-cfg.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -counter=0 -cfg_script_name="cmake-build-cfg.py" -while [ ${counter} -lt 5 ] -do - cd .. - if [ -f ${cfg_script_name} ];then - break - fi - counter=$((counter=counter + 1)) -done - -if [ "${counter}" -ge 5 ];then - echo "${cfg_script_name} not found in upper directories!" - exit 1 -fi - -os_fsfw="linux" -tgt_bsp="arm/q7s" -build_dir="build-Debug-Watchdog" -build_generator="Ninja" -definitions="EIVE_BUILD_WATCHDOG=ON" -if [ "${OS}" = "Windows_NT" ]; then - python="py" -# Could be other OS but this works for now. -else - python="python3" -fi - -echo "Running command (without the leading +):" -set -x # Print command -${python} ${cfg_script_name} -o "${os_fsfw}" -g "${build_generator}" -b "debug" -t "${tgt_bsp}" \ - -d "${definitions}" -l "${build_dir}" -# set +x - diff --git a/cmake/scripts/Q7S/watchdog/ninja-release-cfg.sh b/cmake/scripts/Q7S/watchdog/ninja-release-cfg.sh deleted file mode 100755 index d8f5e18e..00000000 --- a/cmake/scripts/Q7S/watchdog/ninja-release-cfg.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -counter=0 -cfg_script_name="cmake-build-cfg.py" -while [ ${counter} -lt 5 ] -do - cd .. - if [ -f ${cfg_script_name} ];then - break - fi - counter=$((counter=counter + 1)) -done - -if [ "${counter}" -ge 5 ];then - echo "${cfg_script_name} not found in upper directories!" - exit 1 -fi - -os_fsfw="linux" -tgt_bsp="arm/q7s" -build_dir="build-Release-Watchdog" -build_generator="Ninja" -definitions="EIVE_BUILD_WATCHDOG=ON" -if [ "${OS}" = "Windows_NT" ]; then - python="py" -# Could be other OS but this works for now. -else - python="python3" -fi - -echo "Running command (without the leading +):" -set -x # Print command -${python} ${cfg_script_name} -o "${os_fsfw}" -g "${build_generator}" -b "release" -t "${tgt_bsp}" \ - -d "${definitions}" -l"${build_dir}" -# set +x -