1
0
Fork 0
forked from len0rd/rockbox

Build librbcodec with DSP and metadata.

All associated files are moved to /lib/rbcodec.

Change-Id: I572ddd2b8a996aae1e98c081d06b1ed356dce222
This commit is contained in:
Sean Bartell 2011-06-24 01:25:21 -04:00 committed by Nils Wallménius
parent 24bd9d5393
commit b5716df4cb
80 changed files with 97 additions and 112 deletions

View file

@ -1,11 +1,6 @@
database.c
../../apps/fixedpoint.c
../../apps/metadata.c
#if CONFIG_CODEC == SWCODEC
../../apps/replaygain.c
#endif
../../apps/misc.c
../../apps/mp3data.c
../../apps/tagcache.c
../../firmware/common/crc32.c
../../firmware/common/filefuncs.c
@ -17,7 +12,9 @@ database.c
../../firmware/logf.c
../../uisimulator/common/io.c
#if CONFIG_CODEC != SWCODEC
../../apps/metadata/id3tags.c
../../apps/metadata/mp3.c
../../lib/rbcodec/metadata/id3tags.c
../../lib/rbcodec/metadata/metadata.c
../../lib/rbcodec/metadata/mp3.c
../../lib/rbcodec/metadata/mp3data.c
#endif
/* Caution. metadata files do not add!! */

View file

@ -15,7 +15,7 @@ createsrc = $(shell cat $(1) > $(3); echo "\#if CONFIG_CODEC == SWCODEC" >> $(3)
echo "\#endif" >> $(3); \
echo $(3))
METADATAS := $(subst $(ROOTDIR), ../.., $(wildcard $(ROOTDIR)/apps/metadata/*.c))
METADATAS := $(subst $(ROOTDIR), ../.., $(wildcard $(ROOTDIR)/lib/rbcodec/metadata/*.c))
SRCFILE := $(call createsrc, $(TOOLSDIR)/database/SOURCES, \
$(METADATAS), \
@ -28,6 +28,8 @@ INCLUDES = -I$(ROOTDIR)/apps/gui \
-I$(ROOTDIR)/firmware/include \
-I$(ROOTDIR)/apps \
-I$(ROOTDIR)/apps/recorder \
-I$(ROOTDIR)/lib/rbcodec \
-I$(ROOTDIR)/lib/rbcodec/metadata \
-I$(APPSDIR) \
-I$(BUILDDIR) \