diff options
| author | Michael Giacomelli <giac2000@hotmail.com> | 2008-09-04 18:02:10 +0000 |
|---|---|---|
| committer | Michael Giacomelli <giac2000@hotmail.com> | 2008-09-04 18:02:10 +0000 |
| commit | 46f85c4c547188d08fd90bad7734d38c654f13ea (patch) | |
| tree | f868536dccac3a8d4047d11f29310e99b896b03b /apps/codecs/lib/Makefile | |
| parent | 6c608263d7e19ea9189e6812eed8fc29996b4ef2 (diff) | |
| download | rockbox-46f85c4c547188d08fd90bad7734d38c654f13ea.zip rockbox-46f85c4c547188d08fd90bad7734d38c654f13ea.tar.gz rockbox-46f85c4c547188d08fd90bad7734d38c654f13ea.tar.bz2 rockbox-46f85c4c547188d08fd90bad7734d38c654f13ea.tar.xz | |
Combine the Vorbis, WMA and AAC IMDCT functions and put them into the codeclib. Combined IMDCT is now based on existing Tremor transform. Reduces CPU for 192k AAC by 21MHz on Coldfire, and 5MHz on PP5024. WMA and Vorbis should have no functional changes since they already used this code. Further optimization is possible and would benefit all 3 codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18412 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/lib/Makefile')
| -rw-r--r-- | apps/codecs/lib/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/codecs/lib/Makefile b/apps/codecs/lib/Makefile index 9f831d5..4a33a58 100644 --- a/apps/codecs/lib/Makefile +++ b/apps/codecs/lib/Makefile @@ -20,11 +20,17 @@ endif CFLAGS = $(INCLUDES) $(GCCOPTS) \ $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} -DCODEC +# Sectioned compilation for target +ifndef SIMVER + CFLAGS += -ffunction-sections -fdata-sections +endif + # This sets up 'SRC' based on the files mentioned in SOURCES include $(TOOLSDIR)/makesrc.inc SOURCES = $(SRC) -OBJS := $(SRC:%.c=$(OBJDIR)/%.o) +OBJS2 := $(SRC:%.c=$(OBJDIR)/%.o) +OBJS = $(patsubst %.S, $(OBJDIR)/%.o, $(OBJS2)) DEPFILE = $(OBJDIR)/dep-codeclib DIRS = . |