summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-01-02 16:59:26 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-01-02 16:59:26 +0000
commitc5530d9258441d97fdc4436f3475af96c3d4fec0 (patch)
tree1bb0275ad18b41dc2657fc085cbcffd96348a8aa
parent8c6c6a6b2077abcee6171890a00dafe8fae722ee (diff)
downloadrockbox-c5530d9258441d97fdc4436f3475af96c3d4fec0.zip
rockbox-c5530d9258441d97fdc4436f3475af96c3d4fec0.tar.gz
rockbox-c5530d9258441d97fdc4436f3475af96c3d4fec0.tar.bz2
rockbox-c5530d9258441d97fdc4436f3475af96c3d4fec0.tar.xz
Allow passing additional CFLAGS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31524 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--rbutil/mkimxboot/Makefile2
-rw-r--r--rbutil/mkmpioboot/Makefile2
-rw-r--r--rbutil/mktccboot/Makefile2
-rw-r--r--rbutil/tools/Makefile2
-rw-r--r--tools/rbspeex/Makefile2
5 files changed, 5 insertions, 5 deletions
diff --git a/rbutil/mkimxboot/Makefile b/rbutil/mkimxboot/Makefile
index 2293d39..942ceb9 100644
--- a/rbutil/mkimxboot/Makefile
+++ b/rbutil/mkimxboot/Makefile
@@ -7,7 +7,7 @@
# We use the SB code available in the Rockbox utils/sbtools directory
IMXTOOLS_DIR=../../utils/imxtools/
-CFLAGS = -I$(IMXTOOLS_DIR) -Wall
+CFLAGS += -I$(IMXTOOLS_DIR) -Wall
CFLAGS += -std=c99
OUTPUT = mkimxboot
diff --git a/rbutil/mkmpioboot/Makefile b/rbutil/mkmpioboot/Makefile
index 8b560d6..0a42e39 100644
--- a/rbutil/mkmpioboot/Makefile
+++ b/rbutil/mkmpioboot/Makefile
@@ -7,7 +7,7 @@
TARGET_DIR ?= $(shell pwd)/
# We use the UCL code available in the Rockbox tools/ directory
-CFLAGS = -I../../tools/ucl/include -Wall
+CFLAGS += -I../../tools/ucl/include -Wall
OUTPUT = mkmpioboot
diff --git a/rbutil/mktccboot/Makefile b/rbutil/mktccboot/Makefile
index 3bca0ba..31ad68e 100644
--- a/rbutil/mktccboot/Makefile
+++ b/rbutil/mktccboot/Makefile
@@ -9,7 +9,7 @@
# We use the Telechips code available in the Rockbox tools/ directory
TOOLSDIR = ../../tools/
-CFLAGS := -O -g -W -Wall -Wshadow -pedantic -I$(TOOLSDIR)
+CFLAGS += -O -g -W -Wall -Wshadow -pedantic -I$(TOOLSDIR)
OUTPUT = mktccboot
diff --git a/rbutil/tools/Makefile b/rbutil/tools/Makefile
index c598d92..d10e252 100644
--- a/rbutil/tools/Makefile
+++ b/rbutil/tools/Makefile
@@ -3,7 +3,7 @@ ifndef V
SILENT = @
endif
-CFLAGS=-Wall -W -D_LARGEFILE64_SOURCE
+CFLAGS += -Wall -W -D_LARGEFILE64_SOURCE
ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN)
CROSS=
diff --git a/tools/rbspeex/Makefile b/tools/rbspeex/Makefile
index 86f00a1..9f3f348 100644
--- a/tools/rbspeex/Makefile
+++ b/tools/rbspeex/Makefile
@@ -16,7 +16,7 @@ SPEEXSRC = ../../apps/codecs/libspeex
INCLUDES = -I $(SPEEXSRC)
SPEEXOPTS = -DHAVE_CONFIG_H -DROCKBOX_VOICE_ENCODER
-CFLAGS = $(SPEEXOPTS) $(INCLUDES) -O3 -fomit-frame-pointer -Wno-unused-parameter
+CFLAGS += $(SPEEXOPTS) $(INCLUDES) -O3 -fomit-frame-pointer -Wno-unused-parameter
#build standalone win32 executables on cygwin
ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN)