summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/microcode/Makefile
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2013-12-01 18:09:58 +0100
committerBorislav Petkov <bp@suse.de>2014-01-13 20:00:12 +0100
commitbad5fa631fca5466401cd4a48e30cc1f1cb6101e (patch)
tree6049920eea5810bbd38f417f1313fa35f5a0679d /arch/x86/kernel/cpu/microcode/Makefile
parent5335ba5cf475369f88db8e6835764efdcad8ab96 (diff)
x86, microcode: Move to a proper location
We've grown a bunch of microcode loader files all prefixed with "microcode_". They should be under cpu/ because this is strictly CPU-related functionality so do that and drop the prefix since they're in their own directory now which gives that prefix. :) While at it, drop MICROCODE_INTEL_LIB config item and stash the functionality under CONFIG_MICROCODE_INTEL as it was its only user. Signed-off-by: Borislav Petkov <bp@suse.de> Tested-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Diffstat (limited to 'arch/x86/kernel/cpu/microcode/Makefile')
-rw-r--r--arch/x86/kernel/cpu/microcode/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/microcode/Makefile b/arch/x86/kernel/cpu/microcode/Makefile
new file mode 100644
index 000000000000..285c85427c32
--- /dev/null
+++ b/arch/x86/kernel/cpu/microcode/Makefile
@@ -0,0 +1,7 @@
+microcode-y := core.o
+obj-$(CONFIG_MICROCODE) += microcode.o
+microcode-$(CONFIG_MICROCODE_INTEL) += intel.o intel_lib.o
+microcode-$(CONFIG_MICROCODE_AMD) += amd.o
+obj-$(CONFIG_MICROCODE_EARLY) += core_early.o
+obj-$(CONFIG_MICROCODE_INTEL_EARLY) += intel_early.o
+obj-$(CONFIG_MICROCODE_AMD_EARLY) += amd_early.o