From 13c130983e4997869a538bf724792040b3ad4a72 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Mon, 5 Jul 2021 15:08:11 -0400 Subject: [PATCH] Fix bootloader build #2907 helping build? --- firmware/bootloader/src/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/firmware/bootloader/src/Makefile b/firmware/bootloader/src/Makefile index d75fa25757..9b6c29c4bd 100644 --- a/firmware/bootloader/src/Makefile +++ b/firmware/bootloader/src/Makefile @@ -1,6 +1,5 @@ -############################################################################## -# Build global options -# NOTE: Can be overridden externally. +# +# this Makefile is intended to be invoked from one level above - see ..\compile_bootloader.sh # # by default EXTRA_PARAMS is empty and we create 'debug' version of the firmware with additional assertions and statistics @@ -116,7 +115,7 @@ endif # Define project name here PROJECT = bootloader -PROJECT_DIR = ../.. +PROJECT_DIR = .. # Imported source files and paths CHIBIOS = $(PROJECT_DIR)/ChibiOS @@ -210,7 +209,7 @@ TCPPSRC = ASMXSRC = $(STARTUPASM) $(PORTASM) $(OSALASM) INCDIR = $(ALLINC) \ - ../.. \ + .. \ $(CHIBIOS)/os/various \ $(CHIBIOS)/os/ex/ST \ $(CHIBIOS)/os/hal/lib/peripherals/sensors \