diff options
-rw-r--r-- | arch/i386/Makefile | 18 | ||||
-rw-r--r-- | arch/i386/mach-generic/Makefile | 3 |
2 files changed, 11 insertions, 10 deletions
diff --git a/arch/i386/Makefile b/arch/i386/Makefile index 52b932478c6d..1bada3d878b7 100644 --- a/arch/i386/Makefile +++ b/arch/i386/Makefile | |||
@@ -61,36 +61,36 @@ AFLAGS += $(call as-instr,.cfi_startproc\n.cfi_signal_frame\n.cfi_endproc,-DCONF | |||
61 | CFLAGS += $(cflags-y) | 61 | CFLAGS += $(cflags-y) |
62 | 62 | ||
63 | # Default subarch .c files | 63 | # Default subarch .c files |
64 | mcore-y := mach-default | 64 | mcore-y := arch/i386/mach-default |
65 | 65 | ||
66 | # Voyager subarch support | 66 | # Voyager subarch support |
67 | mflags-$(CONFIG_X86_VOYAGER) := -Iinclude/asm-i386/mach-voyager | 67 | mflags-$(CONFIG_X86_VOYAGER) := -Iinclude/asm-i386/mach-voyager |
68 | mcore-$(CONFIG_X86_VOYAGER) := mach-voyager | 68 | mcore-$(CONFIG_X86_VOYAGER) := arch/i386/mach-voyager |
69 | 69 | ||
70 | # VISWS subarch support | 70 | # VISWS subarch support |
71 | mflags-$(CONFIG_X86_VISWS) := -Iinclude/asm-i386/mach-visws | 71 | mflags-$(CONFIG_X86_VISWS) := -Iinclude/asm-i386/mach-visws |
72 | mcore-$(CONFIG_X86_VISWS) := mach-visws | 72 | mcore-$(CONFIG_X86_VISWS) := arch/i386/mach-visws |
73 | 73 | ||
74 | # NUMAQ subarch support | 74 | # NUMAQ subarch support |
75 | mflags-$(CONFIG_X86_NUMAQ) := -Iinclude/asm-i386/mach-numaq | 75 | mflags-$(CONFIG_X86_NUMAQ) := -Iinclude/asm-i386/mach-numaq |
76 | mcore-$(CONFIG_X86_NUMAQ) := mach-default | 76 | mcore-$(CONFIG_X86_NUMAQ) := arch/i386/mach-default |
77 | 77 | ||
78 | # BIGSMP subarch support | 78 | # BIGSMP subarch support |
79 | mflags-$(CONFIG_X86_BIGSMP) := -Iinclude/asm-i386/mach-bigsmp | 79 | mflags-$(CONFIG_X86_BIGSMP) := -Iinclude/asm-i386/mach-bigsmp |
80 | mcore-$(CONFIG_X86_BIGSMP) := mach-default | 80 | mcore-$(CONFIG_X86_BIGSMP) := arch/i386/mach-default |
81 | 81 | ||
82 | #Summit subarch support | 82 | #Summit subarch support |
83 | mflags-$(CONFIG_X86_SUMMIT) := -Iinclude/asm-i386/mach-summit | 83 | mflags-$(CONFIG_X86_SUMMIT) := -Iinclude/asm-i386/mach-summit |
84 | mcore-$(CONFIG_X86_SUMMIT) := mach-default | 84 | mcore-$(CONFIG_X86_SUMMIT) := arch/i386/mach-default |
85 | 85 | ||
86 | # generic subarchitecture | 86 | # generic subarchitecture |
87 | mflags-$(CONFIG_X86_GENERICARCH) := -Iinclude/asm-i386/mach-generic | 87 | mflags-$(CONFIG_X86_GENERICARCH) := -Iinclude/asm-i386/mach-generic |
88 | mcore-$(CONFIG_X86_GENERICARCH) := mach-default | 88 | mcore-$(CONFIG_X86_GENERICARCH) := arch/i386/mach-default |
89 | core-$(CONFIG_X86_GENERICARCH) += arch/i386/mach-generic/ | 89 | core-$(CONFIG_X86_GENERICARCH) += arch/i386/mach-generic/ |
90 | 90 | ||
91 | # ES7000 subarch support | 91 | # ES7000 subarch support |
92 | mflags-$(CONFIG_X86_ES7000) := -Iinclude/asm-i386/mach-es7000 | 92 | mflags-$(CONFIG_X86_ES7000) := -Iinclude/asm-i386/mach-es7000 |
93 | mcore-$(CONFIG_X86_ES7000) := mach-default | 93 | mcore-$(CONFIG_X86_ES7000) := arch/i386/mach-default |
94 | core-$(CONFIG_X86_ES7000) := arch/i386/mach-es7000/ | 94 | core-$(CONFIG_X86_ES7000) := arch/i386/mach-es7000/ |
95 | 95 | ||
96 | # Xen paravirtualization support | 96 | # Xen paravirtualization support |
@@ -104,7 +104,7 @@ head-y := arch/i386/kernel/head.o arch/i386/kernel/init_task.o | |||
104 | libs-y += arch/i386/lib/ | 104 | libs-y += arch/i386/lib/ |
105 | core-y += arch/i386/kernel/ \ | 105 | core-y += arch/i386/kernel/ \ |
106 | arch/i386/mm/ \ | 106 | arch/i386/mm/ \ |
107 | arch/i386/$(mcore-y)/ \ | 107 | $(mcore-y)/ \ |
108 | arch/i386/crypto/ | 108 | arch/i386/crypto/ |
109 | drivers-$(CONFIG_MATH_EMULATION) += arch/i386/math-emu/ | 109 | drivers-$(CONFIG_MATH_EMULATION) += arch/i386/math-emu/ |
110 | drivers-$(CONFIG_PCI) += arch/i386/pci/ | 110 | drivers-$(CONFIG_PCI) += arch/i386/pci/ |
diff --git a/arch/i386/mach-generic/Makefile b/arch/i386/mach-generic/Makefile index 6914485c0d85..2f216f55b2dd 100644 --- a/arch/i386/mach-generic/Makefile +++ b/arch/i386/mach-generic/Makefile | |||
@@ -4,4 +4,5 @@ | |||
4 | 4 | ||
5 | EXTRA_CFLAGS := -Iarch/i386/kernel | 5 | EXTRA_CFLAGS := -Iarch/i386/kernel |
6 | 6 | ||
7 | obj-y := probe.o summit.o bigsmp.o es7000.o default.o ../mach-es7000/ | 7 | obj-y := probe.o summit.o bigsmp.o es7000.o default.o |
8 | obj-y += ../../i386/mach-es7000/ | ||