diff options
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r-- | arch/mips/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 7d1d7c91b857..a33328ef86f7 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -37,12 +37,12 @@ else | |||
37 | 64bit-emul = elf64btsmip | 37 | 64bit-emul = elf64btsmip |
38 | endif | 38 | endif |
39 | 39 | ||
40 | ifdef CONFIG_MIPS32 | 40 | ifdef CONFIG_32BIT |
41 | gcc-abi = 32 | 41 | gcc-abi = 32 |
42 | tool-prefix = $(32bit-tool-prefix) | 42 | tool-prefix = $(32bit-tool-prefix) |
43 | UTS_MACHINE := mips | 43 | UTS_MACHINE := mips |
44 | endif | 44 | endif |
45 | ifdef CONFIG_MIPS64 | 45 | ifdef CONFIG_64BIT |
46 | gcc-abi = 64 | 46 | gcc-abi = 64 |
47 | tool-prefix = $(64bit-tool-prefix) | 47 | tool-prefix = $(64bit-tool-prefix) |
48 | UTS_MACHINE := mips64 | 48 | UTS_MACHINE := mips64 |
@@ -63,7 +63,7 @@ ld-emul = $(32bit-emul) | |||
63 | vmlinux-32 = vmlinux | 63 | vmlinux-32 = vmlinux |
64 | vmlinux-64 = vmlinux.64 | 64 | vmlinux-64 = vmlinux.64 |
65 | 65 | ||
66 | cflags-$(CONFIG_MIPS64) += $(call cc-option,-mno-explicit-relocs) | 66 | cflags-$(CONFIG_64BIT) += $(call cc-option,-mno-explicit-relocs) |
67 | endif | 67 | endif |
68 | 68 | ||
69 | # | 69 | # |
@@ -524,10 +524,10 @@ load-$(CONFIG_TANBAC_TB022X) += 0xffffffff80000000 | |||
524 | # | 524 | # |
525 | core-$(CONFIG_SGI_IP22) += arch/mips/sgi-ip22/ | 525 | core-$(CONFIG_SGI_IP22) += arch/mips/sgi-ip22/ |
526 | cflags-$(CONFIG_SGI_IP22) += -Iinclude/asm-mips/mach-ip22 | 526 | cflags-$(CONFIG_SGI_IP22) += -Iinclude/asm-mips/mach-ip22 |
527 | ifdef CONFIG_MIPS32 | 527 | ifdef CONFIG_32BIT |
528 | load-$(CONFIG_SGI_IP22) += 0xffffffff88002000 | 528 | load-$(CONFIG_SGI_IP22) += 0xffffffff88002000 |
529 | endif | 529 | endif |
530 | ifdef CONFIG_MIPS64 | 530 | ifdef CONFIG_64BIT |
531 | load-$(CONFIG_SGI_IP22) += 0xffffffff88004000 | 531 | load-$(CONFIG_SGI_IP22) += 0xffffffff88004000 |
532 | endif | 532 | endif |
533 | 533 | ||
@@ -632,7 +632,7 @@ load-$(CONFIG_TOSHIBA_RBTX4927) += 0xffffffff80020000 | |||
632 | cflags-y += -Iinclude/asm-mips/mach-generic | 632 | cflags-y += -Iinclude/asm-mips/mach-generic |
633 | drivers-$(CONFIG_PCI) += arch/mips/pci/ | 633 | drivers-$(CONFIG_PCI) += arch/mips/pci/ |
634 | 634 | ||
635 | ifdef CONFIG_MIPS32 | 635 | ifdef CONFIG_32BIT |
636 | ifdef CONFIG_CPU_LITTLE_ENDIAN | 636 | ifdef CONFIG_CPU_LITTLE_ENDIAN |
637 | JIFFIES = jiffies_64 | 637 | JIFFIES = jiffies_64 |
638 | else | 638 | else |
@@ -664,8 +664,8 @@ CPPFLAGS_vmlinux.lds := \ | |||
664 | head-y := arch/mips/kernel/head.o arch/mips/kernel/init_task.o | 664 | head-y := arch/mips/kernel/head.o arch/mips/kernel/init_task.o |
665 | 665 | ||
666 | libs-y += arch/mips/lib/ | 666 | libs-y += arch/mips/lib/ |
667 | libs-$(CONFIG_MIPS32) += arch/mips/lib-32/ | 667 | libs-$(CONFIG_32BIT) += arch/mips/lib-32/ |
668 | libs-$(CONFIG_MIPS64) += arch/mips/lib-64/ | 668 | libs-$(CONFIG_64BIT) += arch/mips/lib-64/ |
669 | 669 | ||
670 | core-y += arch/mips/kernel/ arch/mips/mm/ arch/mips/math-emu/ | 670 | core-y += arch/mips/kernel/ arch/mips/mm/ arch/mips/math-emu/ |
671 | 671 | ||