diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-01-02 16:59:26 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-01-02 16:59:26 +0000 |
commit | c5530d9258441d97fdc4436f3475af96c3d4fec0 (patch) | |
tree | 1bb0275ad18b41dc2657fc085cbcffd96348a8aa | |
parent | 8c6c6a6b2077abcee6171890a00dafe8fae722ee (diff) | |
download | rockbox-c5530d9258441d97fdc4436f3475af96c3d4fec0.tar.gz rockbox-c5530d9258441d97fdc4436f3475af96c3d4fec0.zip |
Allow passing additional CFLAGS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31524 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | rbutil/mkimxboot/Makefile | 2 | ||||
-rw-r--r-- | rbutil/mkmpioboot/Makefile | 2 | ||||
-rw-r--r-- | rbutil/mktccboot/Makefile | 2 | ||||
-rw-r--r-- | rbutil/tools/Makefile | 2 | ||||
-rw-r--r-- | tools/rbspeex/Makefile | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/rbutil/mkimxboot/Makefile b/rbutil/mkimxboot/Makefile index 2293d3939a..942ceb9ca7 100644 --- a/rbutil/mkimxboot/Makefile +++ b/rbutil/mkimxboot/Makefile | |||
@@ -7,7 +7,7 @@ | |||
7 | 7 | ||
8 | # We use the SB code available in the Rockbox utils/sbtools directory | 8 | # We use the SB code available in the Rockbox utils/sbtools directory |
9 | IMXTOOLS_DIR=../../utils/imxtools/ | 9 | IMXTOOLS_DIR=../../utils/imxtools/ |
10 | CFLAGS = -I$(IMXTOOLS_DIR) -Wall | 10 | CFLAGS += -I$(IMXTOOLS_DIR) -Wall |
11 | CFLAGS += -std=c99 | 11 | CFLAGS += -std=c99 |
12 | 12 | ||
13 | OUTPUT = mkimxboot | 13 | OUTPUT = mkimxboot |
diff --git a/rbutil/mkmpioboot/Makefile b/rbutil/mkmpioboot/Makefile index 8b560d6b29..0a42e39217 100644 --- a/rbutil/mkmpioboot/Makefile +++ b/rbutil/mkmpioboot/Makefile | |||
@@ -7,7 +7,7 @@ | |||
7 | 7 | ||
8 | TARGET_DIR ?= $(shell pwd)/ | 8 | TARGET_DIR ?= $(shell pwd)/ |
9 | # We use the UCL code available in the Rockbox tools/ directory | 9 | # We use the UCL code available in the Rockbox tools/ directory |
10 | CFLAGS = -I../../tools/ucl/include -Wall | 10 | CFLAGS += -I../../tools/ucl/include -Wall |
11 | 11 | ||
12 | OUTPUT = mkmpioboot | 12 | OUTPUT = mkmpioboot |
13 | 13 | ||
diff --git a/rbutil/mktccboot/Makefile b/rbutil/mktccboot/Makefile index 3bca0ba05e..31ad68e643 100644 --- a/rbutil/mktccboot/Makefile +++ b/rbutil/mktccboot/Makefile | |||
@@ -9,7 +9,7 @@ | |||
9 | 9 | ||
10 | # We use the Telechips code available in the Rockbox tools/ directory | 10 | # We use the Telechips code available in the Rockbox tools/ directory |
11 | TOOLSDIR = ../../tools/ | 11 | TOOLSDIR = ../../tools/ |
12 | CFLAGS := -O -g -W -Wall -Wshadow -pedantic -I$(TOOLSDIR) | 12 | CFLAGS += -O -g -W -Wall -Wshadow -pedantic -I$(TOOLSDIR) |
13 | 13 | ||
14 | OUTPUT = mktccboot | 14 | OUTPUT = mktccboot |
15 | 15 | ||
diff --git a/rbutil/tools/Makefile b/rbutil/tools/Makefile index c598d928c6..d10e2528bf 100644 --- a/rbutil/tools/Makefile +++ b/rbutil/tools/Makefile | |||
@@ -3,7 +3,7 @@ ifndef V | |||
3 | SILENT = @ | 3 | SILENT = @ |
4 | endif | 4 | endif |
5 | 5 | ||
6 | CFLAGS=-Wall -W -D_LARGEFILE64_SOURCE | 6 | CFLAGS += -Wall -W -D_LARGEFILE64_SOURCE |
7 | 7 | ||
8 | ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) | 8 | ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) |
9 | CROSS= | 9 | CROSS= |
diff --git a/tools/rbspeex/Makefile b/tools/rbspeex/Makefile index 86f00a1847..9f3f348a69 100644 --- a/tools/rbspeex/Makefile +++ b/tools/rbspeex/Makefile | |||
@@ -16,7 +16,7 @@ SPEEXSRC = ../../apps/codecs/libspeex | |||
16 | INCLUDES = -I $(SPEEXSRC) | 16 | INCLUDES = -I $(SPEEXSRC) |
17 | SPEEXOPTS = -DHAVE_CONFIG_H -DROCKBOX_VOICE_ENCODER | 17 | SPEEXOPTS = -DHAVE_CONFIG_H -DROCKBOX_VOICE_ENCODER |
18 | 18 | ||
19 | CFLAGS = $(SPEEXOPTS) $(INCLUDES) -O3 -fomit-frame-pointer -Wno-unused-parameter | 19 | CFLAGS += $(SPEEXOPTS) $(INCLUDES) -O3 -fomit-frame-pointer -Wno-unused-parameter |
20 | 20 | ||
21 | #build standalone win32 executables on cygwin | 21 | #build standalone win32 executables on cygwin |
22 | ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) | 22 | ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) |