From f40bfc9267b13b54e6379dfe7539447662879d24 Mon Sep 17 00:00:00 2001 From: Sean Bartell Date: Sat, 25 Jun 2011 21:32:25 -0400 Subject: Add codecs to librbcodec. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id7f4717d51ed02d67cb9f9cb3c0ada4a81843f97 Reviewed-on: http://gerrit.rockbox.org/137 Reviewed-by: Nils Wallménius Tested-by: Nils Wallménius --- lib/rbcodec/rbcodec.make | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/rbcodec/rbcodec.make') diff --git a/lib/rbcodec/rbcodec.make b/lib/rbcodec/rbcodec.make index cd669d22c9..3dfade1826 100644 --- a/lib/rbcodec/rbcodec.make +++ b/lib/rbcodec/rbcodec.make @@ -11,9 +11,14 @@ RBCODECLIB_SRC := $(call preprocess, $(RBCODECLIB_DIR)/SOURCES) RBCODECLIB_OBJ := $(call c2obj, $(RBCODECLIB_SRC)) RBCODECLIB := $(BUILDDIR)/lib/librbcodec.a -INCLUDES += -I$(RBCODECLIB_DIR) -I$(RBCODECLIB_DIR)/dsp -I$(RBCODECLIB_DIR)/metadata +INCLUDES += -I$(RBCODECLIB_DIR) -I$(RBCODECLIB_DIR)/codecs \ + -I$(RBCODECLIB_DIR)/dsp -I$(RBCODECLIB_DIR)/metadata OTHER_SRC += $(RBCODECLIB_SRC) CORE_LIBS += $(RBCODECLIB) $(RBCODECLIB): $(RBCODECLIB_OBJ) $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null + +ifdef SOFTWARECODECS + include $(RBCODECLIB_DIR)/codecs/codecs.make +endif -- cgit v1.2.3