diff options
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r-- | arch/mips/Makefile | 42 |
1 files changed, 22 insertions, 20 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 4892db88a86a..f450066b6241 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -343,15 +343,6 @@ cflags-$(CONFIG_MOMENCO_OCELOT) += -Iinclude/asm-mips/mach-ocelot | |||
343 | load-$(CONFIG_MOMENCO_OCELOT) += 0xffffffff80100000 | 343 | load-$(CONFIG_MOMENCO_OCELOT) += 0xffffffff80100000 |
344 | 344 | ||
345 | # | 345 | # |
346 | # Momentum Ocelot-G board | ||
347 | # | ||
348 | # The Ocelot-G setup.o must be linked early - it does the ioremap() for the | ||
349 | # mips_io_port_base. | ||
350 | # | ||
351 | core-$(CONFIG_MOMENCO_OCELOT_G) += arch/mips/momentum/ocelot_g/ | ||
352 | load-$(CONFIG_MOMENCO_OCELOT_G) += 0xffffffff80100000 | ||
353 | |||
354 | # | ||
355 | # Momentum Ocelot-C and -CS boards | 346 | # Momentum Ocelot-C and -CS boards |
356 | # | 347 | # |
357 | # The Ocelot-C[S] setup.o must be linked early - it does the ioremap() for the | 348 | # The Ocelot-C[S] setup.o must be linked early - it does the ioremap() for the |
@@ -388,17 +379,6 @@ cflags-$(CONFIG_BASLER_EXCITE) += -Iinclude/asm-mips/mach-excite | |||
388 | load-$(CONFIG_BASLER_EXCITE) += 0x80100000 | 379 | load-$(CONFIG_BASLER_EXCITE) += 0x80100000 |
389 | 380 | ||
390 | # | 381 | # |
391 | # Momentum Jaguar ATX | ||
392 | # | ||
393 | core-$(CONFIG_MOMENCO_JAGUAR_ATX) += arch/mips/momentum/jaguar_atx/ | ||
394 | cflags-$(CONFIG_MOMENCO_JAGUAR_ATX) += -Iinclude/asm-mips/mach-ja | ||
395 | #ifdef CONFIG_JAGUAR_DMALOW | ||
396 | #load-$(CONFIG_MOMENCO_JAGUAR_ATX) += 0xffffffff88000000 | ||
397 | #else | ||
398 | load-$(CONFIG_MOMENCO_JAGUAR_ATX) += 0xffffffff80100000 | ||
399 | #endif | ||
400 | |||
401 | # | ||
402 | # NEC DDB | 382 | # NEC DDB |
403 | # | 383 | # |
404 | core-$(CONFIG_DDB5XXX_COMMON) += arch/mips/ddb5xxx/common/ | 384 | core-$(CONFIG_DDB5XXX_COMMON) += arch/mips/ddb5xxx/common/ |
@@ -729,3 +709,25 @@ archclean: | |||
729 | CLEAN_FILES += vmlinux.32 \ | 709 | CLEAN_FILES += vmlinux.32 \ |
730 | vmlinux.64 \ | 710 | vmlinux.64 \ |
731 | vmlinux.ecoff | 711 | vmlinux.ecoff |
712 | |||
713 | quiet_cmd_syscalls_n32 = CALL-N32 $< | ||
714 | cmd_syscalls_n32 = $(CONFIG_SHELL) $< $(CC) $(c_flags) -mabi=n32 | ||
715 | |||
716 | quiet_cmd_syscalls_o32 = CALL-O32 $< | ||
717 | cmd_syscalls_o32 = $(CONFIG_SHELL) $< $(CC) $(c_flags) -mabi=32 | ||
718 | |||
719 | PHONY += missing-syscalls-n32 missing-syscalls-o32 | ||
720 | |||
721 | missing-syscalls-n32: scripts/checksyscalls.sh FORCE | ||
722 | $(call cmd,syscalls_n32) | ||
723 | |||
724 | missing-syscalls-o32: scripts/checksyscalls.sh FORCE | ||
725 | $(call cmd,syscalls_o32) | ||
726 | |||
727 | archprepare: | ||
728 | ifdef CONFIG_MIPS32_N32 | ||
729 | $(Q)$(MAKE) $(build)=arch/mips missing-syscalls-n32 | ||
730 | endif | ||
731 | ifdef CONFIG_MIPS32_O32 | ||
732 | $(Q)$(MAKE) $(build)=arch/mips missing-syscalls-o32 | ||
733 | endif | ||