aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2014-01-14 23:04:17 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-01-15 19:50:31 -0500
commita0c4acc09e381112e7a4cea3aad9ba001907665e (patch)
treede2446d5622a73dc405dcda48f5bcc925ef41bd2 /tools
parentf677b30b487ca3763c3de3f1b4d8c976c2961cd1 (diff)
ACPICA: acpidump: Enable tools Makefile to include acpi tools.
This patch enables ACPI tool build in the tools/Makefile, so that the ACPI tools can be built/cleaned/installed along with other tools. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/tools/Makefile b/tools/Makefile
index a9b02008443c..ecdc2f84953b 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -3,6 +3,7 @@ include scripts/Makefile.include
3help: 3help:
4 @echo 'Possible targets:' 4 @echo 'Possible targets:'
5 @echo '' 5 @echo ''
6 @echo ' acpi - ACPI tools'
6 @echo ' cgroup - cgroup tools' 7 @echo ' cgroup - cgroup tools'
7 @echo ' cpupower - a tool for all things x86 CPU power' 8 @echo ' cpupower - a tool for all things x86 CPU power'
8 @echo ' firewire - the userspace part of nosy, an IEEE-1394 traffic sniffer' 9 @echo ' firewire - the userspace part of nosy, an IEEE-1394 traffic sniffer'
@@ -33,6 +34,9 @@ help:
33 @echo ' the respective build directory.' 34 @echo ' the respective build directory.'
34 @echo ' clean: a summary clean target to clean _all_ folders' 35 @echo ' clean: a summary clean target to clean _all_ folders'
35 36
37acpi: FORCE
38 $(call descend,power/$@)
39
36cpupower: FORCE 40cpupower: FORCE
37 $(call descend,power/$@) 41 $(call descend,power/$@)
38 42
@@ -54,6 +58,9 @@ turbostat x86_energy_perf_policy: FORCE
54tmon: FORCE 58tmon: FORCE
55 $(call descend,thermal/$@) 59 $(call descend,thermal/$@)
56 60
61acpi_install:
62 $(call descend,power/$(@:_install=),install)
63
57cpupower_install: 64cpupower_install:
58 $(call descend,power/$(@:_install=),install) 65 $(call descend,power/$(@:_install=),install)
59 66
@@ -69,11 +76,14 @@ turbostat_install x86_energy_perf_policy_install:
69tmon_install: 76tmon_install:
70 $(call descend,thermal/$(@:_install=),install) 77 $(call descend,thermal/$(@:_install=),install)
71 78
72install: cgroup_install cpupower_install firewire_install lguest_install \ 79install: acpi_install cgroup_install cpupower_install firewire_install lguest_install \
73 perf_install selftests_install turbostat_install usb_install \ 80 perf_install selftests_install turbostat_install usb_install \
74 virtio_install vm_install net_install x86_energy_perf_policy_install \ 81 virtio_install vm_install net_install x86_energy_perf_policy_install \
75 tmon 82 tmon
76 83
84acpi_clean:
85 $(call descend,power/acpi,clean)
86
77cpupower_clean: 87cpupower_clean:
78 $(call descend,power/cpupower,clean) 88 $(call descend,power/cpupower,clean)
79 89
@@ -95,8 +105,8 @@ turbostat_clean x86_energy_perf_policy_clean:
95tmon_clean: 105tmon_clean:
96 $(call descend,thermal/tmon,clean) 106 $(call descend,thermal/tmon,clean)
97 107
98clean: cgroup_clean cpupower_clean firewire_clean lguest_clean perf_clean \ 108clean: acpi_clean cgroup_clean cpupower_clean firewire_clean lguest_clean \
99 selftests_clean turbostat_clean usb_clean virtio_clean \ 109 perf_clean selftests_clean turbostat_clean usb_clean virtio_clean \
100 vm_clean net_clean x86_energy_perf_policy_clean tmon_clean 110 vm_clean net_clean x86_energy_perf_policy_clean tmon_clean
101 111
102.PHONY: FORCE 112.PHONY: FORCE