ia64/xen-unstable

view linux-2.6-xen-sparse/arch/x86_64/kernel/Makefile @ 14022:0a348e9ecedb

linux/x86: Advertise which page table entries contain MFNs and hence
need to be (un)canonicalized during save/restore.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author kfraser@localhost.localdomain
date Tue Feb 20 12:18:29 2007 +0000 (2007-02-20)
parents 3adf00179a63
children c371b6b26753
line source
1 #
2 # Makefile for the linux kernel.
3 #
5 extra-y := head.o head64.o init_task.o vmlinux.lds
6 EXTRA_AFLAGS := -traditional
7 obj-y := process.o signal.o entry.o traps.o irq.o \
8 ptrace.o time.o ioport.o ldt.o setup.o i8259.o sys_x86_64.o \
9 x8664_ksyms.o i387.o syscall.o vsyscall.o \
10 setup64.o bootflag.o e820.o reboot.o quirks.o i8237.o \
11 pci-dma.o pci-nommu.o alternative.o
13 obj-$(CONFIG_STACKTRACE) += stacktrace.o
14 obj-$(CONFIG_X86_MCE) += mce.o
15 obj-$(CONFIG_X86_MCE_INTEL) += mce_intel.o
16 obj-$(CONFIG_X86_MCE_AMD) += mce_amd.o
17 obj-$(CONFIG_MTRR) += ../../i386/kernel/cpu/mtrr/
18 obj-$(CONFIG_ACPI) += acpi/
19 obj-$(CONFIG_X86_MSR) += msr.o
20 obj-$(CONFIG_MICROCODE) += microcode.o
21 obj-$(CONFIG_X86_CPUID) += cpuid.o
22 obj-$(CONFIG_SMP) += smp.o smpboot.o trampoline.o
23 obj-$(CONFIG_X86_LOCAL_APIC) += apic.o nmi.o
24 obj-$(CONFIG_X86_XEN_GENAPIC) += genapic.o genapic_xen.o
25 obj-$(CONFIG_X86_IO_APIC) += io_apic.o mpparse.o \
26 genapic.o genapic_cluster.o genapic_flat.o
27 obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o crash.o
28 obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
29 obj-$(CONFIG_SOFTWARE_SUSPEND) += suspend.o
30 obj-$(CONFIG_ACPI_SLEEP) += suspend.o
31 obj-$(CONFIG_SOFTWARE_SUSPEND) += suspend_asm.o
32 obj-$(CONFIG_CPU_FREQ) += cpufreq/
33 obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
34 obj-$(CONFIG_IOMMU) += pci-gart.o aperture.o
35 obj-$(CONFIG_CALGARY_IOMMU) += pci-calgary.o tce.o
36 obj-$(CONFIG_SWIOTLB) += pci-swiotlb.o
37 obj-$(CONFIG_KPROBES) += kprobes.o
38 obj-$(CONFIG_X86_PM_TIMER) += pmtimer.o
39 obj-$(CONFIG_X86_VSMP) += vsmp.o
40 obj-$(CONFIG_K8_NB) += k8.o
41 obj-$(CONFIG_AUDIT) += audit.o
43 obj-$(CONFIG_MODULES) += module.o
45 obj-y += topology.o
46 obj-y += intel_cacheinfo.o
48 CFLAGS_vsyscall.o := $(PROFILING) -g0
50 bootflag-y += ../../i386/kernel/bootflag.o
51 cpuid-$(subst m,y,$(CONFIG_X86_CPUID)) += ../../i386/kernel/cpuid.o
52 topology-y += ../../i386/kernel/topology.o
53 microcode-$(subst m,y,$(CONFIG_MICROCODE)) += ../../i386/kernel/microcode.o
54 intel_cacheinfo-y += ../../i386/kernel/cpu/intel_cacheinfo.o
55 quirks-y += ../../i386/kernel/quirks.o
56 i8237-y += ../../i386/kernel/i8237.o
57 msr-$(subst m,y,$(CONFIG_X86_MSR)) += ../../i386/kernel/msr.o
58 alternative-y += ../../i386/kernel/alternative.o
60 ifdef CONFIG_XEN
61 time-y += ../../i386/kernel/time-xen.o
62 pci-dma-y += ../../i386/kernel/pci-dma-xen.o
63 microcode-$(subst m,y,$(CONFIG_MICROCODE)) := ../../i386/kernel/microcode-xen.o
64 intel_cacheinfo-y := ../../i386/kernel/cpu/intel_cacheinfo-xen.o
65 quirks-y := ../../i386/kernel/quirks-xen.o
66 alternative-y := ../../i386/kernel/alternative-xen.o
68 n-obj-xen := i8259.o reboot.o i8237.o smpboot.o trampoline.o
70 include $(srctree)/scripts/Makefile.xen
72 obj-y := $(call filterxen, $(obj-y), $(n-obj-xen))
73 obj-y := $(call cherrypickxen, $(obj-y))
74 extra-y := $(call cherrypickxen, $(extra-y))
75 %/head-xen.o %/head-xen.s: EXTRA_AFLAGS :=
76 endif