aboutsummaryrefslogtreecommitdiffstats
path: root/tools/power/acpi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/power/acpi/Makefile')
-rw-r--r--tools/power/acpi/Makefile26
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)
68WARNINGS += $(call cc-supports,-Wdeclaration-after-statement) 68WARNINGS += $(call cc-supports,-Wdeclaration-after-statement)
69 69
70KERNEL_INCLUDE := ../../../include 70KERNEL_INCLUDE := ../../../include
71CFLAGS += -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE) 71ACPICA_INCLUDE := ../../../drivers/acpi/acpica
72CFLAGS += -D_LINUX -I$(KERNEL_INCLUDE) -I$(ACPICA_INCLUDE)
72CFLAGS += $(WARNINGS) 73CFLAGS += $(WARNINGS)
73 74
74ifeq ($(strip $(V)),false) 75ifeq ($(strip $(V)),false)
@@ -101,10 +102,29 @@ endif
101# --- ACPIDUMP BEGIN --- 102# --- ACPIDUMP BEGIN ---
102 103
103vpath %.c \ 104vpath %.c \
104 tools/acpidump 105 ../../../drivers/acpi/acpica\
106 tools/acpidump\
107 common\
108 os_specific/service_layers
109
110CFLAGS += -DACPI_DUMP_APP -Itools/acpidump
105 111
106DUMP_OBJS = \ 112DUMP_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
109DUMP_OBJS := $(addprefix $(OUTPUT)tools/acpidump/,$(DUMP_OBJS)) 129DUMP_OBJS := $(addprefix $(OUTPUT)tools/acpidump/,$(DUMP_OBJS))
110 130