diff options
author | Dmitry Adamushko <dmitry.adamushko@gmail.com> | 2008-09-23 06:08:44 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-23 06:21:42 -0400 |
commit | 18dbc9160507dc7df998e00cd1dcd7889557307b (patch) | |
tree | 81262b57db5de63267762083a54a37558d8555f0 /arch/x86/kernel/Makefile | |
parent | a1c75cc5018f17ff6d80ce45a13435b1536f76db (diff) |
x86: moved microcode.c to microcode_intel.c
Combine both generic and arch-specific parts of microcode into a
single module (arch-specific parts are config-dependent).
Also while we are at it, move arch-specific parts from microcode.h
into their respective arch-specific .c files.
Signed-off-by: Dmitry Adamushko <dmitry.adamushko@gmail.com>
Cc: "Peter Oruba" <peter.oruba@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/Makefile')
-rw-r--r-- | arch/x86/kernel/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile index be454f348c3b..f891996f6849 100644 --- a/arch/x86/kernel/Makefile +++ b/arch/x86/kernel/Makefile | |||
@@ -51,9 +51,6 @@ obj-$(CONFIG_X86_BIOS_REBOOT) += reboot.o | |||
51 | obj-$(CONFIG_MCA) += mca_32.o | 51 | obj-$(CONFIG_MCA) += mca_32.o |
52 | obj-$(CONFIG_X86_MSR) += msr.o | 52 | obj-$(CONFIG_X86_MSR) += msr.o |
53 | obj-$(CONFIG_X86_CPUID) += cpuid.o | 53 | obj-$(CONFIG_X86_CPUID) += cpuid.o |
54 | obj-$(CONFIG_MICROCODE) += microcode.o | ||
55 | obj-$(CONFIG_MICROCODE_INTEL) += microcode_intel.o | ||
56 | obj-$(CONFIG_MICROCODE_AMD) += microcode_amd.o | ||
57 | obj-$(CONFIG_PCI) += early-quirks.o | 54 | obj-$(CONFIG_PCI) += early-quirks.o |
58 | apm-y := apm_32.o | 55 | apm-y := apm_32.o |
59 | obj-$(CONFIG_APM) += apm.o | 56 | obj-$(CONFIG_APM) += apm.o |
@@ -101,6 +98,11 @@ scx200-y += scx200_32.o | |||
101 | 98 | ||
102 | obj-$(CONFIG_OLPC) += olpc.o | 99 | obj-$(CONFIG_OLPC) += olpc.o |
103 | 100 | ||
101 | microcode-y := microcode_core.o | ||
102 | microcode-$(CONFIG_MICROCODE_INTEL) += microcode_intel.o | ||
103 | microcode-$(CONFIG_MICROCODE_AMD) += microcode_amd.o | ||
104 | obj-$(CONFIG_MICROCODE) += microcode.o | ||
105 | |||
104 | ### | 106 | ### |
105 | # 64 bit specific files | 107 | # 64 bit specific files |
106 | ifeq ($(CONFIG_X86_64),y) | 108 | ifeq ($(CONFIG_X86_64),y) |