summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xports/stm32/mboot/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/mboot/Makefile b/ports/stm32/mboot/Makefile
index 990819423..389f9f5d0 100755
--- a/ports/stm32/mboot/Makefile
+++ b/ports/stm32/mboot/Makefile
@@ -6,7 +6,7 @@ BOARD ?= $(notdir $(BOARD_DIR:/=))
else
# If not given on the command line, then default to PYBV10.
BOARD ?= PYBV10
-BOARD_DIR ?= ../boards/$(BOARD)
+BOARD_DIR ?= $(abspath ../boards/$(BOARD))
endif
# If the build directory is not given, make it reflect the board name.