mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
Build librbcodec with DSP and metadata.
All associated files are moved to /lib/rbcodec. Change-Id: I572ddd2b8a996aae1e98c081d06b1ed356dce222
This commit is contained in:
parent
24bd9d5393
commit
b5716df4cb
80 changed files with 97 additions and 112 deletions
19
lib/rbcodec/rbcodec.make
Normal file
19
lib/rbcodec/rbcodec.make
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# __________ __ ___.
|
||||
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||
# \/ \/ \/ \/ \/
|
||||
|
||||
RBCODEC_LIB = $(RBCODEC_BLD)/librbcodec.a
|
||||
RBCODEC_SRC := $(call preprocess, $(RBCODEC_DIR)/SOURCES)
|
||||
RBCODEC_OBJ := $(call c2obj, $(RBCODEC_SRC))
|
||||
INCLUDES += -I$(RBCODEC_DIR) -I$(RBCODEC_DIR)/dsp -I$(RBCODEC_DIR)/metadata
|
||||
OTHER_SRC += $(RBCODEC_SRC)
|
||||
|
||||
$(RBCODEC_BLD)/%.o: $(RBCODEC_DIR)/%.c
|
||||
$(SILENT)mkdir -p $(dir $@)
|
||||
$(call PRINTS,CC $<)$(CC) $(CFLAGS) $(RBCODEC_CFLAGS) -c $< -o $@
|
||||
|
||||
$(RBCODEC_LIB): $(RBCODEC_OBJ)
|
||||
$(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
|
||||
Loading…
Add table
Add a link
Reference in a new issue