Browse Source

build: give an error if PX4_ROOT not defined for PX4 build

master
Andrew Tridgell 12 years ago
parent
commit
92605a63ea
  1. 5
      mk/px4_targets.mk

5
mk/px4_targets.mk

@ -11,4 +11,9 @@ px4-clean: @@ -11,4 +11,9 @@ px4-clean:
px4-upload:
make -C $(PX4_ROOT) EXTERNAL_APPS=$(PWD) upload
else
px4:
$(error ERROR: You need to add PX4_ROOT to your config.mk)
endif

Loading…
Cancel
Save