diff --git a/makefiles/setup.mk b/makefiles/setup.mk index 8540718d4f..e9da766c45 100644 --- a/makefiles/setup.mk +++ b/makefiles/setup.mk @@ -33,9 +33,10 @@ # Path and tool setup # -#export PX4_TARGET_OS = nuttx -export PX4_TARGET_OS = linux -#export PX4_TARGET_OS ?= qurt +# PX4_TARGET_OS can be nuttx, linux, or qurt +ifeq ($(PX4_TARGET_OS),) +$(error Use: make PX4_TARGET_OS= where is nuttx, linux, or qurt) +endif # # Some useful paths.