diff options
author | Raul Munoz <raul.munoz@toradex.com> | 2017-05-19 15:06:11 -0300 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2017-05-22 17:09:55 -0700 |
commit | 4a0641e22d21d5e05103338cbd2f6dbcab974141 (patch) | |
tree | e7a028dac00563fb35675aff0ef3fc943304cf86 /examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_interrupt/master/armgcc/build_all.sh | |
parent | f37be0136c97bce2b53eaf1baa2b08d78eb43ddb (diff) |
examples: ecspi_interrupt_master: update CMake structure
Updating this CMake struct according hello_world example.
Using this new struct we can build debug and release configuration
at the same time and use Eclipse.
Signed-off-by: Raul Munoz <raul.munoz@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_interrupt/master/armgcc/build_all.sh')
-rwxr-xr-x | examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_interrupt/master/armgcc/build_all.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_interrupt/master/armgcc/build_all.sh b/examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_interrupt/master/armgcc/build_all.sh index fc1cfb1..99e6267 100755 --- a/examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_interrupt/master/armgcc/build_all.sh +++ b/examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_interrupt/master/armgcc/build_all.sh @@ -1,5 +1,7 @@ #!/bin/sh -cmake -DCMAKE_TOOLCHAIN_FILE="../../../../../../../tools/cmake_toolchain_files/armgcc.cmake" -G "Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug . -make -j4 -cmake -DCMAKE_TOOLCHAIN_FILE="../../../../../../../tools/cmake_toolchain_files/armgcc.cmake" -G "Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Release . -make -j4 +cd debug/ +./build_debug.sh +cd .. +cd release/ +./build_release.sh +cd .. |