diff options
Diffstat (limited to 'flash/bootbox/Makefile')
-rw-r--r-- | flash/bootbox/Makefile | 4 |
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 | |||
22 | DIRS = . | 22 | DIRS = . |
23 | 23 | ||
24 | ifdef APPEXTRA | 24 | ifdef APPEXTRA |
25 | DIRS += $(APPEXTRA) | 25 | DIRS += $(subst :, ,$(APPEXTRA)) |
26 | INCLUDES += -I$(APPEXTRA) | 26 | INCLUDES += $(patsubst %,-I%,$(subst :, ,$(APPEXTRA))) |
27 | endif | 27 | endif |
28 | 28 | ||
29 | CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(DEFINES) \ | 29 | CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(DEFINES) \ |