forked from len0rd/rockbox
settings.h includs button.h that includes target-button.h so we need to make
sure all these knows how to find that include file as otherwise does the depfile generation break down git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10858 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1fe5fc935c
commit
30461369de
4 changed files with 7 additions and 8 deletions
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
INCLUDES = -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I$(FIRMDIR)/common \
|
||||
-I$(FIRMDIR)/drivers -I$(APPSDIR) -Ilib -I$(BUILDDIR)
|
||||
CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET) $(EXTRA_DEFINES) \
|
||||
CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(TARGET) $(EXTRA_DEFINES) \
|
||||
-DTARGET_ID=$(TARGET_ID) -DMEM=${MEMORYSIZE} -DCODEC
|
||||
|
||||
ifdef APPEXTRA
|
||||
|
|
@ -68,7 +68,6 @@ $(OBJDIR)/%.elf :
|
|||
-lgcc -T$(LINKCODEC) -Wl,-Map,$(OBJDIR)/$*.map
|
||||
|
||||
$(BUILDDIR)/%.a : % $(CODECDEPS)
|
||||
|
||||
|
||||
$(OBJDIR)/%.codec : $(OBJDIR)/%.elf
|
||||
@echo "OBJCOPY $(notdir $@)"
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@ ifdef APPEXTRA
|
|||
endif
|
||||
|
||||
FAADOPTS = -O2 -Wno-char-subscripts
|
||||
CFLAGS = $(INCLUDES) $(GCCOPTS) $(FAADOPTS) $(TARGET) $(EXTRA_DEFINES) \
|
||||
-DMEM=${MEMORYSIZE}
|
||||
CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(FAADOPTS) $(TARGET) \
|
||||
$(EXTRA_DEFINES) -DMEM=${MEMORYSIZE}
|
||||
|
||||
# This sets up 'SRC' based on the files mentioned in SOURCES
|
||||
include $(TOOLSDIR)/makesrc.inc
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@ ifdef APPEXTRA
|
|||
endif
|
||||
|
||||
M4AOPTS = -O3
|
||||
CFLAGS = $(INCLUDES) $(GCCOPTS) $(M4AOPTS) $(TARGET) $(EXTRA_DEFINES) \
|
||||
-DMEM=${MEMORYSIZE} $(PROFILE_OPTS)
|
||||
CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(M4AOPTS) $(TARGET) \
|
||||
$(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} $(PROFILE_OPTS)
|
||||
|
||||
# This sets up 'SRC' based on the files mentioned in SOURCES
|
||||
include $(TOOLSDIR)/makesrc.inc
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@ else
|
|||
MADOPTS += -O2
|
||||
endif
|
||||
|
||||
CFLAGS = $(INCLUDES) $(GCCOPTS) $(MADOPTS) $(TARGET) $(EXTRA_DEFINES) \
|
||||
-DMEM=${MEMORYSIZE} $(PROFILE_OPTS)
|
||||
CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(MADOPTS) $(TARGET) \
|
||||
$(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} $(PROFILE_OPTS)
|
||||
|
||||
# This sets up 'SRC' based on the files mentioned in SOURCES
|
||||
include $(TOOLSDIR)/makesrc.inc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue