diff options
Diffstat (limited to 'tools/power/acpi/Makefile')
-rw-r--r-- | tools/power/acpi/Makefile | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/tools/power/acpi/Makefile b/tools/power/acpi/Makefile index d9186a2fdf06..98625fa2baf1 100644 --- a/tools/power/acpi/Makefile +++ b/tools/power/acpi/Makefile | |||
@@ -68,7 +68,8 @@ WARNINGS += $(call cc-supports,-Wstrict-prototypes) | |||
68 | WARNINGS += $(call cc-supports,-Wdeclaration-after-statement) | 68 | WARNINGS += $(call cc-supports,-Wdeclaration-after-statement) |
69 | 69 | ||
70 | KERNEL_INCLUDE := ../../../include | 70 | KERNEL_INCLUDE := ../../../include |
71 | CFLAGS += -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE) | 71 | ACPICA_INCLUDE := ../../../drivers/acpi/acpica |
72 | CFLAGS += -D_LINUX -I$(KERNEL_INCLUDE) -I$(ACPICA_INCLUDE) | ||
72 | CFLAGS += $(WARNINGS) | 73 | CFLAGS += $(WARNINGS) |
73 | 74 | ||
74 | ifeq ($(strip $(V)),false) | 75 | ifeq ($(strip $(V)),false) |
@@ -101,10 +102,29 @@ endif | |||
101 | # --- ACPIDUMP BEGIN --- | 102 | # --- ACPIDUMP BEGIN --- |
102 | 103 | ||
103 | vpath %.c \ | 104 | vpath %.c \ |
104 | tools/acpidump | 105 | ../../../drivers/acpi/acpica\ |
106 | tools/acpidump\ | ||
107 | common\ | ||
108 | os_specific/service_layers | ||
109 | |||
110 | CFLAGS += -DACPI_DUMP_APP -Itools/acpidump | ||
105 | 111 | ||
106 | DUMP_OBJS = \ | 112 | DUMP_OBJS = \ |
107 | acpidump.o | 113 | apdump.o\ |
114 | apfiles.o\ | ||
115 | apmain.o\ | ||
116 | osunixdir.o\ | ||
117 | osunixmap.o\ | ||
118 | tbprint.o\ | ||
119 | tbxfroot.o\ | ||
120 | utbuffer.o\ | ||
121 | utexcep.o\ | ||
122 | utmath.o\ | ||
123 | utstring.o\ | ||
124 | utxferror.o\ | ||
125 | oslinuxtbl.o\ | ||
126 | cmfsize.o\ | ||
127 | getopt.o | ||
108 | 128 | ||
109 | DUMP_OBJS := $(addprefix $(OUTPUT)tools/acpidump/,$(DUMP_OBJS)) | 129 | DUMP_OBJS := $(addprefix $(OUTPUT)tools/acpidump/,$(DUMP_OBJS)) |
110 | 130 | ||