diff options
Diffstat (limited to 'drivers/acpi/Makefile')
-rw-r--r-- | drivers/acpi/Makefile | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile index 3c0c93300f12..d80f4cc2e0da 100644 --- a/drivers/acpi/Makefile +++ b/drivers/acpi/Makefile | |||
@@ -2,15 +2,8 @@ | |||
2 | # Makefile for the Linux ACPI interpreter | 2 | # Makefile for the Linux ACPI interpreter |
3 | # | 3 | # |
4 | 4 | ||
5 | export ACPI_CFLAGS | 5 | ccflags-y := -Os |
6 | 6 | ccflags-$(CONFIG_ACPI_DEBUG) += -DACPI_DEBUG_OUTPUT | |
7 | ACPI_CFLAGS := -Os | ||
8 | |||
9 | ifdef CONFIG_ACPI_DEBUG | ||
10 | ACPI_CFLAGS += -DACPI_DEBUG_OUTPUT | ||
11 | endif | ||
12 | |||
13 | EXTRA_CFLAGS += $(ACPI_CFLAGS) | ||
14 | 7 | ||
15 | # | 8 | # |
16 | # ACPI Boot-Time Table Parsing | 9 | # ACPI Boot-Time Table Parsing |
@@ -22,9 +15,13 @@ obj-$(CONFIG_X86) += blacklist.o | |||
22 | # ACPI Core Subsystem (Interpreter) | 15 | # ACPI Core Subsystem (Interpreter) |
23 | # | 16 | # |
24 | obj-y += osl.o utils.o reboot.o\ | 17 | obj-y += osl.o utils.o reboot.o\ |
25 | dispatcher/ events/ executer/ hardware/ \ | 18 | acpica/ |
26 | namespace/ parser/ resources/ tables/ \ | 19 | |
27 | utilities/ | 20 | # sleep related files |
21 | obj-y += wakeup.o | ||
22 | obj-y += main.o | ||
23 | obj-$(CONFIG_ACPI_SLEEP) += proc.o | ||
24 | |||
28 | 25 | ||
29 | # | 26 | # |
30 | # ACPI Bus and Device Drivers | 27 | # ACPI Bus and Device Drivers |
@@ -35,7 +32,6 @@ ifdef CONFIG_CPU_FREQ | |||
35 | processor-objs += processor_perflib.o | 32 | processor-objs += processor_perflib.o |
36 | endif | 33 | endif |
37 | 34 | ||
38 | obj-y += sleep/ | ||
39 | obj-y += bus.o glue.o | 35 | obj-y += bus.o glue.o |
40 | obj-y += scan.o | 36 | obj-y += scan.o |
41 | # Keep EC driver first. Initialization of others depend on it. | 37 | # Keep EC driver first. Initialization of others depend on it. |
@@ -59,9 +55,6 @@ obj-y += power.o | |||
59 | obj-$(CONFIG_ACPI_SYSTEM) += system.o event.o | 55 | obj-$(CONFIG_ACPI_SYSTEM) += system.o event.o |
60 | obj-$(CONFIG_ACPI_DEBUG) += debug.o | 56 | obj-$(CONFIG_ACPI_DEBUG) += debug.o |
61 | obj-$(CONFIG_ACPI_NUMA) += numa.o | 57 | obj-$(CONFIG_ACPI_NUMA) += numa.o |
62 | obj-$(CONFIG_ACPI_WMI) += wmi.o | ||
63 | obj-$(CONFIG_ACPI_ASUS) += asus_acpi.o | ||
64 | obj-$(CONFIG_ACPI_TOSHIBA) += toshiba_acpi.o | ||
65 | obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o | 58 | obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o |
66 | obj-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o | 59 | obj-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o |
67 | obj-$(CONFIG_ACPI_SBS) += sbshc.o | 60 | obj-$(CONFIG_ACPI_SBS) += sbshc.o |