summaryrefslogtreecommitdiff
path: root/flash/bootbox/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'flash/bootbox/Makefile')
-rw-r--r--flash/bootbox/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/flash/bootbox/Makefile b/flash/bootbox/Makefile
index e08c26f53e..3355238632 100644
--- a/flash/bootbox/Makefile
+++ b/flash/bootbox/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
29CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(DEFINES) \ 29CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(DEFINES) \