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 \
|
INCLUDES = -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I$(FIRMDIR)/common \
|
||||||
-I$(FIRMDIR)/drivers -I$(APPSDIR) -Ilib -I$(BUILDDIR)
|
-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
|
-DTARGET_ID=$(TARGET_ID) -DMEM=${MEMORYSIZE} -DCODEC
|
||||||
|
|
||||||
ifdef APPEXTRA
|
ifdef APPEXTRA
|
||||||
|
|
@ -69,7 +69,6 @@ $(OBJDIR)/%.elf :
|
||||||
|
|
||||||
$(BUILDDIR)/%.a : % $(CODECDEPS)
|
$(BUILDDIR)/%.a : % $(CODECDEPS)
|
||||||
|
|
||||||
|
|
||||||
$(OBJDIR)/%.codec : $(OBJDIR)/%.elf
|
$(OBJDIR)/%.codec : $(OBJDIR)/%.elf
|
||||||
@echo "OBJCOPY $(notdir $@)"
|
@echo "OBJCOPY $(notdir $@)"
|
||||||
$(SILENT)$(OC) -O binary $< $@
|
$(SILENT)$(OC) -O binary $< $@
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@ ifdef APPEXTRA
|
||||||
endif
|
endif
|
||||||
|
|
||||||
FAADOPTS = -O2 -Wno-char-subscripts
|
FAADOPTS = -O2 -Wno-char-subscripts
|
||||||
CFLAGS = $(INCLUDES) $(GCCOPTS) $(FAADOPTS) $(TARGET) $(EXTRA_DEFINES) \
|
CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(FAADOPTS) $(TARGET) \
|
||||||
-DMEM=${MEMORYSIZE}
|
$(EXTRA_DEFINES) -DMEM=${MEMORYSIZE}
|
||||||
|
|
||||||
# This sets up 'SRC' based on the files mentioned in SOURCES
|
# This sets up 'SRC' based on the files mentioned in SOURCES
|
||||||
include $(TOOLSDIR)/makesrc.inc
|
include $(TOOLSDIR)/makesrc.inc
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@ ifdef APPEXTRA
|
||||||
endif
|
endif
|
||||||
|
|
||||||
M4AOPTS = -O3
|
M4AOPTS = -O3
|
||||||
CFLAGS = $(INCLUDES) $(GCCOPTS) $(M4AOPTS) $(TARGET) $(EXTRA_DEFINES) \
|
CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(M4AOPTS) $(TARGET) \
|
||||||
-DMEM=${MEMORYSIZE} $(PROFILE_OPTS)
|
$(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} $(PROFILE_OPTS)
|
||||||
|
|
||||||
# This sets up 'SRC' based on the files mentioned in SOURCES
|
# This sets up 'SRC' based on the files mentioned in SOURCES
|
||||||
include $(TOOLSDIR)/makesrc.inc
|
include $(TOOLSDIR)/makesrc.inc
|
||||||
|
|
|
||||||
|
|
@ -24,8 +24,8 @@ else
|
||||||
MADOPTS += -O2
|
MADOPTS += -O2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS = $(INCLUDES) $(GCCOPTS) $(MADOPTS) $(TARGET) $(EXTRA_DEFINES) \
|
CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(MADOPTS) $(TARGET) \
|
||||||
-DMEM=${MEMORYSIZE} $(PROFILE_OPTS)
|
$(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} $(PROFILE_OPTS)
|
||||||
|
|
||||||
# This sets up 'SRC' based on the files mentioned in SOURCES
|
# This sets up 'SRC' based on the files mentioned in SOURCES
|
||||||
include $(TOOLSDIR)/makesrc.inc
|
include $(TOOLSDIR)/makesrc.inc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue