x86: prepare consolidation of cpu/ related Makefiles

Prepare the makefiles in x86/kernel/cpu and x86/kernel/cpu/mcheck to
be used by the x86_64 build as well.

No code change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

+17 -14
+12 -12
arch/x86/kernel/cpu/Makefile
··· 2 # Makefile for x86-compatible CPU details and quirks 3 # 4 5 - obj-y := common.o proc.o bugs.o 6 7 - obj-y += amd.o 8 - obj-y += cyrix.o 9 - obj-y += centaur.o 10 - obj-y += transmeta.o 11 - obj-y += intel.o intel_cacheinfo.o addon_cpuid_features.o 12 - obj-y += nexgen.o 13 - obj-y += umc.o 14 15 - obj-$(CONFIG_X86_MCE) += mcheck/ 16 - 17 - obj-$(CONFIG_MTRR) += mtrr/ 18 - obj-$(CONFIG_CPU_FREQ) += cpufreq/ 19 20 obj-$(CONFIG_X86_LOCAL_APIC) += perfctr-watchdog.o
··· 2 # Makefile for x86-compatible CPU details and quirks 3 # 4 5 + obj-y := intel_cacheinfo.o addon_cpuid_features.o 6 7 + obj-$(CONFIG_X86_32) += common.o proc.o bugs.o 8 + obj-$(CONFIG_X86_32) += amd.o 9 + obj-$(CONFIG_X86_32) += cyrix.o 10 + obj-$(CONFIG_X86_32) += centaur.o 11 + obj-$(CONFIG_X86_32) += transmeta.o 12 + obj-$(CONFIG_X86_32) += intel.o 13 + obj-$(CONFIG_X86_32) += nexgen.o 14 + obj-$(CONFIG_X86_32) += umc.o 15 16 + obj-$(CONFIG_X86_MCE) += mcheck/ 17 + obj-$(CONFIG_MTRR) += mtrr/ 18 + obj-$(CONFIG_CPU_FREQ) += cpufreq/ 19 20 obj-$(CONFIG_X86_LOCAL_APIC) += perfctr-watchdog.o
+5 -2
arch/x86/kernel/cpu/mcheck/Makefile
··· 1 - obj-y = mce.o k7.o p4.o p5.o p6.o winchip.o therm_throt.o 2 - obj-$(CONFIG_X86_MCE_NONFATAL) += non-fatal.o
··· 1 + obj-$(CONFIG_X86_32) = mce.o k7.o p4.o p5.o p6.o winchip.o 2 + obj-$(CONFIG_X86_MCE_NONFATAL) += non-fatal.o 3 + 4 + # shared between i386 and x86_64 5 + obj-y += therm_throt.o