Makefile revision 35189fad3cb5f6e3ab66c8321928a851de0cd2b1
11da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 21da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# This file is subject to the terms and conditions of the GNU General Public 31da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# License. See the file "COPYING" in the main directory of this archive 41da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# for more details. 51da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 61da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Copyright (C) 1994, 95, 96, 2003 by Ralf Baechle 71da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# DECStation modifications by Paul M. Antoine, 1996 81da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Copyright (C) 2002, 2003, 2004 Maciej W. Rozycki 91da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 101da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# This file is included by the global makefile so that you can add your own 111da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# architecture-specific flags and dependencies. Remember to do have actions 121da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# for "archclean" cleaning up for this architecture. 131da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 141da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 151da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-y := 161da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 171da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 181da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Select the object file format to substitute into the linker script. 191da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 201da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsifdef CONFIG_CPU_LITTLE_ENDIAN 211da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds32bit-tool-prefix = mipsel-linux- 221da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds64bit-tool-prefix = mips64el-linux- 231da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds32bit-bfd = elf32-tradlittlemips 241da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds64bit-bfd = elf64-tradlittlemips 251da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds32bit-emul = elf32ltsmip 261da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds64bit-emul = elf64ltsmip 271da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldselse 281da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds32bit-tool-prefix = mips-linux- 291da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds64bit-tool-prefix = mips64-linux- 301da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds32bit-bfd = elf32-tradbigmips 311da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds64bit-bfd = elf64-tradbigmips 321da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds32bit-emul = elf32btsmip 331da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds64bit-emul = elf64btsmip 341da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsendif 351da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 36875d43e72b5bf22161a81de7554f88eccf8a51aeRalf Baechleifdef CONFIG_32BIT 371da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldstool-prefix = $(32bit-tool-prefix) 381da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus TorvaldsUTS_MACHINE := mips 391da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsendif 40875d43e72b5bf22161a81de7554f88eccf8a51aeRalf Baechleifdef CONFIG_64BIT 411da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldstool-prefix = $(64bit-tool-prefix) 421da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus TorvaldsUTS_MACHINE := mips64 431da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsendif 441da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 451da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsifdef CONFIG_CROSSCOMPILE 461da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus TorvaldsCROSS_COMPILE := $(tool-prefix) 471da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsendif 481da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 498145095cd8fd466980ea6401f26a52e462275222Ralf Baechleifdef CONFIG_32BIT 501da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsld-emul = $(32bit-emul) 511da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsvmlinux-32 = vmlinux 521da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsvmlinux-64 = vmlinux.64 5359b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechle 5459b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechlecflags-y += -mabi=32 558145095cd8fd466980ea6401f26a52e462275222Ralf Baechleendif 561da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 578145095cd8fd466980ea6401f26a52e462275222Ralf Baechleifdef CONFIG_64BIT 588145095cd8fd466980ea6401f26a52e462275222Ralf Baechleld-emul = $(64bit-emul) 598145095cd8fd466980ea6401f26a52e462275222Ralf Baechlevmlinux-32 = vmlinux.32 608145095cd8fd466980ea6401f26a52e462275222Ralf Baechlevmlinux-64 = vmlinux 618145095cd8fd466980ea6401f26a52e462275222Ralf Baechle 6259b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechlecflags-y += -mabi=64 6359b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechleifdef CONFIG_BUILD_ELF64 648145095cd8fd466980ea6401f26a52e462275222Ralf Baechlecflags-y += $(call cc-option,-mno-explicit-relocs) 6559b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechleelse 6659b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechlecflags-y += $(call cc-option,-msym32) 6759b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechleendif 681da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsendif 691da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 7059b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechle 711da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 721da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# GCC uses -G 0 -mabicalls -fpic as default. We don't want PIC in the kernel 731da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# code since it only slows down the whole thing. At some point we might make 741da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# use of global pointer optimizations but their use of $28 conflicts with 751da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# the current pointer optimization. 761da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 771da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# The DECStation requires an ECOFF kernel for remote booting, other MIPS 781da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# machines may also. Since BFD is incredibly buggy with respect to 791da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# crossformat linking we rely on the elf2ecoff tool for format conversion. 801da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 811da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-y += -G 0 -mno-abicalls -fno-pic -pipe 826218cf4410cfce7bc7e89834e73525b124625d4cRalf Baechlecflags-y += -msoft-float 839f83d839dfd2dbe421224c29f02cef77f5b4b875Thiemo SeuferLDFLAGS_vmlinux += -G 0 -static -n -nostdlib 841da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus TorvaldsMODFLAGS += -mlong-calls 851da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 8672fbfb260197a52c2bc2583f3e8f15d261d0f924Ralf Baechlecflags-y += -ffreestanding 8772fbfb260197a52c2bc2583f3e8f15d261d0f924Ralf Baechle 88f425a6dce50475f08547d08763f707589478b027Thiemo Seufer# 89f425a6dce50475f08547d08763f707589478b027Thiemo Seufer# We explicitly add the endianness specifier if needed, this allows 90f425a6dce50475f08547d08763f707589478b027Thiemo Seufer# to compile kernels with a toolchain for the other endianness. We 91f425a6dce50475f08547d08763f707589478b027Thiemo Seufer# carefully avoid to add it redundantly because gcc 3.3/3.4 complains 92f425a6dce50475f08547d08763f707589478b027Thiemo Seufer# when fed the toolchain default! 93f425a6dce50475f08547d08763f707589478b027Thiemo Seufer# 9459b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechlecflags-$(CONFIG_CPU_BIG_ENDIAN) += $(shell $(CC) -dumpmachine |grep -q 'mips.*el-.*' && echo -EB -D__MIPSEB__) 9559b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechlecflags-$(CONFIG_CPU_LITTLE_ENDIAN) += $(shell $(CC) -dumpmachine |grep -q 'mips.*el-.*' || echo -EL -D__MIPSEL__) 96f425a6dce50475f08547d08763f707589478b027Thiemo Seufer 979007c9a2b03ea325ee593a161dbf01dbb8222d7eRalf Baechlecflags-$(CONFIG_SB1XXX_CORELIS) += $(call cc-option,-mno-sched-prolog) \ 989007c9a2b03ea325ee593a161dbf01dbb8222d7eRalf Baechle -fno-omit-frame-pointer 991da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 1001da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 1011da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# CPU-dependent compiler/assembler options for optimization. 1021da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 10359b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechlecflags-$(CONFIG_CPU_R3000) += -march=r3000 10459b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechlecflags-$(CONFIG_CPU_TX39XX) += -march=r3900 10559b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechlecflags-$(CONFIG_CPU_R6000) += -march=r6000 -Wa,--trap 10659b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechlecflags-$(CONFIG_CPU_R4300) += -march=r4300 -Wa,--trap 10759b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechlecflags-$(CONFIG_CPU_VR41XX) += -march=r4100 -Wa,--trap 10859b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechlecflags-$(CONFIG_CPU_R4X00) += -march=r4600 -Wa,--trap 10959b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechlecflags-$(CONFIG_CPU_TX49XX) += -march=r4600 -Wa,--trap 1109200c0b2a07c430bd98c546fc44b94f50e67ac62Ralf Baechlecflags-$(CONFIG_CPU_MIPS32_R1) += $(call cc-option,-march=mips32,-mips32 -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS32) \ 11159b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechle -Wa,-mips32 -Wa,--trap 1129200c0b2a07c430bd98c546fc44b94f50e67ac62Ralf Baechlecflags-$(CONFIG_CPU_MIPS32_R2) += $(call cc-option,-march=mips32r2,-mips32r2 -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS32) \ 11359b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechle -Wa,-mips32r2 -Wa,--trap 1149200c0b2a07c430bd98c546fc44b94f50e67ac62Ralf Baechlecflags-$(CONFIG_CPU_MIPS64_R1) += $(call cc-option,-march=mips64,-mips64 -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS64) \ 11559b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechle -Wa,-mips64 -Wa,--trap 1169200c0b2a07c430bd98c546fc44b94f50e67ac62Ralf Baechlecflags-$(CONFIG_CPU_MIPS64_R2) += $(call cc-option,-march=mips64r2,-mips64r2 -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS64) \ 11759b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechle -Wa,-mips64r2 -Wa,--trap 11859b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechlecflags-$(CONFIG_CPU_R5000) += -march=r5000 -Wa,--trap 119c9e321e095384f25f2b7ffef456794cfa876dafcRalf Baechlecflags-$(CONFIG_CPU_R5432) += $(call cc-option,-march=r5400,-march=r5000) \ 1201da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds -Wa,--trap 121c9e321e095384f25f2b7ffef456794cfa876dafcRalf Baechlecflags-$(CONFIG_CPU_NEVADA) += $(call cc-option,-march=rm5200,-march=r5000) \ 1221da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds -Wa,--trap 12359b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechlecflags-$(CONFIG_CPU_RM7000) += $(call cc-option,-march=rm7000,-march=r5000) \ 1241da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds -Wa,--trap 12559b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechlecflags-$(CONFIG_CPU_RM9000) += $(call cc-option,-march=rm9000,-march=r5000) \ 1261da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds -Wa,--trap 12759b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechlecflags-$(CONFIG_CPU_SB1) += $(call cc-option,-march=sb1,-march=r5000) \ 1281da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds -Wa,--trap 12959b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechlecflags-$(CONFIG_CPU_R8000) += -march=r8000 -Wa,--trap 13059b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechlecflags-$(CONFIG_CPU_R10000) += $(call cc-option,-march=r10000,-march=r8000) \ 1311da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds -Wa,--trap 1321da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 1331da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsifdef CONFIG_CPU_SB1 1341da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsifdef CONFIG_SB1_PASS_1_WORKAROUNDS 1351da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus TorvaldsMODFLAGS += -msb1-pass1-workarounds 1361da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsendif 1371da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsendif 1381da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 1391da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 1401da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Firmware support 1411da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 1421da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_ARC) += arch/mips/arc/ 1431da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_SIBYTE_CFE) += arch/mips/sibyte/cfe/ 1441da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 1451da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 1461da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Board-dependent options and extra files 1471da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 1481da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 1491da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 1501da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Acer PICA 61, Mips Magnum 4000 and Olivetti M700. 1511da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 1521da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_MACH_JAZZ) += arch/mips/jazz/ 1531da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MACH_JAZZ) += -Iinclude/asm-mips/mach-jazz 1541da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MACH_JAZZ) += 0xffffffff80080000 1551da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 1561da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 1571da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Common Alchemy Au1x00 stuff 1581da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 1591da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_SOC_AU1X00) += arch/mips/au1000/common/ 1601da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_SOC_AU1X00) += -Iinclude/asm-mips/mach-au1x00 1611da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 1621da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 1631da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# AMD Alchemy Pb1000 eval board 1641da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 1651da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_MIPS_PB1000) += arch/mips/au1000/pb1000/ 1661da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MIPS_PB1000) += -Iinclude/asm-mips/mach-pb1x00 1671da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MIPS_PB1000) += 0xffffffff80100000 1681da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 1691da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 1701da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# AMD Alchemy Pb1100 eval board 1711da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 1721da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_MIPS_PB1100) += arch/mips/au1000/pb1100/ 1731da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MIPS_PB1100) += -Iinclude/asm-mips/mach-pb1x00 1741da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MIPS_PB1100) += 0xffffffff80100000 1751da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 1761da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 1771da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# AMD Alchemy Pb1500 eval board 1781da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 1791da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_MIPS_PB1500) += arch/mips/au1000/pb1500/ 1801da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MIPS_PB1500) += -Iinclude/asm-mips/mach-pb1x00 1811da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MIPS_PB1500) += 0xffffffff80100000 1821da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 1831da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 1841da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# AMD Alchemy Pb1550 eval board 1851da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 1861da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_MIPS_PB1550) += arch/mips/au1000/pb1550/ 1871da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MIPS_PB1550) += -Iinclude/asm-mips/mach-pb1x00 1881da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MIPS_PB1550) += 0xffffffff80100000 1891da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 1901da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 191e3ad1c23ba72214669b364c6fa304531dc768c3ePete Popov# AMD Alchemy Pb1200 eval board 192e3ad1c23ba72214669b364c6fa304531dc768c3ePete Popov# 193e3ad1c23ba72214669b364c6fa304531dc768c3ePete Popovlibs-$(CONFIG_MIPS_PB1200) += arch/mips/au1000/pb1200/ 194e3ad1c23ba72214669b364c6fa304531dc768c3ePete Popovcflags-$(CONFIG_MIPS_PB1200) += -Iinclude/asm-mips/mach-pb1x00 195e3ad1c23ba72214669b364c6fa304531dc768c3ePete Popovload-$(CONFIG_MIPS_PB1200) += 0xffffffff80100000 196e3ad1c23ba72214669b364c6fa304531dc768c3ePete Popov 197e3ad1c23ba72214669b364c6fa304531dc768c3ePete Popov# 1981da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# AMD Alchemy Db1000 eval board 1991da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2001da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_MIPS_DB1000) += arch/mips/au1000/db1x00/ 2011da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MIPS_DB1000) += -Iinclude/asm-mips/mach-db1x00 2021da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MIPS_DB1000) += 0xffffffff80100000 2031da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 2041da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2051da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# AMD Alchemy Db1100 eval board 2061da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2071da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_MIPS_DB1100) += arch/mips/au1000/db1x00/ 2081da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MIPS_DB1100) += -Iinclude/asm-mips/mach-db1x00 2091da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MIPS_DB1100) += 0xffffffff80100000 2101da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 2111da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2121da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# AMD Alchemy Db1500 eval board 2131da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2141da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_MIPS_DB1500) += arch/mips/au1000/db1x00/ 2151da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MIPS_DB1500) += -Iinclude/asm-mips/mach-db1x00 2161da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MIPS_DB1500) += 0xffffffff80100000 2171da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 2181da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2191da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# AMD Alchemy Db1550 eval board 2201da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2211da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_MIPS_DB1550) += arch/mips/au1000/db1x00/ 2221da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MIPS_DB1550) += -Iinclude/asm-mips/mach-db1x00 2231da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MIPS_DB1550) += 0xffffffff80100000 2241da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 2251da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 226e3ad1c23ba72214669b364c6fa304531dc768c3ePete Popov# AMD Alchemy Db1200 eval board 227e3ad1c23ba72214669b364c6fa304531dc768c3ePete Popov# 228e3ad1c23ba72214669b364c6fa304531dc768c3ePete Popovlibs-$(CONFIG_MIPS_DB1200) += arch/mips/au1000/pb1200/ 229e3ad1c23ba72214669b364c6fa304531dc768c3ePete Popovcflags-$(CONFIG_MIPS_DB1200) += -Iinclude/asm-mips/mach-db1x00 230e3ad1c23ba72214669b364c6fa304531dc768c3ePete Popovload-$(CONFIG_MIPS_DB1200) += 0xffffffff80100000 231e3ad1c23ba72214669b364c6fa304531dc768c3ePete Popov 232e3ad1c23ba72214669b364c6fa304531dc768c3ePete Popov# 2331da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# AMD Alchemy Bosporus eval board 2341da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2351da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_MIPS_BOSPORUS) += arch/mips/au1000/db1x00/ 2361da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MIPS_BOSPORUS) += -Iinclude/asm-mips/mach-db1x00 2371da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MIPS_BOSPORUS) += 0xffffffff80100000 2381da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 2391da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2401da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# AMD Alchemy Mirage eval board 2411da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2421da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_MIPS_MIRAGE) += arch/mips/au1000/db1x00/ 2431da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MIPS_MIRAGE) += -Iinclude/asm-mips/mach-db1x00 2441da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MIPS_MIRAGE) += 0xffffffff80100000 2451da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 2461da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2471da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 4G-Systems eval board 2481da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2491da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_MIPS_MTX1) += arch/mips/au1000/mtx-1/ 2501da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MIPS_MTX1) += 0xffffffff80100000 2511da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 2521da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2531da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# MyCable eval board 2541da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2551da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_MIPS_XXS1500) += arch/mips/au1000/xxs1500/ 2561da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000 2571da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 2581da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2591da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Cobalt Server 2601da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2611da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_MIPS_COBALT) += arch/mips/cobalt/ 26211ed6d5bb01c5f347fd5c47e0005f06687c66f1fRalf Baechlecflags-$(CONFIG_MIPS_COBALT) += -Iinclude/asm-mips/mach-cobalt 2631da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MIPS_COBALT) += 0xffffffff80080000 2641da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 2651da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2661da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# DECstation family 2671da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2681da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/ 2691da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MACH_DECSTATION)+= -Iinclude/asm-mips/mach-dec 2701da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/prom/ 2711da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MACH_DECSTATION) += 0xffffffff80040000 2721da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus TorvaldsCLEAN_FILES += drivers/tc/lk201-map.c 2731da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 2741da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2751da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Galileo EV64120 Board 2761da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2771da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_MIPS_EV64120) += arch/mips/gt64120/ev64120/ 2781da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_MIPS_EV64120) += arch/mips/gt64120/common/ 2791da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MIPS_EV64120) += -Iinclude/asm-mips/mach-ev64120 2801da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MIPS_EV64120) += 0xffffffff80100000 2811da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 2821da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2831da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Galileo EV96100 Board 2841da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2851da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_MIPS_EV96100) += arch/mips/galileo-boards/ev96100/ 2861da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MIPS_EV96100) += -Iinclude/asm-mips/mach-ev96100 2871da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MIPS_EV96100) += 0xffffffff80100000 2881da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 2891da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 290a240a469649eaab03f0c4c7fbb21ea5041bf5572Mark.Zhan# Wind River PPMC Board (4KC + GT64120) 291a240a469649eaab03f0c4c7fbb21ea5041bf5572Mark.Zhan# 292a240a469649eaab03f0c4c7fbb21ea5041bf5572Mark.Zhancore-$(CONFIG_WR_PPMC) += arch/mips/gt64120/wrppmc/ 293a240a469649eaab03f0c4c7fbb21ea5041bf5572Mark.Zhancflags-$(CONFIG_WR_PPMC) += -Iinclude/asm-mips/mach-wrppmc 294a240a469649eaab03f0c4c7fbb21ea5041bf5572Mark.Zhanload-$(CONFIG_WR_PPMC) += 0xffffffff80100000 295a240a469649eaab03f0c4c7fbb21ea5041bf5572Mark.Zhan 296a240a469649eaab03f0c4c7fbb21ea5041bf5572Mark.Zhan# 2971da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Globespan IVR eval board with QED 5231 CPU 2981da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 2991da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_ITE_BOARD_GEN) += arch/mips/ite-boards/generic/ 3001da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_MIPS_IVR) += arch/mips/ite-boards/ivr/ 3011da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MIPS_IVR) += 0xffffffff80100000 3021da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 3031da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3041da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# ITE 8172 eval board with QED 5231 CPU 3051da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3061da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_MIPS_ITE8172) += arch/mips/ite-boards/qed-4n-s01b/ 3071da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MIPS_ITE8172) += 0xffffffff80100000 3081da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 3091da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3101da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# For all MIPS, Inc. eval boards 3111da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3121da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_MIPS_BOARDS_GEN) += arch/mips/mips-boards/generic/ 3131da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 3141da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3151da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# MIPS Atlas board 3161da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3171da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_MIPS_ATLAS) += arch/mips/mips-boards/atlas/ 3181da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MIPS_ATLAS) += -Iinclude/asm-mips/mach-atlas 3191da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MIPS_ATLAS) += -Iinclude/asm-mips/mach-mips 3201da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MIPS_ATLAS) += 0xffffffff80100000 3211da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 3221da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3231da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# MIPS Malta board 3241da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3251da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_MIPS_MALTA) += arch/mips/mips-boards/malta/ 3261da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MIPS_MALTA) += -Iinclude/asm-mips/mach-mips 3271da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MIPS_MALTA) += 0xffffffff80100000 3281da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 3291da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3301da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# MIPS SEAD board 3311da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3321da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_MIPS_SEAD) += arch/mips/mips-boards/sead/ 3331da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MIPS_SEAD) += 0xffffffff80100000 3341da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 3351da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 336c78cbf49c4edf2f9ca9e56d4b87a5d6ef08b7fedRalf Baechle# MIPS SIM 337c78cbf49c4edf2f9ca9e56d4b87a5d6ef08b7fedRalf Baechle# 338c78cbf49c4edf2f9ca9e56d4b87a5d6ef08b7fedRalf Baechlecore-$(CONFIG_MIPS_SIM) += arch/mips/mips-boards/sim/ 339c78cbf49c4edf2f9ca9e56d4b87a5d6ef08b7fedRalf Baechlecflags-$(CONFIG_MIPS_SIM) += -Iinclude/asm-mips/mach-sim 340c78cbf49c4edf2f9ca9e56d4b87a5d6ef08b7fedRalf Baechleload-$(CONFIG_MIPS_SIM) += 0x80100000 341c78cbf49c4edf2f9ca9e56d4b87a5d6ef08b7fedRalf Baechle 342c78cbf49c4edf2f9ca9e56d4b87a5d6ef08b7fedRalf Baechle# 3431da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Momentum Ocelot board 3441da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3451da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# The Ocelot setup.o must be linked early - it does the ioremap() for the 3461da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# mips_io_port_base. 3471da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3481da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_MOMENCO_OCELOT) += arch/mips/gt64120/common/ \ 3491da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds arch/mips/gt64120/momenco_ocelot/ 3501da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MOMENCO_OCELOT) += -Iinclude/asm-mips/mach-ocelot 3511da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MOMENCO_OCELOT) += 0xffffffff80100000 3521da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 3531da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3541da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Momentum Ocelot-G board 3551da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3561da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# The Ocelot-G setup.o must be linked early - it does the ioremap() for the 3571da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# mips_io_port_base. 3581da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3591da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_MOMENCO_OCELOT_G) += arch/mips/momentum/ocelot_g/ 3601da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MOMENCO_OCELOT_G) += 0xffffffff80100000 3611da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 3621da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3631da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Momentum Ocelot-C and -CS boards 3641da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3651da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# The Ocelot-C[S] setup.o must be linked early - it does the ioremap() for the 3661da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# mips_io_port_base. 3671da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_MOMENCO_OCELOT_C) += arch/mips/momentum/ocelot_c/ 3681da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MOMENCO_OCELOT_C) += 0xffffffff80100000 3691da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 3701da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3711da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# PMC-Sierra Yosemite 3721da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3731da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_PMC_YOSEMITE) += arch/mips/pmc-sierra/yosemite/ 3741da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_PMC_YOSEMITE) += -Iinclude/asm-mips/mach-yosemite 3751da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_PMC_YOSEMITE) += 0xffffffff80100000 3761da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 37707119621e62de0a2c8db6e4896e762c498bfdd17Ralf Baechle# Qemu simulating MIPS32 4Kc 37807119621e62de0a2c8db6e4896e762c498bfdd17Ralf Baechle# 37907119621e62de0a2c8db6e4896e762c498bfdd17Ralf Baechlecore-$(CONFIG_QEMU) += arch/mips/qemu/ 38007119621e62de0a2c8db6e4896e762c498bfdd17Ralf Baechlecflags-$(CONFIG_QEMU) += -Iinclude/asm-mips/mach-qemu 38107119621e62de0a2c8db6e4896e762c498bfdd17Ralf Baechleload-$(CONFIG_QEMU) += 0xffffffff80010000 38207119621e62de0a2c8db6e4896e762c498bfdd17Ralf Baechle 3831da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3841da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Momentum Ocelot-3 3851da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 3861da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_MOMENCO_OCELOT_3) += arch/mips/momentum/ocelot_3/ 3871da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MOMENCO_OCELOT_3) += -Iinclude/asm-mips/mach-ocelot3 3881da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MOMENCO_OCELOT_3) += 0xffffffff80100000 3891da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 3901da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 39135189fad3cb5f6e3ab66c8321928a851de0cd2b1Ralf Baechle# Basler eXcite 39235189fad3cb5f6e3ab66c8321928a851de0cd2b1Ralf Baechle# 39335189fad3cb5f6e3ab66c8321928a851de0cd2b1Ralf Baechlecore-$(CONFIG_BASLER_EXCITE) += arch/mips/basler/excite/ 39435189fad3cb5f6e3ab66c8321928a851de0cd2b1Ralf Baechlecflags-$(CONFIG_BASLER_EXCITE) += -Iinclude/asm-mips/mach-excite 39535189fad3cb5f6e3ab66c8321928a851de0cd2b1Ralf Baechleload-$(CONFIG_BASLER_EXCITE) += 0x80100000 39635189fad3cb5f6e3ab66c8321928a851de0cd2b1Ralf Baechle 39735189fad3cb5f6e3ab66c8321928a851de0cd2b1Ralf Baechle# 3981da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Momentum Jaguar ATX 3991da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 4001da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_MOMENCO_JAGUAR_ATX) += arch/mips/momentum/jaguar_atx/ 4011da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MOMENCO_JAGUAR_ATX) += -Iinclude/asm-mips/mach-ja 4021da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds#ifdef CONFIG_JAGUAR_DMALOW 4031da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds#load-$(CONFIG_MOMENCO_JAGUAR_ATX) += 0xffffffff88000000 4041da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds#else 4051da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_MOMENCO_JAGUAR_ATX) += 0xffffffff80100000 4061da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds#endif 4071da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 4081da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 4091da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# NEC DDB 4101da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 4111da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_DDB5XXX_COMMON) += arch/mips/ddb5xxx/common/ 4121da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 4131da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 4141da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# NEC DDB Vrc-5477 4151da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 4161da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_DDB5477) += arch/mips/ddb5xxx/ddb5477/ 4171da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_DDB5477) += 0xffffffff80100000 4181da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 4191da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_LASAT) += arch/mips/lasat/ 4201da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_LASAT) += -Iinclude/asm-mips/mach-lasat 4211da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_LASAT) += 0xffffffff80000000 4221da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 4231da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 4241da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Common VR41xx 4251da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 4261da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_MACH_VR41XX) += arch/mips/vr41xx/common/ 4271da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_MACH_VR41XX) += -Iinclude/asm-mips/mach-vr41xx 4281da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 4291da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 4301da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# NEC VR4133 4311da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 4321da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_NEC_CMBVR4133) += arch/mips/vr41xx/nec-cmbvr4133/ 4331da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_NEC_CMBVR4133) += 0xffffffff80100000 4341da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 4351da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 4361da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# ZAO Networks Capcella (VR4131) 4371da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 4381da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_ZAO_CAPCELLA) += 0xffffffff80000000 4391da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 4401da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 4411da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Victor MP-C303/304 (VR4122) 4421da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 4431da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_VICTOR_MPC30X) += 0xffffffff80001000 4441da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 4451da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 4461da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# IBM WorkPad z50 (VR4121) 4471da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 4481da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_IBM_WORKPAD) += arch/mips/vr41xx/ibm-workpad/ 4491da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_IBM_WORKPAD) += 0xffffffff80004000 4501da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 4511da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 4521da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# CASIO CASSIPEIA E-55/65 (VR4111) 4531da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 4541da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_CASIO_E55) += arch/mips/vr41xx/casio-e55/ 4551da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_CASIO_E55) += 0xffffffff80004000 4561da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 4571da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 45863b799f9ded82444212afdcf61379a247d544909Yoichi Yuasa# TANBAC VR4131 multichip module(TB0225) and TANBAC VR4131DIMM(TB0229) (VR4131) 4591da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 46063b799f9ded82444212afdcf61379a247d544909Yoichi Yuasaload-$(CONFIG_TANBAC_TB022X) += 0xffffffff80000000 4611da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 4621da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 463bdf21b18b4abf983db38f04ef7fec88f47389867Pete Popov# Common Philips PNX8550 464bdf21b18b4abf983db38f04ef7fec88f47389867Pete Popov# 465bdf21b18b4abf983db38f04ef7fec88f47389867Pete Popovcore-$(CONFIG_SOC_PNX8550) += arch/mips/philips/pnx8550/common/ 466bdf21b18b4abf983db38f04ef7fec88f47389867Pete Popovcflags-$(CONFIG_SOC_PNX8550) += -Iinclude/asm-mips/mach-pnx8550 467bdf21b18b4abf983db38f04ef7fec88f47389867Pete Popov 468bdf21b18b4abf983db38f04ef7fec88f47389867Pete Popov# 469bdf21b18b4abf983db38f04ef7fec88f47389867Pete Popov# Philips PNX8550 JBS board 470bdf21b18b4abf983db38f04ef7fec88f47389867Pete Popov# 471bdf21b18b4abf983db38f04ef7fec88f47389867Pete Popovlibs-$(CONFIG_PNX8550_JBS) += arch/mips/philips/pnx8550/jbs/ 472bdf21b18b4abf983db38f04ef7fec88f47389867Pete Popov#cflags-$(CONFIG_PNX8550_JBS) += -Iinclude/asm-mips/mach-pnx8550 473bdf21b18b4abf983db38f04ef7fec88f47389867Pete Popovload-$(CONFIG_PNX8550_JBS) += 0xffffffff80060000 474bdf21b18b4abf983db38f04ef7fec88f47389867Pete Popov 475355c471f2ff324c21f8a1fb8e2e242a0f2a4aa68dmitry pervushin# NEC EMMA2RH boards 476355c471f2ff324c21f8a1fb8e2e242a0f2a4aa68dmitry pervushin# 477355c471f2ff324c21f8a1fb8e2e242a0f2a4aa68dmitry pervushincore-$(CONFIG_EMMA2RH) += arch/mips/emma2rh/common/ 478355c471f2ff324c21f8a1fb8e2e242a0f2a4aa68dmitry pervushincflags-$(CONFIG_EMMA2RH) += -Iinclude/asm-mips/mach-emma2rh 479355c471f2ff324c21f8a1fb8e2e242a0f2a4aa68dmitry pervushin 480355c471f2ff324c21f8a1fb8e2e242a0f2a4aa68dmitry pervushin# NEC EMMA2RH Mark-eins 481355c471f2ff324c21f8a1fb8e2e242a0f2a4aa68dmitry pervushincore-$(CONFIG_MARKEINS) += arch/mips/emma2rh/markeins/ 482355c471f2ff324c21f8a1fb8e2e242a0f2a4aa68dmitry pervushinload-$(CONFIG_MARKEINS) += 0xffffffff88100000 483355c471f2ff324c21f8a1fb8e2e242a0f2a4aa68dmitry pervushin 484bdf21b18b4abf983db38f04ef7fec88f47389867Pete Popov# 4851da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# SGI IP22 (Indy/Indigo2) 4861da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 4871da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Set the load address to >= 0xffffffff88069000 if you want to leave space for 4881da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# symmon, 0xffffffff80002000 for production kernels. Note that the value must 4891da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# be aligned to a multiple of the kernel stack size or the handling of the 4901da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# current variable will break so for 64-bit kernels we have to raise the start 4911da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# address by 8kb. 4921da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 4931da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_SGI_IP22) += arch/mips/sgi-ip22/ 4941da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_SGI_IP22) += -Iinclude/asm-mips/mach-ip22 495875d43e72b5bf22161a81de7554f88eccf8a51aeRalf Baechleifdef CONFIG_32BIT 4961da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_SGI_IP22) += 0xffffffff88002000 4971da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsendif 498875d43e72b5bf22161a81de7554f88eccf8a51aeRalf Baechleifdef CONFIG_64BIT 4991da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_SGI_IP22) += 0xffffffff88004000 5001da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsendif 5011da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 5021da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 5031da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# SGI-IP27 (Origin200/2000) 5041da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 5051da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Set the load address to >= 0xc000000000300000 if you want to leave space for 5061da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# symmon, 0xc00000000001c000 for production kernels. Note that the value must 5071da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# be 16kb aligned or the handling of the current variable will break. 5081da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 5091da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsifdef CONFIG_SGI_IP27 5101da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_SGI_IP27) += arch/mips/sgi-ip27/ 5111da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_SGI_IP27) += -Iinclude/asm-mips/mach-ip27 5121da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsifdef CONFIG_MAPPED_KERNEL 5131da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_SGI_IP27) += 0xc00000004001c000 5141da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus TorvaldsOBJCOPYFLAGS := --change-addresses=0x3fffffff80000000 5151da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsdataoffset-$(CONFIG_SGI_IP27) += 0x01000000 5161da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldselse 5171da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_SGI_IP27) += 0xa80000000001c000 5181da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus TorvaldsOBJCOPYFLAGS := --change-addresses=0x57ffffff80000000 5191da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsendif 5201da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsendif 5211da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 5221da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 5231da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# SGI-IP32 (O2) 5241da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 5251da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Set the load address to >= 80069000 if you want to leave space for symmon, 5261da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 0xffffffff80004000 for production kernels. Note that the value must be aligned to 5271da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# a multiple of the kernel stack size or the handling of the current variable 5281da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# will break. 5291da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 5301da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_SGI_IP32) += arch/mips/sgi-ip32/ 5311da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_SGI_IP32) += -Iinclude/asm-mips/mach-ip32 5321da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_SGI_IP32) += 0xffffffff80004000 5331da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 5341da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 5351da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Sibyte SB1250 SOC 5361da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 5371da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# This is a LIB so that it links at the end, and initcalls are later 5381da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# the sequence; but it is built as an object so that modules don't get 5391da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# removed (as happens, even if they have __initcall/module_init) 5401da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 5411da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_SIBYTE_BCM112X) += arch/mips/sibyte/sb1250/ 542f137e463b50aadba91bd116f99c59ccb9c15a12fAndrew Isaacsoncflags-$(CONFIG_SIBYTE_BCM112X) += -Iinclude/asm-mips/mach-sibyte \ 543f137e463b50aadba91bd116f99c59ccb9c15a12fAndrew Isaacson -DSIBYTE_HDR_FEATURES=SIBYTE_HDR_FMASK_1250_112x_ALL 5441da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 5451da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_SIBYTE_SB1250) += arch/mips/sibyte/sb1250/ 546f137e463b50aadba91bd116f99c59ccb9c15a12fAndrew Isaacsoncflags-$(CONFIG_SIBYTE_SB1250) += -Iinclude/asm-mips/mach-sibyte \ 547f137e463b50aadba91bd116f99c59ccb9c15a12fAndrew Isaacson -DSIBYTE_HDR_FEATURES=SIBYTE_HDR_FMASK_1250_112x_ALL 548f137e463b50aadba91bd116f99c59ccb9c15a12fAndrew Isaacson 549f137e463b50aadba91bd116f99c59ccb9c15a12fAndrew Isaacsoncore-$(CONFIG_SIBYTE_BCM1x55) += arch/mips/sibyte/bcm1480/ 550f137e463b50aadba91bd116f99c59ccb9c15a12fAndrew Isaacsoncflags-$(CONFIG_SIBYTE_BCM1x55) += -Iinclude/asm-mips/mach-sibyte \ 551f137e463b50aadba91bd116f99c59ccb9c15a12fAndrew Isaacson -DSIBYTE_HDR_FEATURES=SIBYTE_HDR_FMASK_1480_ALL 552f137e463b50aadba91bd116f99c59ccb9c15a12fAndrew Isaacson 553f137e463b50aadba91bd116f99c59ccb9c15a12fAndrew Isaacsoncore-$(CONFIG_SIBYTE_BCM1x80) += arch/mips/sibyte/bcm1480/ 554f137e463b50aadba91bd116f99c59ccb9c15a12fAndrew Isaacsoncflags-$(CONFIG_SIBYTE_BCM1x80) += -Iinclude/asm-mips/mach-sibyte \ 555f137e463b50aadba91bd116f99c59ccb9c15a12fAndrew Isaacson -DSIBYTE_HDR_FEATURES=SIBYTE_HDR_FMASK_1480_ALL 5561da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 5571da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 5581da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Sibyte BCM91120x (Carmel) board 5591da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Sibyte BCM91120C (CRhine) board 5601da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Sibyte BCM91125C (CRhone) board 5611da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Sibyte BCM91125E (Rhone) board 5621da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Sibyte SWARM board 5639a6dcea10308df50ed54d6d5a43c9f6c3e927118Andrew Isaacson# Sibyte BCM91x80 (BigSur) board 5641da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 5651da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_SIBYTE_CARMEL) += arch/mips/sibyte/swarm/ 5661da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_SIBYTE_CARMEL) := 0xffffffff80100000 5671da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_SIBYTE_CRHINE) += arch/mips/sibyte/swarm/ 5681da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_SIBYTE_CRHINE) := 0xffffffff80100000 5691da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_SIBYTE_CRHONE) += arch/mips/sibyte/swarm/ 5701da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_SIBYTE_CRHONE) := 0xffffffff80100000 5711da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_SIBYTE_RHONE) += arch/mips/sibyte/swarm/ 5721da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_SIBYTE_RHONE) := 0xffffffff80100000 5731da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_SIBYTE_SENTOSA) += arch/mips/sibyte/swarm/ 5741da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_SIBYTE_SENTOSA) := 0xffffffff80100000 5751da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-$(CONFIG_SIBYTE_SWARM) += arch/mips/sibyte/swarm/ 5761da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_SIBYTE_SWARM) := 0xffffffff80100000 5779a6dcea10308df50ed54d6d5a43c9f6c3e927118Andrew Isaacsonlibs-$(CONFIG_SIBYTE_BIGSUR) += arch/mips/sibyte/swarm/ 5789a6dcea10308df50ed54d6d5a43c9f6c3e927118Andrew Isaacsonload-$(CONFIG_SIBYTE_BIGSUR) := 0xffffffff80100000 5791da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 5801da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 5811da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# SNI RM200 PCI 5821da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 5831da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_SNI_RM200_PCI) += arch/mips/sni/ 5841da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-$(CONFIG_SNI_RM200_PCI) += -Iinclude/asm-mips/mach-rm200 5851da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_SNI_RM200_PCI) += 0xffffffff80600000 5861da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 5871da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 5881da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Toshiba JMR-TX3927 board 5891da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 5901da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_TOSHIBA_JMR3927) += arch/mips/jmr3927/rbhma3100/ \ 5911da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds arch/mips/jmr3927/common/ 5925135b0cdb23e47dd48d8100e45bd48ce937732ffRalf Baechlecflags-$(CONFIG_TOSHIBA_JMR3927) += -Iinclude/asm-mips/mach-jmr3927 5931da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_TOSHIBA_JMR3927) += 0xffffffff80050000 5941da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 5951da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 5961da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Toshiba RBTX4927 board or 5971da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Toshiba RBTX4937 board 5981da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 5991da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/tx4927/toshiba_rbtx4927/ 6001da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/tx4927/common/ 6011da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsload-$(CONFIG_TOSHIBA_RBTX4927) += 0xffffffff80020000 6021da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 60323fbee9dd5d2a41d36af49ff8e1669fb0c29fda8Ralf Baechle# 60423fbee9dd5d2a41d36af49ff8e1669fb0c29fda8Ralf Baechle# Toshiba RBTX4938 board 60523fbee9dd5d2a41d36af49ff8e1669fb0c29fda8Ralf Baechle# 60623fbee9dd5d2a41d36af49ff8e1669fb0c29fda8Ralf Baechlecore-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/tx4938/toshiba_rbtx4938/ 60723fbee9dd5d2a41d36af49ff8e1669fb0c29fda8Ralf Baechlecore-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/tx4938/common/ 60823fbee9dd5d2a41d36af49ff8e1669fb0c29fda8Ralf Baechleload-$(CONFIG_TOSHIBA_RBTX4938) += 0xffffffff80100000 60923fbee9dd5d2a41d36af49ff8e1669fb0c29fda8Ralf Baechle 6101da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscflags-y += -Iinclude/asm-mips/mach-generic 6111da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsdrivers-$(CONFIG_PCI) += arch/mips/pci/ 6121da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 613875d43e72b5bf22161a81de7554f88eccf8a51aeRalf Baechleifdef CONFIG_32BIT 6141da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsifdef CONFIG_CPU_LITTLE_ENDIAN 6151da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus TorvaldsJIFFIES = jiffies_64 6161da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldselse 6171da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus TorvaldsJIFFIES = jiffies_64 + 4 6181da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsendif 6191da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldselse 6201da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus TorvaldsJIFFIES = jiffies_64 6211da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsendif 6221da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 6231da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus TorvaldsAFLAGS += $(cflags-y) 6241da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus TorvaldsCFLAGS += $(cflags-y) 6251da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 6261da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus TorvaldsLDFLAGS += -m $(ld-emul) 6271da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 62859b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechleifdef CONFIG_MIPS 62959b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf BaechleCHECKFLAGS += $(shell $(CC) $(CFLAGS) -dM -E -xc /dev/null | \ 63059b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechle egrep -vw '__GNUC_(MAJOR|MINOR|PATCHLEVEL)__' | \ 6312a2c3e451965aca35c2d0d1b2db1dbd1d839c75eAtsushi Nemoto sed -e 's/^\#define /-D/' -e "s/ /='/" -e "s/$$/'/") 6322a2c3e451965aca35c2d0d1b2db1dbd1d839c75eAtsushi Nemotoifdef CONFIG_64BIT 6332a2c3e451965aca35c2d0d1b2db1dbd1d839c75eAtsushi NemotoCHECKFLAGS += -m64 6342a2c3e451965aca35c2d0d1b2db1dbd1d839c75eAtsushi Nemotoendif 63559b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechleendif 63659b3e8e9aac69d2d02853acac7e2affdfbabca50Ralf Baechle 6371da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus TorvaldsOBJCOPYFLAGS += --remove-section=.reginfo 6381da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 6391da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 6401da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Choosing incompatible machines durings configuration will result in 6411da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# error messages during linking. Select a default linkscript if 6421da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# none has been choosen above. 6431da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 6441da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 6451da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus TorvaldsCPPFLAGS_vmlinux.lds := \ 6461da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds $(CFLAGS) \ 6471da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds -D"LOADADDR=$(load-y)" \ 6481da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds -D"JIFFIES=$(JIFFIES)" \ 6491da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds -D"DATAOFFSET=$(if $(dataoffset-y),$(dataoffset-y),0)" 6501da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 6511da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldshead-y := arch/mips/kernel/head.o arch/mips/kernel/init_task.o 6521da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 6531da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldslibs-y += arch/mips/lib/ 654875d43e72b5bf22161a81de7554f88eccf8a51aeRalf Baechlelibs-$(CONFIG_32BIT) += arch/mips/lib-32/ 655875d43e72b5bf22161a81de7554f88eccf8a51aeRalf Baechlelibs-$(CONFIG_64BIT) += arch/mips/lib-64/ 6561da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 6571da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldscore-y += arch/mips/kernel/ arch/mips/mm/ arch/mips/math-emu/ 6581da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 6591da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsdrivers-$(CONFIG_OPROFILE) += arch/mips/oprofile/ 6601da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 6611da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsifdef CONFIG_LASAT 6621da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsrom.bin rom.sw: vmlinux 6637c6b155fb49fbc63e0b30a1d49552693c0b45be7Sam Ravnborg $(Q)$(MAKE) $(build)=arch/mips/lasat/image $@ 6641da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsendif 6651da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 6661da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 6671da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Some machines like the Indy need 32-bit ELF binaries for booting purposes. 6681da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# Other need ECOFF, so we build a 32-bit ELF binary for them which we then 6691da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# convert to ECOFF using elf2ecoff. 6701da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 6711da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsvmlinux.32: vmlinux 6721da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds $(OBJCOPY) -O $(32bit-bfd) $(OBJCOPYFLAGS) $< $@ 6731da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 6741da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 6751da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# The 64-bit ELF tools are pretty broken so at this time we generate 64-bit 6761da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# ELF files from 32-bit files by conversion. 6771da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds# 6781da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsvmlinux.64: vmlinux 6791da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds $(OBJCOPY) -O $(64bit-bfd) $(OBJCOPYFLAGS) $< $@ 6801da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 6811da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsmakeboot =$(Q)$(MAKE) $(build)=arch/mips/boot VMLINUX=$(vmlinux-32) $(1) 6821da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 6831da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsifdef CONFIG_BOOT_ELF32 6841da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsall: $(vmlinux-32) 6851da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsendif 6861da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 6871da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsifdef CONFIG_BOOT_ELF64 6881da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsall: $(vmlinux-64) 6891da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsendif 6901da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 691149f60b30c947196be4dacb0fba216d72f51bf9fRalf Baechleifdef CONFIG_MIPS_ATLAS 692149f60b30c947196be4dacb0fba216d72f51bf9fRalf Baechleall: vmlinux.srec 693149f60b30c947196be4dacb0fba216d72f51bf9fRalf Baechleendif 694149f60b30c947196be4dacb0fba216d72f51bf9fRalf Baechle 695149f60b30c947196be4dacb0fba216d72f51bf9fRalf Baechleifdef CONFIG_MIPS_MALTA 696149f60b30c947196be4dacb0fba216d72f51bf9fRalf Baechleall: vmlinux.srec 697149f60b30c947196be4dacb0fba216d72f51bf9fRalf Baechleendif 698149f60b30c947196be4dacb0fba216d72f51bf9fRalf Baechle 699149f60b30c947196be4dacb0fba216d72f51bf9fRalf Baechleifdef CONFIG_MIPS_SEAD 700149f60b30c947196be4dacb0fba216d72f51bf9fRalf Baechleall: vmlinux.srec 701149f60b30c947196be4dacb0fba216d72f51bf9fRalf Baechleendif 702149f60b30c947196be4dacb0fba216d72f51bf9fRalf Baechle 703154b500b1981a8053a15cd8e749a955a9bb60006Ralf Baechleifdef CONFIG_QEMU 704154b500b1981a8053a15cd8e749a955a9bb60006Ralf Baechleall: vmlinux.bin 705154b500b1981a8053a15cd8e749a955a9bb60006Ralf Baechleendif 706154b500b1981a8053a15cd8e749a955a9bb60006Ralf Baechle 7071da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsifdef CONFIG_SNI_RM200_PCI 7081da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsall: vmlinux.ecoff 7091da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsendif 7101da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 711154b500b1981a8053a15cd8e749a955a9bb60006Ralf Baechlevmlinux.bin: $(vmlinux-32) 712154b500b1981a8053a15cd8e749a955a9bb60006Ralf Baechle +@$(call makeboot,$@) 713154b500b1981a8053a15cd8e749a955a9bb60006Ralf Baechle 7141da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsvmlinux.ecoff vmlinux.rm200: $(vmlinux-32) 7151da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds +@$(call makeboot,$@) 7161da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 7171da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsvmlinux.srec: $(vmlinux-32) 7181da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds +@$(call makeboot,$@) 7191da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 7201da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus TorvaldsCLEAN_FILES += vmlinux.ecoff \ 7211da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds vmlinux.srec \ 7221da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds vmlinux.rm200.tmp \ 7231da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds vmlinux.rm200 7241da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 7251da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsarchclean: 7261da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds @$(MAKE) $(clean)=arch/mips/boot 7271da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds @$(MAKE) $(clean)=arch/mips/lasat 7281da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 729048eb582f3f89737d4a29668de9935e6feea7c36Sam RavnborgCLEAN_FILES += vmlinux.32 \ 7301da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds vmlinux.64 \ 7311da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds vmlinux.ecoff 732