aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/Makefile2
-rw-r--r--arch/mips/kernel/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 764e37a9dbb3..654b1ad39f05 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -225,7 +225,7 @@ KBUILD_CPPFLAGS += -DDATAOFFSET=$(if $(dataoffset-y),$(dataoffset-y),0)
225LDFLAGS += -m $(ld-emul) 225LDFLAGS += -m $(ld-emul)
226 226
227ifdef CONFIG_MIPS 227ifdef CONFIG_MIPS
228CHECKFLAGS += $(shell $(CC) $(KBUILD_CFLAGS) -dM -E -xc /dev/null | \ 228CHECKFLAGS += $(shell $(CC) $(KBUILD_CFLAGS) -dM -E -x c /dev/null | \
229 egrep -vw '__GNUC_(|MINOR_|PATCHLEVEL_)_' | \ 229 egrep -vw '__GNUC_(|MINOR_|PATCHLEVEL_)_' | \
230 sed -e "s/^\#define /-D'/" -e "s/ /'='/" -e "s/$$/'/") 230 sed -e "s/^\#define /-D'/" -e "s/ /'='/" -e "s/$$/'/")
231ifdef CONFIG_64BIT 231ifdef CONFIG_64BIT
diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile
index fdaf65e1a99d..c6136cb4cd40 100644
--- a/arch/mips/kernel/Makefile
+++ b/arch/mips/kernel/Makefile
@@ -104,7 +104,7 @@ obj-$(CONFIG_MIPS_MACHINE) += mips_machine.o
104 104
105obj-$(CONFIG_OF) += prom.o 105obj-$(CONFIG_OF) += prom.o
106 106
107CFLAGS_cpu-bugs64.o = $(shell if $(CC) $(KBUILD_CFLAGS) -Wa,-mdaddi -c -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-DHAVE_AS_SET_DADDI"; fi) 107CFLAGS_cpu-bugs64.o = $(shell if $(CC) $(KBUILD_CFLAGS) -Wa,-mdaddi -c -o /dev/null -x c /dev/null >/dev/null 2>&1; then echo "-DHAVE_AS_SET_DADDI"; fi)
108 108
109obj-$(CONFIG_HAVE_STD_PC_SERIAL_PORT) += 8250-platform.o 109obj-$(CONFIG_HAVE_STD_PC_SERIAL_PORT) += 8250-platform.o
110 110