module: turn longs into ints for module sizes
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / acpi / Makefile
blob52a4cd4b81d0735e916f4ab6ce037265106c27d5
2 # Makefile for the Linux ACPI interpreter
5 export ACPI_CFLAGS
7 ACPI_CFLAGS := -Os
9 ifdef CONFIG_ACPI_DEBUG
10 ACPI_CFLAGS += -DACPI_DEBUG_OUTPUT
11 endif
13 EXTRA_CFLAGS += $(ACPI_CFLAGS)
16 # ACPI Boot-Time Table Parsing
18 obj-y += tables.o
19 obj-$(CONFIG_X86) += blacklist.o
22 # ACPI Core Subsystem (Interpreter)
24 obj-y += osl.o utils.o reboot.o\
25 dispatcher/ events/ executer/ hardware/ \
26 namespace/ parser/ resources/ tables/ \
27 utilities/
30 # ACPI Bus and Device Drivers
32 processor-objs += processor_core.o processor_throttling.o \
33 processor_idle.o processor_thermal.o
34 ifdef CONFIG_CPU_FREQ
35 processor-objs += processor_perflib.o
36 endif
38 obj-y += sleep/
39 obj-y += bus.o glue.o
40 obj-y += scan.o
41 # Keep EC driver first. Initialization of others depend on it.
42 obj-$(CONFIG_ACPI_EC) += ec.o
43 obj-$(CONFIG_ACPI_AC) += ac.o
44 obj-$(CONFIG_ACPI_BATTERY) += battery.o
45 obj-$(CONFIG_ACPI_BUTTON) += button.o
46 obj-$(CONFIG_ACPI_FAN) += fan.o
47 obj-$(CONFIG_ACPI_DOCK) += dock.o
48 obj-$(CONFIG_ACPI_BAY) += bay.o
49 obj-$(CONFIG_ACPI_VIDEO) += video.o
50 obj-y += pci_root.o pci_link.o pci_irq.o pci_bind.o
51 obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
52 obj-$(CONFIG_ACPI_POWER) += power.o
53 obj-$(CONFIG_ACPI_PROCESSOR) += processor.o
54 obj-$(CONFIG_ACPI_CONTAINER) += container.o
55 obj-$(CONFIG_ACPI_THERMAL) += thermal.o
56 obj-$(CONFIG_ACPI_SYSTEM) += system.o event.o
57 obj-$(CONFIG_ACPI_DEBUG) += debug.o
58 obj-$(CONFIG_ACPI_NUMA) += numa.o
59 obj-$(CONFIG_ACPI_WMI) += wmi.o
60 obj-$(CONFIG_ACPI_ASUS) += asus_acpi.o
61 obj-$(CONFIG_ACPI_TOSHIBA) += toshiba_acpi.o
62 obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o
63 obj-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o
64 obj-$(CONFIG_ACPI_SBS) += sbshc.o
65 obj-$(CONFIG_ACPI_SBS) += sbs.o