mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Patch from Wincent Balin: Remove some duplicate code from the PDa plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21049 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1865af9a6d
commit
655ae81cf8
5 changed files with 3 additions and 468 deletions
|
|
@ -29,34 +29,4 @@ PDBOXFLAGS = $(PLUGINFLAGS) \
|
|||
$(PDBOXBUILDDIR)/%.o: $(PDBOXSRCDIR)/%.c $(PDBOXSRCDIR)/pdbox.make
|
||||
$(SILENT)mkdir -p $(dir $@)
|
||||
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PDBOXFLAGS) -c $< -o $@
|
||||
# __________ __ ___.
|
||||
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||
# \/ \/ \/ \/ \/
|
||||
# $Id$
|
||||
#
|
||||
|
||||
PDBOXSRCDIR := $(APPSDIR)/plugins/pdbox
|
||||
PDBOXBUILDDIR := $(BUILDDIR)/apps/plugins/pdbox
|
||||
|
||||
ROCKS += $(PDBOXBUILDDIR)/pdbox.rock
|
||||
|
||||
PDBOXSRC := $(call preprocess, $(PDBOXSRCDIR)/SOURCES)
|
||||
PDBOXOBJ := $(call c2obj, $(PDBOXSRC))
|
||||
|
||||
# add source files to OTHERSRC to get automatic dependencies
|
||||
OTHERSRC += $(PDBOXSRC)
|
||||
|
||||
$(PDBOXBUILDDIR)/pdbox.rock: $(PDBOXOBJ)
|
||||
|
||||
PDBOXFLAGS = $(PLUGINFLAGS) \
|
||||
-DFIXEDPOINT -DSTATIC -DPD \
|
||||
-I$(PDBOXSRCDIR) -I$(PDBOXSRCDIR)/PDa/src \
|
||||
-DBMALLOC -I$(PDBOXSRCDIR)/dbestfit-3.3
|
||||
|
||||
# Compile PDBox with extra flags (adapted from ZXBox)
|
||||
$(PDBOXBUILDDIR)/%.o: $(PDBOXSRCDIR)/%.c $(PDBOXSRCDIR)/pdbox.make
|
||||
$(SILENT)mkdir -p $(dir $@)
|
||||
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PDBOXFLAGS) -c $< -o $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue