build system: Allow BUILD_DIR_BASE to be a relative directory (see github #38)

This commit is contained in:
Angus Gratton
2016-10-06 18:05:51 +11:00
parent eccf54b939
commit f720e82d40
5 changed files with 13 additions and 5 deletions

View File

@@ -11,7 +11,7 @@
ifeq ("$(IS_BOOTLOADER_BUILD)","")
BOOTLOADER_COMPONENT_PATH := $(COMPONENT_PATH)
BOOTLOADER_BUILD_DIR=$(BUILD_DIR_BASE)/bootloader
BOOTLOADER_BUILD_DIR=$(abspath $(BUILD_DIR_BASE)/bootloader)
BOOTLOADER_BIN=$(BOOTLOADER_BUILD_DIR)/bootloader.bin
BOOTLOADER_SDKCONFIG=$(BOOTLOADER_BUILD_DIR)/sdkconfig