direct-io.hg

view linux-2.6-xen-sparse/arch/xen/x86_64/kernel/Makefile @ 6455:15d378281a0b

CONFIG_X86_PM_TIMER is a no-op option when building Linux
for Xen, but make sure it doesn't break the build.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Sat Aug 27 11:49:35 2005 +0000 (2005-08-27)
parents 9312a3e8a6f8
children a698bd49931b 287d36b46fa3 38312fe7ec38 f0dc15fd3c1b
line source
1 #
2 # Makefile for the linux kernel.
3 #
4 XENARCH := $(subst ",,$(CONFIG_XENARCH))
6 CFLAGS += -Iarch/$(XENARCH)/kernel
8 extra-y := head.o head64.o init_task.o
10 obj-y := process.o signal.o entry.o traps.o \
11 ioport.o ldt.o setup.o \
12 x8664_ksyms.o vsyscall.o \
13 setup64.o e820.o irq.o early_printk.o
14 c-obj-y := semaphore.o i387.o sys_x86_64.o \
15 ptrace.o quirks.o syscall.o bootflag.o
17 i386-obj-y := time.o
18 #obj-y += ../../i386/kernel/timers/
20 s-obj-y :=
22 #obj-$(CONFIG_X86_MCE) += mce.o
23 #obj-$(CONFIG_MTRR) += ../../i386/kernel/cpu/mtrr/
24 obj-$(CONFIG_ACPI_BOOT) += acpi/
25 c-obj-$(CONFIG_X86_MSR) += msr.o
26 obj-$(CONFIG_MICROCODE) += microcode.o
27 obj-$(CONFIG_X86_CPUID) += cpuid.o
28 obj-$(CONFIG_SMP) += smp.o smpboot.o
29 obj-$(CONFIG_X86_LOCAL_APIC) += apic.o
30 c-obj-$(CONFIG_X86_LOCAL_APIC) += nmi.o
31 obj-$(CONFIG_X86_IO_APIC) += io_apic.o mpparse.o
32 obj-$(CONFIG_X86_XEN_GENAPIC) += genapic.o genapic_xen.o
33 c-obj-$(CONFIG_X86_IO_APIC) += genapic_cluster.o genapic_flat.o
34 #obj-$(CONFIG_PM) += suspend.o
35 #obj-$(CONFIG_SOFTWARE_SUSPEND) += suspend_asm.o
36 #obj-$(CONFIG_CPU_FREQ) += cpufreq/
37 #obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
38 #obj-$(CONFIG_GART_IOMMU) += pci-gart.o aperture.o
39 obj-$(CONFIG_DUMMY_IOMMU) += pci-nommu.o
40 i386-obj-$(CONFIG_DUMMY_IOMMU) += pci-dma.o
41 i386-obj-$(CONFIG_SWIOTLB) += swiotlb.o
42 obj-$(CONFIG_KPROBES) += kprobes.o
43 #obj-$(CONFIG_X86_PM_TIMER) += pmtimer.o
45 c-obj-$(CONFIG_MODULES) += module.o
47 obj-y += topology.o
48 c-obj-y += intel_cacheinfo.o
50 bootflag-y += ../../../i386/kernel/bootflag.o
51 cpuid-$(subst m,y,$(CONFIG_X86_CPUID)) += ../../../i386/kernel/cpuid.o
52 topology-y += ../../../i386/mach-default/topology.o
53 #swiotlb-$(CONFIG_SWIOTLB) += ../../../ia64/lib/swiotlb.o
54 microcode-$(subst m,y,$(CONFIG_MICROCODE)) += ../../../i386/kernel/microcode.o
55 intel_cacheinfo-y += ../../../i386/kernel/cpu/intel_cacheinfo.o
56 quirks-y += ../../i386/kernel/quirks.o
58 c-link := init_task.o
59 s-link := vsyscall.o
61 $(patsubst %.o,$(obj)/%.c,$(c-obj-y) $(c-obj-m) $(c-link)) $(patsubst %.o,$(obj)/%.S,$(s-obj-y) $(s-link)):
62 @ln -fsn $(srctree)/arch/x86_64/kernel/$(notdir $@) $@
64 $(patsubst %.o,$(obj)/%.c,$(i386-obj-y)):
65 @ln -fsn $(srctree)/arch/xen/i386/kernel/$(notdir $@) $@
67 obj-y += $(c-obj-y) $(s-obj-y) $(i386-obj-y)
68 obj-m += $(c-obj-m)
70 clean-files += $(patsubst %.o,%.c,$(c-obj-y) $(c-obj-m) $(c-obj-) $(c-link) $(i386-obj-y))
71 clean-files += $(patsubst %.o,%.S,$(s-obj-y) $(s-obj-) $(s-link))