Skip to content

Commit f7fc237

Browse files
committed
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>
1 parent 00e6c28 commit f7fc237

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/mips/Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ endif
219219

220220
KBUILD_AFLAGS += $(cflags-y)
221221
KBUILD_CFLAGS += $(cflags-y)
222-
KBUILD_CPPFLAGS += -D"VMLINUX_LOAD_ADDRESS=$(load-y)"
223-
KBUILD_CPPFLAGS += -D"DATAOFFSET=$(if $(dataoffset-y),$(dataoffset-y),0)"
222+
KBUILD_CPPFLAGS += -DVMLINUX_LOAD_ADDRESS=$(load-y)
223+
KBUILD_CPPFLAGS += -DDATAOFFSET=$(if $(dataoffset-y),$(dataoffset-y),0)
224224

225225
LDFLAGS += -m $(ld-emul)
226226

0 commit comments

Comments
 (0)