diff options
author | Michal Marek <mmarek@suse.cz> | 2012-05-10 08:22:10 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2012-05-15 18:35:06 -0400 |
commit | f7fc237e330deaaea4ba6726b603d4058d1e6b38 (patch) | |
tree | a6110b7d3fdc3432e5c280d8fce06b11b45275b5 /arch/mips/Makefile | |
parent | 00e6c28c6808c0ef6a3f25bb420d037fbb724d84 (diff) |
mips: Fix KBUILD_CPPFLAGS definition
The KBUILD_CPPFLAGS variable is no longer passed to sh -c 'gcc ...',
but exported and used by the link-vmlinux.sh script. This means that the
double-quotes will not be evaluated by the shell.
Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r-- | arch/mips/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 4fedf5a51d96..722e04a8240e 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -219,8 +219,8 @@ endif | |||
219 | 219 | ||
220 | KBUILD_AFLAGS += $(cflags-y) | 220 | KBUILD_AFLAGS += $(cflags-y) |
221 | KBUILD_CFLAGS += $(cflags-y) | 221 | KBUILD_CFLAGS += $(cflags-y) |
222 | KBUILD_CPPFLAGS += -D"VMLINUX_LOAD_ADDRESS=$(load-y)" | 222 | KBUILD_CPPFLAGS += -DVMLINUX_LOAD_ADDRESS=$(load-y) |
223 | KBUILD_CPPFLAGS += -D"DATAOFFSET=$(if $(dataoffset-y),$(dataoffset-y),0)" | 223 | KBUILD_CPPFLAGS += -DDATAOFFSET=$(if $(dataoffset-y),$(dataoffset-y),0) |
224 | 224 | ||
225 | LDFLAGS += -m $(ld-emul) | 225 | LDFLAGS += -m $(ld-emul) |
226 | 226 | ||