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

This commit is contained in:
Andrew Tridgell 2013-01-02 17:32:28 +11:00
parent 374af1cd14
commit 92605a63ea

View File

@ -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