diff options
Diffstat (limited to 'arch/x86/Makefile')
-rw-r--r-- | arch/x86/Makefile | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/x86/Makefile b/arch/x86/Makefile index ab48ab497e5a..1836191839ee 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile | |||
@@ -105,29 +105,6 @@ KBUILD_CFLAGS += -fno-asynchronous-unwind-tables | |||
105 | # prevent gcc from generating any FP code by mistake | 105 | # prevent gcc from generating any FP code by mistake |
106 | KBUILD_CFLAGS += $(call cc-option,-mno-sse -mno-mmx -mno-sse2 -mno-3dnow,) | 106 | KBUILD_CFLAGS += $(call cc-option,-mno-sse -mno-mmx -mno-sse2 -mno-3dnow,) |
107 | 107 | ||
108 | ### | ||
109 | # Sub architecture support | ||
110 | # fcore-y is linked before mcore-y files. | ||
111 | |||
112 | # Default subarch .c files | ||
113 | mcore-y := arch/x86/mach-default/ | ||
114 | |||
115 | # Voyager subarch support | ||
116 | mflags-$(CONFIG_X86_VOYAGER) := -Iarch/x86/include/asm/mach-voyager | ||
117 | mcore-$(CONFIG_X86_VOYAGER) := arch/x86/mach-voyager/ | ||
118 | |||
119 | # generic subarchitecture | ||
120 | mflags-$(CONFIG_X86_GENERICARCH):= -Iarch/x86/include/asm/mach-generic | ||
121 | fcore-$(CONFIG_X86_GENERICARCH) += arch/x86/mach-generic/ | ||
122 | mcore-$(CONFIG_X86_GENERICARCH) := arch/x86/mach-default/ | ||
123 | |||
124 | # default subarch .h files | ||
125 | mflags-y += -Iarch/x86/include/asm/mach-default | ||
126 | |||
127 | # 64 bit does not support subarch support - clear sub arch variables | ||
128 | fcore-$(CONFIG_X86_64) := | ||
129 | mcore-$(CONFIG_X86_64) := | ||
130 | |||
131 | KBUILD_CFLAGS += $(mflags-y) | 108 | KBUILD_CFLAGS += $(mflags-y) |
132 | KBUILD_AFLAGS += $(mflags-y) | 109 | KBUILD_AFLAGS += $(mflags-y) |
133 | 110 | ||
@@ -153,9 +130,6 @@ core-$(CONFIG_LGUEST_GUEST) += arch/x86/lguest/ | |||
153 | core-y += arch/x86/kernel/ | 130 | core-y += arch/x86/kernel/ |
154 | core-y += arch/x86/mm/ | 131 | core-y += arch/x86/mm/ |
155 | 132 | ||
156 | # Remaining sub architecture files | ||
157 | core-y += $(mcore-y) | ||
158 | |||
159 | core-y += arch/x86/crypto/ | 133 | core-y += arch/x86/crypto/ |
160 | core-y += arch/x86/vdso/ | 134 | core-y += arch/x86/vdso/ |
161 | core-$(CONFIG_IA32_EMULATION) += arch/x86/ia32/ | 135 | core-$(CONFIG_IA32_EMULATION) += arch/x86/ia32/ |