diff options
Diffstat (limited to 'drivers/acpi/Makefile')
-rw-r--r-- | drivers/acpi/Makefile | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile index 3c0c93300f12..5d23c13ac7d4 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. |