mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Revert "RFC: Get rid of mpegplayer plugin"
This reverts commit d25d24812e.
Change-Id: I1563223e343fb1e2eda72a45823b38350025ff93
This commit is contained in:
parent
418169aff8
commit
9d3d925295
60 changed files with 21189 additions and 5 deletions
32
apps/plugins/mpegplayer/mpegplayer.make
Normal file
32
apps/plugins/mpegplayer/mpegplayer.make
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# __________ __ ___.
|
||||
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||
# \/ \/ \/ \/ \/
|
||||
# $Id$
|
||||
#
|
||||
|
||||
MPEGSRCDIR := $(APPSDIR)/plugins/mpegplayer
|
||||
MPEGBUILDDIR := $(BUILDDIR)/apps/plugins/mpegplayer
|
||||
|
||||
ROCKS += $(MPEGBUILDDIR)/mpegplayer.rock
|
||||
|
||||
MPEG_SRC := $(call preprocess, $(MPEGSRCDIR)/SOURCES)
|
||||
MPEG_OBJ := $(call c2obj, $(MPEG_SRC))
|
||||
|
||||
# add source files to OTHER_SRC to get automatic dependencies
|
||||
OTHER_SRC += $(MPEG_SRC)
|
||||
|
||||
# Set '-fgnu89-inline' if supported (GCCVER >= 4.1.3, GCCNUM > 401)
|
||||
ifeq ($(shell expr $(GCCNUM) \> 401),1)
|
||||
MPEGCFLAGS = $(PLUGINFLAGS) -fgnu89-inline
|
||||
else
|
||||
MPEGCFLAGS = $(PLUGINFLAGS)
|
||||
endif
|
||||
|
||||
$(MPEGBUILDDIR)/mpegplayer.rock: $(MPEG_OBJ) $(CODECDIR)/libmad-mpeg.a
|
||||
|
||||
$(MPEGBUILDDIR)/%.o: $(MPEGSRCDIR)/%.c $(MPEGSRCDIR)/mpegplayer.make
|
||||
$(SILENT)mkdir -p $(dir $@)
|
||||
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(MPEGCFLAGS) -c $< -o $@
|
||||
Loading…
Add table
Add a link
Reference in a new issue