From 6093cb7c16400a74810160fa361fdbefb5212418 Mon Sep 17 00:00:00 2001 From: Radoslaw Wicik Date: Wed, 19 Feb 2020 16:10:48 +0100 Subject: [PATCH] [EGD-2886] Repair arm/linux reverse target files --- README.md | 6 +++--- configure.sh | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2839c2e40..9a80d4d96 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,10 @@ Prior to any build setup environment, need to be run once. (See: `## Run provisi ## Super quick and dirty to run app on linux: ``` -cat env.cmake.sample | sed "s::$HOME:" > env.cmake # set env.cmake +cat env.cmake.sample | sed "s::$HOME:" > env.cmake # set env.cmake git submodule update --init --recursive # initialize submodules cd ./config/ && ./bootstrap.sh && cd ../ # bootstrap requirements -./cofnigure.sh arm|linux Debug|Release|RelWithDebInfo # configure build +./cofnigure.sh rt1051|linux Debug|Release|RelWithDebInfo # configure build cd # build dir depends on configuration make -j # build ./PurePhone # run PurePhone - emulator screen will pop up @@ -25,7 +25,7 @@ Prior to all - install JLink driver (see `## Install JLink driver`) cp ./env.cmake.sample ./env.cmake && sed -i "s::$HOME:" env.cmake git submodule update --init --recursive cd ./config/ && ./bootstrap.sh && cd ../ -./configure.sh arm RelWithDebInfo +./configure.sh rt1051 RelWithDebInfo cd build-arm-RelWithDebInfo make -j diff --git a/configure.sh b/configure.sh index 8dbad1490..fd3b66cb2 100755 --- a/configure.sh +++ b/configure.sh @@ -11,7 +11,7 @@ function help() { echo -e "ussage:" echo -e "\t$0 " echo -e "available targests ar:" - echo -e "\t\t\tlinux\n\t\t\tarm" + echo -e "\t\t\tlinux\n\t\t\trt1051" echo -e "available build types:" echo -e "\t\t\t\tDebug\t\t- standard debug build" echo -e "\t\t\t\tRelease\t\t- release build (not for debugging)" @@ -30,11 +30,11 @@ function test_env.cmake() { function check_target() { case ${TARGET,,} in linux ) - CMAKE_TOOLCHAIN_FILE="Target_RT1051.cmake" - return 0 ;; - arm ) CMAKE_TOOLCHAIN_FILE="Target_Linux.cmake" return 0 ;; + rt1051 ) + CMAKE_TOOLCHAIN_FILE="Target_RT1051.cmake" + return 0 ;; *) echo "Wrong target: \"${TARGET}\"" return 1