summaryrefslogtreecommitdiffstats
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
DIRS = .
ifdef APPEXTRA
- DIRS += $(APPEXTRA)
- INCLUDES += -I$(APPEXTRA)
+ DIRS += $(subst :, ,$(APPEXTRA))
+ INCLUDES += $(patsubst %,-I%,$(subst :, ,$(APPEXTRA)))
endif
CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(DEFINES) \