2015-09-07 21:37:45 -03:00
|
|
|
d=$(PWD)
|
2013-02-23 20:05:59 -04:00
|
|
|
|
2015-09-07 21:37:45 -03:00
|
|
|
px4fmu-v2_simple:
|
|
|
|
mkdir -p $d/build_$@ && cd $d/build_$@ && \
|
|
|
|
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-arm-none-eabi.cmake \
|
|
|
|
-DOS=nuttx -DBOARD=px4fmu-v2 -DLABEL=simple && \
|
|
|
|
make -s && ctest -V && cpack -G ZIP
|
2013-01-16 22:23:49 -04:00
|
|
|
|
2015-09-07 21:37:45 -03:00
|
|
|
px4fmu-v2_simple-upload: px4fmu-v2_simple
|
|
|
|
cd $d/build_$< && make upload
|
2015-05-20 23:19:08 -03:00
|
|
|
|
2015-09-07 21:37:45 -03:00
|
|
|
posix-sitl_simple:
|
|
|
|
mkdir -p $d/build_$@ && cd $d/build_$@ && \
|
2015-09-08 19:39:13 -03:00
|
|
|
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-posix-clang-native.cmake \
|
2015-09-07 21:37:45 -03:00
|
|
|
-DOS=posix -DBOARD=sitl -DLABEL=simple && \
|
|
|
|
make -s && ctest -V && cpack -G ZIP
|
2013-01-16 22:23:49 -04:00
|
|
|
|
2015-09-07 21:37:45 -03:00
|
|
|
qurt-hil_simple:
|
|
|
|
mkdir -p $d/build_$@ && cd $d/build_$@ && \
|
|
|
|
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-hexagon.cmake \
|
|
|
|
-DOS=qurt -DBOARD=hil -DLABEL=simple && \
|
|
|
|
make -s && ctest -V && cpack -G ZIP
|
2015-05-22 17:22:12 -03:00
|
|
|
|
2012-08-04 19:12:36 -03:00
|
|
|
clean:
|
2015-09-07 21:37:45 -03:00
|
|
|
rm -rf build_*/
|
2015-06-15 21:23:04 -03:00
|
|
|
|
2015-09-07 21:37:45 -03:00
|
|
|
.PHONY: clean
|