summaryrefslogtreecommitdiff
path: root/bootloader/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/Makefile')
-rw-r--r--bootloader/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloader/Makefile b/bootloader/Makefile
index c2bc54a6da..d1a17df56a 100644
--- a/bootloader/Makefile
+++ b/bootloader/Makefile
@@ -22,8 +22,8 @@ SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARG
22DIRS = . 22DIRS = .
23 23
24ifdef APPEXTRA 24ifdef APPEXTRA
25 DIRS += $(APPEXTRA) 25 DIRS += $(subst :, ,$(APPEXTRA))
26 INCLUDES += -I$(APPEXTRA) 26 INCLUDES += $(patsubst %,-I%,$(subst :, ,$(APPEXTRA)))
27endif 27endif
28 28
29ifndef VERSION 29ifndef VERSION