Build: move BUILDROOT inside SKETCHBOOK

this allows for relative paths in the px4 build
This commit is contained in:
Andrew Tridgell 2013-08-13 11:22:54 +10:00
parent 16b5f923ae
commit 34af601551

View File

@ -64,7 +64,7 @@ endif
# Work out where we are going to be building things
#
TMPDIR ?= /tmp
BUILDROOT := $(abspath $(TMPDIR)/$(SKETCH).build)
BUILDROOT := $(SKETCHBOOK)/Build.$(SKETCH)
ifneq ($(findstring CYGWIN, $(SYSTYPE)),)
# Workaround a $(abspath ) bug on cygwin
ifeq ($(BUILDROOT),)