diff options
Diffstat (limited to 'apps/codecs')
-rw-r--r-- | apps/codecs/Makefile | 2 | ||||
-rw-r--r-- | apps/codecs/Tremor/Makefile | 2 | ||||
-rw-r--r-- | apps/codecs/lib/Makefile | 4 | ||||
-rw-r--r-- | apps/codecs/libfaad/Makefile | 2 | ||||
-rw-r--r-- | apps/codecs/libffmpegFLAC/Makefile | 2 | ||||
-rw-r--r-- | apps/codecs/libm4a/Makefile | 2 | ||||
-rw-r--r-- | apps/codecs/libmad/Makefile | 2 | ||||
-rw-r--r-- | apps/codecs/libmusepack/Makefile | 2 | ||||
-rw-r--r-- | apps/codecs/libwavpack/Makefile | 2 |
9 files changed, 10 insertions, 10 deletions
diff --git a/apps/codecs/Makefile b/apps/codecs/Makefile index e0d4e47f54..f39eb55524 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 = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) \ +CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET) $(EXTRA_DEFINES) \ -DTARGET_ID=$(TARGET_ID) -DMEM=${MEMORYSIZE} -DCODEC ifdef APPEXTRA diff --git a/apps/codecs/Tremor/Makefile b/apps/codecs/Tremor/Makefile index cec9797f63..ecd4ac9478 100644 --- a/apps/codecs/Tremor/Makefile +++ b/apps/codecs/Tremor/Makefile @@ -15,7 +15,7 @@ ifdef APPEXTRA endif TREMOROPTS = -O2 -CFLAGS = $(GCCOPTS) $(TREMOROPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) \ +CFLAGS = $(INCLUDES) $(GCCOPTS) $(TREMOROPTS) $(TARGET) $(EXTRA_DEFINES) \ -DMEM=${MEMORYSIZE} ${PROFILE_OPTS} # This sets up 'SRC' based on the files mentioned in SOURCES diff --git a/apps/codecs/lib/Makefile b/apps/codecs/lib/Makefile index 49be70a62d..18f478c474 100644 --- a/apps/codecs/lib/Makefile +++ b/apps/codecs/lib/Makefile @@ -17,8 +17,8 @@ ifdef APPEXTRA INCLUDES += $(patsubst %,-I$(APPSDIR)/%,$(subst :, ,$(APPEXTRA))) endif -CFLAGS = $(GCCOPTS) \ -$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} -DCODEC +CFLAGS = $(INCLUDES) $(GCCOPTS) \ +$(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} -DCODEC # This sets up 'SRC' based on the files mentioned in SOURCES include $(TOOLSDIR)/makesrc.inc diff --git a/apps/codecs/libfaad/Makefile b/apps/codecs/libfaad/Makefile index 548ae5c602..bf30817aa2 100644 --- a/apps/codecs/libfaad/Makefile +++ b/apps/codecs/libfaad/Makefile @@ -15,7 +15,7 @@ ifdef APPEXTRA endif FAADOPTS = -O2 -Wno-char-subscripts -CFLAGS = $(GCCOPTS) $(FAADOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) \ +CFLAGS = $(INCLUDES) $(GCCOPTS) $(FAADOPTS) $(TARGET) $(EXTRA_DEFINES) \ -DMEM=${MEMORYSIZE} # This sets up 'SRC' based on the files mentioned in SOURCES diff --git a/apps/codecs/libffmpegFLAC/Makefile b/apps/codecs/libffmpegFLAC/Makefile index 7d9030e648..ee3f39261d 100644 --- a/apps/codecs/libffmpegFLAC/Makefile +++ b/apps/codecs/libffmpegFLAC/Makefile @@ -15,7 +15,7 @@ ifdef APPEXTRA endif FLACOPTS = -O2 -CFLAGS = $(GCCOPTS) $(FLACOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) \ +CFLAGS = $(INCLUDES) $(GCCOPTS) $(FLACOPTS) $(TARGET) $(EXTRA_DEFINES) \ -DMEM=${MEMORYSIZE} $(PROFILE_OPTS) # This sets up 'SRC' based on the files mentioned in SOURCES diff --git a/apps/codecs/libm4a/Makefile b/apps/codecs/libm4a/Makefile index fcbc10045e..04e5fdf4c3 100644 --- a/apps/codecs/libm4a/Makefile +++ b/apps/codecs/libm4a/Makefile @@ -15,7 +15,7 @@ ifdef APPEXTRA endif M4AOPTS = -O3 -CFLAGS = $(GCCOPTS) $(M4AOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) \ +CFLAGS = $(INCLUDES) $(GCCOPTS) $(M4AOPTS) $(TARGET) $(EXTRA_DEFINES) \ -DMEM=${MEMORYSIZE} $(PROFILE_OPTS) # This sets up 'SRC' based on the files mentioned in SOURCES diff --git a/apps/codecs/libmad/Makefile b/apps/codecs/libmad/Makefile index 3747197f13..ee5c0caca6 100644 --- a/apps/codecs/libmad/Makefile +++ b/apps/codecs/libmad/Makefile @@ -16,7 +16,7 @@ endif # NOTE: FPM_ define has been moved to global.h MADOPTS = -UDEBUG -DNDEBUG -O2 -CFLAGS = $(GCCOPTS) $(MADOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) \ +CFLAGS = $(INCLUDES) $(GCCOPTS) $(MADOPTS) $(TARGET) $(EXTRA_DEFINES) \ -DMEM=${MEMORYSIZE} $(PROFILE_OPTS) # This sets up 'SRC' based on the files mentioned in SOURCES diff --git a/apps/codecs/libmusepack/Makefile b/apps/codecs/libmusepack/Makefile index 6bfa2f9462..f5c59cce4a 100644 --- a/apps/codecs/libmusepack/Makefile +++ b/apps/codecs/libmusepack/Makefile @@ -15,7 +15,7 @@ ifdef APPEXTRA endif MUSEPACKOPTS = -O2 -CFLAGS = $(GCCOPTS) $(MUSEPACKOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) \ +CFLAGS = $(INCLUDES) $(GCCOPTS) $(MUSEPACKOPTS) $(TARGET) $(EXTRA_DEFINES) \ -DMEM=${MEMORYSIZE} $(PROFILE_OPTS) # This sets up 'SRC' based on the files mentioned in SOURCES diff --git a/apps/codecs/libwavpack/Makefile b/apps/codecs/libwavpack/Makefile index eba67fa7fc..60911a052f 100644 --- a/apps/codecs/libwavpack/Makefile +++ b/apps/codecs/libwavpack/Makefile @@ -15,7 +15,7 @@ ifdef APPEXTRA endif WAVPACKOPTS = -O2 -CFLAGS = $(GCCOPTS) $(WAVPACKOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) \ +CFLAGS = $(INCLUDES) $(GCCOPTS) $(WAVPACKOPTS) $(TARGET) $(EXTRA_DEFINES) \ -DMEM=${MEMORYSIZE} $(PROFILE_OPTS) # This sets up 'SRC' based on the files mentioned in SOURCES |