Build Tremor with -O3 for coldfire targets, gives a slight increase in speed, remember to make clean.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13598 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7b1d90a851
commit
a85793fc54
1 changed files with 7 additions and 1 deletions
|
@ -14,7 +14,13 @@ ifdef APPEXTRA
|
||||||
INCLUDES += $(patsubst %,-I$(APPSDIR)/%,$(subst :, ,$(APPEXTRA)))
|
INCLUDES += $(patsubst %,-I$(APPSDIR)/%,$(subst :, ,$(APPEXTRA)))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
TREMOROPTS = -O2
|
# Tremor is slightly faster on coldfire with -O3
|
||||||
|
ifeq ($(CPU),coldfire)
|
||||||
|
TREMOROPTS = -O3
|
||||||
|
else
|
||||||
|
TREMOROPTS = -O2
|
||||||
|
endif
|
||||||
|
|
||||||
CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(TREMOROPTS) $(TARGET) \
|
CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(TREMOROPTS) $(TARGET) \
|
||||||
$(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} ${PROFILE_OPTS}
|
$(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} ${PROFILE_OPTS}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue