mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-05-19 05:57:30 -04:00
[EGD-2886] Repair arm/linux reverse target files
This commit is contained in:
committed by
Radosław Wicik
parent
33d66d6bc9
commit
6093cb7c16
@@ -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>:$HOME:" > env.cmake # set env.cmake
|
||||
cat env.cmake.sample | sed "s:<HOME>:$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> # 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>:$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
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ function help() {
|
||||
echo -e "ussage:"
|
||||
echo -e "\t$0 <target> <build_type>"
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user