summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs')
-rw-r--r--apps/codecs/Makefile3
-rw-r--r--apps/codecs/libfaad/Makefile4
-rw-r--r--apps/codecs/libm4a/Makefile4
-rw-r--r--apps/codecs/libmad/Makefile4
4 files changed, 7 insertions, 8 deletions
diff --git a/apps/codecs/Makefile b/apps/codecs/Makefile
index 6e4663b..695b454 100644
--- a/apps/codecs/Makefile
+++ b/apps/codecs/Makefile
@@ -9,7 +9,7 @@
INCLUDES = -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I$(FIRMDIR)/common \
-I$(FIRMDIR)/drivers -I$(APPSDIR) -Ilib -I$(BUILDDIR)
-CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET) $(EXTRA_DEFINES) \
+CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(TARGET) $(EXTRA_DEFINES) \
-DTARGET_ID=$(TARGET_ID) -DMEM=${MEMORYSIZE} -DCODEC
ifdef APPEXTRA
@@ -68,7 +68,6 @@ $(OBJDIR)/%.elf :
-lgcc -T$(LINKCODEC) -Wl,-Map,$(OBJDIR)/$*.map
$(BUILDDIR)/%.a : % $(CODECDEPS)
-
$(OBJDIR)/%.codec : $(OBJDIR)/%.elf
@echo "OBJCOPY $(notdir $@)"
diff --git a/apps/codecs/libfaad/Makefile b/apps/codecs/libfaad/Makefile
index bf30817..57c871f 100644
--- a/apps/codecs/libfaad/Makefile
+++ b/apps/codecs/libfaad/Makefile
@@ -15,8 +15,8 @@ ifdef APPEXTRA
endif
FAADOPTS = -O2 -Wno-char-subscripts
-CFLAGS = $(INCLUDES) $(GCCOPTS) $(FAADOPTS) $(TARGET) $(EXTRA_DEFINES) \
- -DMEM=${MEMORYSIZE}
+CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(FAADOPTS) $(TARGET) \
+ $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE}
# This sets up 'SRC' based on the files mentioned in SOURCES
include $(TOOLSDIR)/makesrc.inc
diff --git a/apps/codecs/libm4a/Makefile b/apps/codecs/libm4a/Makefile
index 04e5fdf..ad084b0 100644
--- a/apps/codecs/libm4a/Makefile
+++ b/apps/codecs/libm4a/Makefile
@@ -15,8 +15,8 @@ ifdef APPEXTRA
endif
M4AOPTS = -O3
-CFLAGS = $(INCLUDES) $(GCCOPTS) $(M4AOPTS) $(TARGET) $(EXTRA_DEFINES) \
- -DMEM=${MEMORYSIZE} $(PROFILE_OPTS)
+CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(M4AOPTS) $(TARGET) \
+ $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} $(PROFILE_OPTS)
# This sets up 'SRC' based on the files mentioned in SOURCES
include $(TOOLSDIR)/makesrc.inc
diff --git a/apps/codecs/libmad/Makefile b/apps/codecs/libmad/Makefile
index 40ea420..c24a693 100644
--- a/apps/codecs/libmad/Makefile
+++ b/apps/codecs/libmad/Makefile
@@ -24,8 +24,8 @@ else
MADOPTS += -O2
endif
-CFLAGS = $(INCLUDES) $(GCCOPTS) $(MADOPTS) $(TARGET) $(EXTRA_DEFINES) \
- -DMEM=${MEMORYSIZE} $(PROFILE_OPTS)
+CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(MADOPTS) $(TARGET) \
+$(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} $(PROFILE_OPTS)
# This sets up 'SRC' based on the files mentioned in SOURCES
include $(TOOLSDIR)/makesrc.inc