diff options
author | Lv Zheng <lv.zheng@intel.com> | 2014-01-14 23:04:17 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-01-15 19:50:31 -0500 |
commit | a0c4acc09e381112e7a4cea3aad9ba001907665e (patch) | |
tree | de2446d5622a73dc405dcda48f5bcc925ef41bd2 /tools | |
parent | f677b30b487ca3763c3de3f1b4d8c976c2961cd1 (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/Makefile | 16 |
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 | |||
3 | help: | 3 | help: |
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 | ||
37 | acpi: FORCE | ||
38 | $(call descend,power/$@) | ||
39 | |||
36 | cpupower: FORCE | 40 | cpupower: FORCE |
37 | $(call descend,power/$@) | 41 | $(call descend,power/$@) |
38 | 42 | ||
@@ -54,6 +58,9 @@ turbostat x86_energy_perf_policy: FORCE | |||
54 | tmon: FORCE | 58 | tmon: FORCE |
55 | $(call descend,thermal/$@) | 59 | $(call descend,thermal/$@) |
56 | 60 | ||
61 | acpi_install: | ||
62 | $(call descend,power/$(@:_install=),install) | ||
63 | |||
57 | cpupower_install: | 64 | cpupower_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: | |||
69 | tmon_install: | 76 | tmon_install: |
70 | $(call descend,thermal/$(@:_install=),install) | 77 | $(call descend,thermal/$(@:_install=),install) |
71 | 78 | ||
72 | install: cgroup_install cpupower_install firewire_install lguest_install \ | 79 | install: 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 | ||
84 | acpi_clean: | ||
85 | $(call descend,power/acpi,clean) | ||
86 | |||
77 | cpupower_clean: | 87 | cpupower_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: | |||
95 | tmon_clean: | 105 | tmon_clean: |
96 | $(call descend,thermal/tmon,clean) | 106 | $(call descend,thermal/tmon,clean) |
97 | 107 | ||
98 | clean: cgroup_clean cpupower_clean firewire_clean lguest_clean perf_clean \ | 108 | clean: 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 |