summaryrefslogtreecommitdiff
path: root/examples/imx7_colibri_m4/low_power_demo/armgcc/build_all.sh
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2017-02-09 14:27:09 -0800
committerStefan Agner <stefan.agner@toradex.com>2017-03-02 14:04:11 -0800
commitb4cf828c2e5c7a565f888fdf40afc916cac1ed10 (patch)
tree6b22d8914e053f37498931cbb4572c6a83a36a93 /examples/imx7_colibri_m4/low_power_demo/armgcc/build_all.sh
parent0f1f3957e9cb44292ce11718bbf687474f3f2776 (diff)
initial commit of Low Power Demo
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'examples/imx7_colibri_m4/low_power_demo/armgcc/build_all.sh')
-rwxr-xr-xexamples/imx7_colibri_m4/low_power_demo/armgcc/build_all.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/imx7_colibri_m4/low_power_demo/armgcc/build_all.sh b/examples/imx7_colibri_m4/low_power_demo/armgcc/build_all.sh
new file mode 100755
index 0000000..98ff335
--- /dev/null
+++ b/examples/imx7_colibri_m4/low_power_demo/armgcc/build_all.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+cmake -DCMAKE_TOOLCHAIN_FILE="../../../../tools/cmake_toolchain_files/armgcc.cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug .
+make -j4
+cmake -DCMAKE_TOOLCHAIN_FILE="../../../../tools/cmake_toolchain_files/armgcc.cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release .
+make -j4