From 0eca86443dd71cf2938b375e63a712b10372e5ed Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Mon, 26 Sep 2016 10:48:37 -1000 Subject: [PATCH] Master additional targets (#5548) * Allow Niga to be disabled from command line * Add a build all nuttx targets --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 1f1843ea0b..f76e2707bf 100644 --- a/Makefile +++ b/Makefile @@ -88,7 +88,9 @@ FIRST_ARG := $(firstword $(MAKECMDGOALS)) ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS)) j ?= 4 +ifndef NO_NINJA_BUILD NINJA_BUILD := $(shell ninja --version 2>/dev/null) +endif ifdef NINJA_BUILD PX4_CMAKE_GENERATOR ?= "Ninja" PX4_MAKE = ninja @@ -157,6 +159,8 @@ $(ALL_CONFIG_TARGETS): $(NUTTX_CONFIG_TARGETS): $(call cmake-build,nuttx_$@) +all_nuttx_targets: $(NUTTX_CONFIG_TARGETS) + posix: posix_sitl_default broadcast: posix_sitl_broadcast