summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-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 6e4663be41..695b4546b0 100644
--- a/apps/codecs/Makefile
+++ b/apps/codecs/Makefile
@@ -9,7 +9,7 @@
9 9
10INCLUDES = -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I$(FIRMDIR)/common \ 10INCLUDES = -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I$(FIRMDIR)/common \
11 -I$(FIRMDIR)/drivers -I$(APPSDIR) -Ilib -I$(BUILDDIR) 11 -I$(FIRMDIR)/drivers -I$(APPSDIR) -Ilib -I$(BUILDDIR)
12CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET) $(EXTRA_DEFINES) \ 12CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(TARGET) $(EXTRA_DEFINES) \
13 -DTARGET_ID=$(TARGET_ID) -DMEM=${MEMORYSIZE} -DCODEC 13 -DTARGET_ID=$(TARGET_ID) -DMEM=${MEMORYSIZE} -DCODEC
14 14
15ifdef APPEXTRA 15ifdef APPEXTRA
@@ -68,7 +68,6 @@ $(OBJDIR)/%.elf :
68 -lgcc -T$(LINKCODEC) -Wl,-Map,$(OBJDIR)/$*.map 68 -lgcc -T$(LINKCODEC) -Wl,-Map,$(OBJDIR)/$*.map
69 69
70$(BUILDDIR)/%.a : % $(CODECDEPS) 70$(BUILDDIR)/%.a : % $(CODECDEPS)
71
72 71
73$(OBJDIR)/%.codec : $(OBJDIR)/%.elf 72$(OBJDIR)/%.codec : $(OBJDIR)/%.elf
74 @echo "OBJCOPY $(notdir $@)" 73 @echo "OBJCOPY $(notdir $@)"
diff --git a/apps/codecs/libfaad/Makefile b/apps/codecs/libfaad/Makefile
index bf30817aa2..57c871fba7 100644
--- a/apps/codecs/libfaad/Makefile
+++ b/apps/codecs/libfaad/Makefile
@@ -15,8 +15,8 @@ ifdef APPEXTRA
15endif 15endif
16 16
17FAADOPTS = -O2 -Wno-char-subscripts 17FAADOPTS = -O2 -Wno-char-subscripts
18CFLAGS = $(INCLUDES) $(GCCOPTS) $(FAADOPTS) $(TARGET) $(EXTRA_DEFINES) \ 18CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(FAADOPTS) $(TARGET) \
19 -DMEM=${MEMORYSIZE} 19 $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE}
20 20
21# This sets up 'SRC' based on the files mentioned in SOURCES 21# This sets up 'SRC' based on the files mentioned in SOURCES
22include $(TOOLSDIR)/makesrc.inc 22include $(TOOLSDIR)/makesrc.inc
diff --git a/apps/codecs/libm4a/Makefile b/apps/codecs/libm4a/Makefile
index 04e5fdf4c3..ad084b0ddf 100644
--- a/apps/codecs/libm4a/Makefile
+++ b/apps/codecs/libm4a/Makefile
@@ -15,8 +15,8 @@ ifdef APPEXTRA
15endif 15endif
16 16
17M4AOPTS = -O3 17M4AOPTS = -O3
18CFLAGS = $(INCLUDES) $(GCCOPTS) $(M4AOPTS) $(TARGET) $(EXTRA_DEFINES) \ 18CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(M4AOPTS) $(TARGET) \
19 -DMEM=${MEMORYSIZE} $(PROFILE_OPTS) 19 $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} $(PROFILE_OPTS)
20 20
21# This sets up 'SRC' based on the files mentioned in SOURCES 21# This sets up 'SRC' based on the files mentioned in SOURCES
22include $(TOOLSDIR)/makesrc.inc 22include $(TOOLSDIR)/makesrc.inc
diff --git a/apps/codecs/libmad/Makefile b/apps/codecs/libmad/Makefile
index 40ea420a0b..c24a693374 100644
--- a/apps/codecs/libmad/Makefile
+++ b/apps/codecs/libmad/Makefile
@@ -24,8 +24,8 @@ else
24 MADOPTS += -O2 24 MADOPTS += -O2
25endif 25endif
26 26
27CFLAGS = $(INCLUDES) $(GCCOPTS) $(MADOPTS) $(TARGET) $(EXTRA_DEFINES) \ 27CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(MADOPTS) $(TARGET) \
28 -DMEM=${MEMORYSIZE} $(PROFILE_OPTS) 28$(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} $(PROFILE_OPTS)
29 29
30# This sets up 'SRC' based on the files mentioned in SOURCES 30# This sets up 'SRC' based on the files mentioned in SOURCES
31include $(TOOLSDIR)/makesrc.inc 31include $(TOOLSDIR)/makesrc.inc