diff options
author | Raul Munoz <raul.munoz@toradex.com> | 2017-05-19 15:06:12 -0300 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2017-05-22 17:09:55 -0700 |
commit | 1308c4c2cd49e82c8c33cbdf053e6651f1e7dea4 (patch) | |
tree | 90235220f2e78239ae59eb8744f3c05e0ffbaa29 /examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_polling/master/armgcc/debug/build_debug.sh | |
parent | 4a0641e22d21d5e05103338cbd2f6dbcab974141 (diff) |
examples: ecspi_polling_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_polling/master/armgcc/debug/build_debug.sh')
-rwxr-xr-x | examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_polling/master/armgcc/debug/build_debug.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_polling/master/armgcc/debug/build_debug.sh b/examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_polling/master/armgcc/debug/build_debug.sh new file mode 100755 index 0000000..23808cf --- /dev/null +++ b/examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_polling/master/armgcc/debug/build_debug.sh @@ -0,0 +1,3 @@ +#!/bin/sh +cmake -DCMAKE_TOOLCHAIN_FILE="../../../../../../../tools/cmake_toolchain_files/armgcc.cmake" -G "Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug .. +make -j4 |