2005-04-16 15:20:36 -07:00
|
|
|
#
|
|
|
|
# Makefile for the linux kernel.
|
|
|
|
#
|
|
|
|
|
|
|
|
extra-y := head.o head64.o init_task.o vmlinux.lds
|
|
|
|
EXTRA_AFLAGS := -traditional
|
2005-09-03 15:56:52 -07:00
|
|
|
obj-y := process.o signal.o entry.o traps.o irq.o \
|
2005-04-16 15:20:36 -07:00
|
|
|
ptrace.o time.o ioport.o ldt.o setup.o i8259.o sys_x86_64.o \
|
|
|
|
x8664_ksyms.o i387.o syscall.o vsyscall.o \
|
2006-01-11 14:43:33 -07:00
|
|
|
setup64.o bootflag.o e820.o reboot.o quirks.o i8237.o \
|
2007-05-02 10:27:20 -07:00
|
|
|
pci-dma.o pci-nommu.o alternative.o hpet.o tsc.o bugs.o \
|
|
|
|
perfctr-watchdog.o
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2006-07-03 00:24:40 -07:00
|
|
|
obj-$(CONFIG_STACKTRACE) += stacktrace.o
|
2006-09-26 01:52:42 -07:00
|
|
|
obj-$(CONFIG_X86_MCE) += mce.o therm_throt.o
|
2005-04-16 15:20:36 -07:00
|
|
|
obj-$(CONFIG_X86_MCE_INTEL) += mce_intel.o
|
2005-11-05 09:25:53 -07:00
|
|
|
obj-$(CONFIG_X86_MCE_AMD) += mce_amd.o
|
2005-04-16 15:20:36 -07:00
|
|
|
obj-$(CONFIG_MTRR) += ../../i386/kernel/cpu/mtrr/
|
2005-08-24 09:07:20 -07:00
|
|
|
obj-$(CONFIG_ACPI) += acpi/
|
2005-04-16 15:20:36 -07:00
|
|
|
obj-$(CONFIG_X86_MSR) += msr.o
|
|
|
|
obj-$(CONFIG_MICROCODE) += microcode.o
|
|
|
|
obj-$(CONFIG_X86_CPUID) += cpuid.o
|
2007-02-16 02:27:34 -07:00
|
|
|
obj-$(CONFIG_SMP) += smp.o smpboot.o trampoline.o tsc_sync.o
|
2006-09-26 01:52:29 -07:00
|
|
|
obj-y += apic.o nmi.o
|
2007-05-02 10:27:04 -07:00
|
|
|
obj-y += io_apic.o mpparse.o genapic.o genapic_flat.o
|
2005-06-25 14:58:02 -07:00
|
|
|
obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o crash.o
|
2006-01-09 21:51:50 -07:00
|
|
|
obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
|
2005-04-16 15:20:36 -07:00
|
|
|
obj-$(CONFIG_PM) += suspend.o
|
|
|
|
obj-$(CONFIG_SOFTWARE_SUSPEND) += suspend_asm.o
|
|
|
|
obj-$(CONFIG_CPU_FREQ) += cpufreq/
|
|
|
|
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
|
2006-06-26 04:57:22 -07:00
|
|
|
obj-$(CONFIG_IOMMU) += pci-gart.o aperture.o
|
2006-06-26 04:58:14 -07:00
|
|
|
obj-$(CONFIG_CALGARY_IOMMU) += pci-calgary.o tce.o
|
2006-01-11 14:44:42 -07:00
|
|
|
obj-$(CONFIG_SWIOTLB) += pci-swiotlb.o
|
x86, serial: convert legacy COM ports to platform devices
Make x86 COM ports into platform devices and don't probe for them
if we have PNP.
This prevents double discovery, where a device was found both by
the legacy probe and by 8250_pnp, e.g.,
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:02: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
This also means IRDA devices without a UART PNP ID will no longer be
claimed by the serial driver, which might require changes in IRDA
drivers and administration.
In addition to this patch, you may need to configure a setserial init
script, e.g., /etc/init.d/setserial, so it doesn't poke legacy UART
stuff back in. On Debian, "dpkg-reconfigure setserial" with the "kernel"
option does this.
To force the old legacy probe behavior even when we have PNPBIOS or
ACPI, load the new legacy_serial module (or build 8250 static) with
the "legacy_serial.force" option.
[akpm@linux-foundation.org: fix makefiles]
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Keith Owens <kaos@ocs.com.au>
Cc: Len Brown <lenb@kernel.org>
Cc: Adam Belay <ambx1@neo.rr.com>
Cc: Matthieu CASTET <castet.matthieu@free.fr>
Cc: Jean Tourrilhes <jt@hpl.hp.com>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Ville Syrjala <syrjala@sci.fi>
Cc: Russell King <rmk+serial@arm.linux.org.uk>
Cc: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-08 00:36:07 -07:00
|
|
|
obj-$(CONFIG_SERIAL_8250) += legacy_serial.o
|
2005-04-16 15:20:36 -07:00
|
|
|
obj-$(CONFIG_KPROBES) += kprobes.o
|
2005-05-16 21:53:28 -07:00
|
|
|
obj-$(CONFIG_X86_PM_TIMER) += pmtimer.o
|
2006-01-11 14:46:18 -07:00
|
|
|
obj-$(CONFIG_X86_VSMP) += vsmp.o
|
2006-06-26 04:56:40 -07:00
|
|
|
obj-$(CONFIG_K8_NB) += k8.o
|
2006-07-01 00:56:16 -07:00
|
|
|
obj-$(CONFIG_AUDIT) += audit.o
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
obj-$(CONFIG_MODULES) += module.o
|
2006-09-26 01:52:41 -07:00
|
|
|
obj-$(CONFIG_PCI) += early-quirks.o
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
obj-y += topology.o
|
|
|
|
obj-y += intel_cacheinfo.o
|
2007-07-11 12:18:32 -07:00
|
|
|
obj-y += addon_cpuid_features.o
|
2007-02-13 05:26:26 -07:00
|
|
|
obj-y += pcspeaker.o
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
CFLAGS_vsyscall.o := $(PROFILING) -g0
|
|
|
|
|
2006-09-26 01:52:42 -07:00
|
|
|
therm_throt-y += ../../i386/kernel/cpu/mcheck/therm_throt.o
|
2005-04-16 15:20:36 -07:00
|
|
|
bootflag-y += ../../i386/kernel/bootflag.o
|
x86, serial: convert legacy COM ports to platform devices
Make x86 COM ports into platform devices and don't probe for them
if we have PNP.
This prevents double discovery, where a device was found both by
the legacy probe and by 8250_pnp, e.g.,
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:02: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
This also means IRDA devices without a UART PNP ID will no longer be
claimed by the serial driver, which might require changes in IRDA
drivers and administration.
In addition to this patch, you may need to configure a setserial init
script, e.g., /etc/init.d/setserial, so it doesn't poke legacy UART
stuff back in. On Debian, "dpkg-reconfigure setserial" with the "kernel"
option does this.
To force the old legacy probe behavior even when we have PNPBIOS or
ACPI, load the new legacy_serial module (or build 8250 static) with
the "legacy_serial.force" option.
[akpm@linux-foundation.org: fix makefiles]
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Keith Owens <kaos@ocs.com.au>
Cc: Len Brown <lenb@kernel.org>
Cc: Adam Belay <ambx1@neo.rr.com>
Cc: Matthieu CASTET <castet.matthieu@free.fr>
Cc: Jean Tourrilhes <jt@hpl.hp.com>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Ville Syrjala <syrjala@sci.fi>
Cc: Russell King <rmk+serial@arm.linux.org.uk>
Cc: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-08 00:36:07 -07:00
|
|
|
legacy_serial-y += ../../i386/kernel/legacy_serial.o
|
2005-04-16 15:20:36 -07:00
|
|
|
cpuid-$(subst m,y,$(CONFIG_X86_CPUID)) += ../../i386/kernel/cpuid.o
|
2006-02-25 01:55:38 -07:00
|
|
|
topology-y += ../../i386/kernel/topology.o
|
2005-04-16 15:20:36 -07:00
|
|
|
microcode-$(subst m,y,$(CONFIG_MICROCODE)) += ../../i386/kernel/microcode.o
|
|
|
|
intel_cacheinfo-y += ../../i386/kernel/cpu/intel_cacheinfo.o
|
2007-07-11 12:18:32 -07:00
|
|
|
addon_cpuid_features-y += ../../i386/kernel/cpu/addon_cpuid_features.o
|
2005-04-16 15:20:36 -07:00
|
|
|
quirks-y += ../../i386/kernel/quirks.o
|
2005-09-03 15:56:55 -07:00
|
|
|
i8237-y += ../../i386/kernel/i8237.o
|
2005-09-12 09:49:24 -07:00
|
|
|
msr-$(subst m,y,$(CONFIG_X86_MSR)) += ../../i386/kernel/msr.o
|
2006-06-26 04:56:16 -07:00
|
|
|
alternative-y += ../../i386/kernel/alternative.o
|
2007-02-13 05:26:26 -07:00
|
|
|
pcspeaker-y += ../../i386/kernel/pcspeaker.o
|
2007-05-02 10:27:20 -07:00
|
|
|
perfctr-watchdog-y += ../../i386/kernel/cpu/perfctr-watchdog.o
|