diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:15:24 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:15:24 -0400 |
commit | a7a67e0e2db47cb8cfa2c550aaedf168b8275cce (patch) | |
tree | 5ed7c0021f919c7ba2afbe00aa994d7a26048fd2 /arch | |
parent | 46b4c119b4b67dfab3f1e644d6f8bdbf28f18411 (diff) |
x86_64: prepare shared kernel/Makefile
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86_64/kernel/Makefile | 68 | ||||
-rw-r--r-- | arch/x86_64/kernel/Makefile_64 | 63 |
2 files changed, 68 insertions, 63 deletions
diff --git a/arch/x86_64/kernel/Makefile b/arch/x86_64/kernel/Makefile index 8253617af12e..d3ebd1699826 100644 --- a/arch/x86_64/kernel/Makefile +++ b/arch/x86_64/kernel/Makefile | |||
@@ -1,63 +1,5 @@ | |||
1 | # | 1 | ifeq ($(CONFIG_X86_32),y) |
2 | # Makefile for the linux kernel. | 2 | include ${srctree}/arch/i386/kernel/Makefile_32 |
3 | # | 3 | else |
4 | 4 | include ${srctree}/arch/x86_64/kernel/Makefile_64 | |
5 | extra-y := head_64.o head64.o init_task_64.o vmlinux.lds | 5 | endif |
6 | EXTRA_AFLAGS := -traditional | ||
7 | obj-y := process_64.o signal_64.o entry_64.o traps_64.o irq_64.o \ | ||
8 | ptrace_64.o time_64.o ioport_64.o ldt_64.o setup_64.o i8259_64.o sys_x86_64.o \ | ||
9 | x8664_ksyms_64.o i387_64.o syscall_64.o vsyscall_64.o \ | ||
10 | setup64.o bootflag.o e820_64.o reboot_64.o quirks.o i8237.o \ | ||
11 | pci-dma_64.o pci-nommu_64.o alternative.o hpet_64.o tsc_64.o bugs_64.o \ | ||
12 | perfctr-watchdog.o | ||
13 | |||
14 | obj-$(CONFIG_STACKTRACE) += stacktrace.o | ||
15 | obj-$(CONFIG_X86_MCE) += mce_64.o therm_throt.o | ||
16 | obj-$(CONFIG_X86_MCE_INTEL) += mce_intel_64.o | ||
17 | obj-$(CONFIG_X86_MCE_AMD) += mce_amd_64.o | ||
18 | obj-$(CONFIG_MTRR) += ../../i386/kernel/cpu/mtrr/ | ||
19 | obj-$(CONFIG_ACPI) += acpi/ | ||
20 | obj-$(CONFIG_X86_MSR) += msr.o | ||
21 | obj-$(CONFIG_MICROCODE) += microcode.o | ||
22 | obj-$(CONFIG_X86_CPUID) += cpuid.o | ||
23 | obj-$(CONFIG_SMP) += smp_64.o smpboot_64.o trampoline_64.o tsc_sync.o | ||
24 | obj-y += apic_64.o nmi_64.o | ||
25 | obj-y += io_apic_64.o mpparse_64.o genapic_64.o genapic_flat_64.o | ||
26 | obj-$(CONFIG_KEXEC) += machine_kexec_64.o relocate_kernel_64.o crash_64.o | ||
27 | obj-$(CONFIG_CRASH_DUMP) += crash_dump_64.o | ||
28 | obj-$(CONFIG_PM) += suspend_64.o | ||
29 | obj-$(CONFIG_HIBERNATION) += suspend_asm_64.o | ||
30 | obj-$(CONFIG_CPU_FREQ) += ../../i386/kernel/cpu/cpufreq/ | ||
31 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o | ||
32 | obj-$(CONFIG_IOMMU) += pci-gart_64.o aperture_64.o | ||
33 | obj-$(CONFIG_CALGARY_IOMMU) += pci-calgary_64.o tce_64.o | ||
34 | obj-$(CONFIG_SWIOTLB) += pci-swiotlb_64.o | ||
35 | obj-$(CONFIG_KPROBES) += kprobes_64.o | ||
36 | obj-$(CONFIG_X86_PM_TIMER) += pmtimer_64.o | ||
37 | obj-$(CONFIG_X86_VSMP) += vsmp_64.o | ||
38 | obj-$(CONFIG_K8_NB) += k8.o | ||
39 | obj-$(CONFIG_AUDIT) += audit_64.o | ||
40 | |||
41 | obj-$(CONFIG_MODULES) += module_64.o | ||
42 | obj-$(CONFIG_PCI) += early-quirks_64.o | ||
43 | |||
44 | obj-y += topology.o | ||
45 | obj-y += intel_cacheinfo.o | ||
46 | obj-y += addon_cpuid_features.o | ||
47 | obj-y += pcspeaker.o | ||
48 | |||
49 | CFLAGS_vsyscall_64.o := $(PROFILING) -g0 | ||
50 | |||
51 | therm_throt-y += ../../i386/kernel/cpu/mcheck/therm_throt.o | ||
52 | bootflag-y += ../../i386/kernel/bootflag.o | ||
53 | cpuid-$(subst m,y,$(CONFIG_X86_CPUID)) += ../../i386/kernel/cpuid.o | ||
54 | topology-y += ../../i386/kernel/topology.o | ||
55 | microcode-$(subst m,y,$(CONFIG_MICROCODE)) += ../../i386/kernel/microcode.o | ||
56 | intel_cacheinfo-y += ../../i386/kernel/cpu/intel_cacheinfo.o | ||
57 | addon_cpuid_features-y += ../../i386/kernel/cpu/addon_cpuid_features.o | ||
58 | quirks-y += ../../i386/kernel/quirks.o | ||
59 | i8237-y += ../../i386/kernel/i8237.o | ||
60 | msr-$(subst m,y,$(CONFIG_X86_MSR)) += ../../i386/kernel/msr.o | ||
61 | alternative-y += ../../i386/kernel/alternative.o | ||
62 | pcspeaker-y += ../../i386/kernel/pcspeaker.o | ||
63 | perfctr-watchdog-y += ../../i386/kernel/cpu/perfctr-watchdog.o | ||
diff --git a/arch/x86_64/kernel/Makefile_64 b/arch/x86_64/kernel/Makefile_64 new file mode 100644 index 000000000000..8253617af12e --- /dev/null +++ b/arch/x86_64/kernel/Makefile_64 | |||
@@ -0,0 +1,63 @@ | |||
1 | # | ||
2 | # Makefile for the linux kernel. | ||
3 | # | ||
4 | |||
5 | extra-y := head_64.o head64.o init_task_64.o vmlinux.lds | ||
6 | EXTRA_AFLAGS := -traditional | ||
7 | obj-y := process_64.o signal_64.o entry_64.o traps_64.o irq_64.o \ | ||
8 | ptrace_64.o time_64.o ioport_64.o ldt_64.o setup_64.o i8259_64.o sys_x86_64.o \ | ||
9 | x8664_ksyms_64.o i387_64.o syscall_64.o vsyscall_64.o \ | ||
10 | setup64.o bootflag.o e820_64.o reboot_64.o quirks.o i8237.o \ | ||
11 | pci-dma_64.o pci-nommu_64.o alternative.o hpet_64.o tsc_64.o bugs_64.o \ | ||
12 | perfctr-watchdog.o | ||
13 | |||
14 | obj-$(CONFIG_STACKTRACE) += stacktrace.o | ||
15 | obj-$(CONFIG_X86_MCE) += mce_64.o therm_throt.o | ||
16 | obj-$(CONFIG_X86_MCE_INTEL) += mce_intel_64.o | ||
17 | obj-$(CONFIG_X86_MCE_AMD) += mce_amd_64.o | ||
18 | obj-$(CONFIG_MTRR) += ../../i386/kernel/cpu/mtrr/ | ||
19 | obj-$(CONFIG_ACPI) += acpi/ | ||
20 | obj-$(CONFIG_X86_MSR) += msr.o | ||
21 | obj-$(CONFIG_MICROCODE) += microcode.o | ||
22 | obj-$(CONFIG_X86_CPUID) += cpuid.o | ||
23 | obj-$(CONFIG_SMP) += smp_64.o smpboot_64.o trampoline_64.o tsc_sync.o | ||
24 | obj-y += apic_64.o nmi_64.o | ||
25 | obj-y += io_apic_64.o mpparse_64.o genapic_64.o genapic_flat_64.o | ||
26 | obj-$(CONFIG_KEXEC) += machine_kexec_64.o relocate_kernel_64.o crash_64.o | ||
27 | obj-$(CONFIG_CRASH_DUMP) += crash_dump_64.o | ||
28 | obj-$(CONFIG_PM) += suspend_64.o | ||
29 | obj-$(CONFIG_HIBERNATION) += suspend_asm_64.o | ||
30 | obj-$(CONFIG_CPU_FREQ) += ../../i386/kernel/cpu/cpufreq/ | ||
31 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o | ||
32 | obj-$(CONFIG_IOMMU) += pci-gart_64.o aperture_64.o | ||
33 | obj-$(CONFIG_CALGARY_IOMMU) += pci-calgary_64.o tce_64.o | ||
34 | obj-$(CONFIG_SWIOTLB) += pci-swiotlb_64.o | ||
35 | obj-$(CONFIG_KPROBES) += kprobes_64.o | ||
36 | obj-$(CONFIG_X86_PM_TIMER) += pmtimer_64.o | ||
37 | obj-$(CONFIG_X86_VSMP) += vsmp_64.o | ||
38 | obj-$(CONFIG_K8_NB) += k8.o | ||
39 | obj-$(CONFIG_AUDIT) += audit_64.o | ||
40 | |||
41 | obj-$(CONFIG_MODULES) += module_64.o | ||
42 | obj-$(CONFIG_PCI) += early-quirks_64.o | ||
43 | |||
44 | obj-y += topology.o | ||
45 | obj-y += intel_cacheinfo.o | ||
46 | obj-y += addon_cpuid_features.o | ||
47 | obj-y += pcspeaker.o | ||
48 | |||
49 | CFLAGS_vsyscall_64.o := $(PROFILING) -g0 | ||
50 | |||
51 | therm_throt-y += ../../i386/kernel/cpu/mcheck/therm_throt.o | ||
52 | bootflag-y += ../../i386/kernel/bootflag.o | ||
53 | cpuid-$(subst m,y,$(CONFIG_X86_CPUID)) += ../../i386/kernel/cpuid.o | ||
54 | topology-y += ../../i386/kernel/topology.o | ||
55 | microcode-$(subst m,y,$(CONFIG_MICROCODE)) += ../../i386/kernel/microcode.o | ||
56 | intel_cacheinfo-y += ../../i386/kernel/cpu/intel_cacheinfo.o | ||
57 | addon_cpuid_features-y += ../../i386/kernel/cpu/addon_cpuid_features.o | ||
58 | quirks-y += ../../i386/kernel/quirks.o | ||
59 | i8237-y += ../../i386/kernel/i8237.o | ||
60 | msr-$(subst m,y,$(CONFIG_X86_MSR)) += ../../i386/kernel/msr.o | ||
61 | alternative-y += ../../i386/kernel/alternative.o | ||
62 | pcspeaker-y += ../../i386/kernel/pcspeaker.o | ||
63 | perfctr-watchdog-y += ../../i386/kernel/cpu/perfctr-watchdog.o | ||