Commit a0c4acc0 authored by Lv Zheng's avatar Lv Zheng Committed by Rafael J. Wysocki

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: default avatarLv Zheng <lv.zheng@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent f677b30b
...@@ -3,6 +3,7 @@ include scripts/Makefile.include ...@@ -3,6 +3,7 @@ include scripts/Makefile.include
help: help:
@echo 'Possible targets:' @echo 'Possible targets:'
@echo '' @echo ''
@echo ' acpi - ACPI tools'
@echo ' cgroup - cgroup tools' @echo ' cgroup - cgroup tools'
@echo ' cpupower - a tool for all things x86 CPU power' @echo ' cpupower - a tool for all things x86 CPU power'
@echo ' firewire - the userspace part of nosy, an IEEE-1394 traffic sniffer' @echo ' firewire - the userspace part of nosy, an IEEE-1394 traffic sniffer'
...@@ -33,6 +34,9 @@ help: ...@@ -33,6 +34,9 @@ help:
@echo ' the respective build directory.' @echo ' the respective build directory.'
@echo ' clean: a summary clean target to clean _all_ folders' @echo ' clean: a summary clean target to clean _all_ folders'
acpi: FORCE
$(call descend,power/$@)
cpupower: FORCE cpupower: FORCE
$(call descend,power/$@) $(call descend,power/$@)
...@@ -54,6 +58,9 @@ turbostat x86_energy_perf_policy: FORCE ...@@ -54,6 +58,9 @@ turbostat x86_energy_perf_policy: FORCE
tmon: FORCE tmon: FORCE
$(call descend,thermal/$@) $(call descend,thermal/$@)
acpi_install:
$(call descend,power/$(@:_install=),install)
cpupower_install: cpupower_install:
$(call descend,power/$(@:_install=),install) $(call descend,power/$(@:_install=),install)
...@@ -69,11 +76,14 @@ turbostat_install x86_energy_perf_policy_install: ...@@ -69,11 +76,14 @@ turbostat_install x86_energy_perf_policy_install:
tmon_install: tmon_install:
$(call descend,thermal/$(@:_install=),install) $(call descend,thermal/$(@:_install=),install)
install: cgroup_install cpupower_install firewire_install lguest_install \ install: acpi_install cgroup_install cpupower_install firewire_install lguest_install \
perf_install selftests_install turbostat_install usb_install \ perf_install selftests_install turbostat_install usb_install \
virtio_install vm_install net_install x86_energy_perf_policy_install \ virtio_install vm_install net_install x86_energy_perf_policy_install \
tmon tmon
acpi_clean:
$(call descend,power/acpi,clean)
cpupower_clean: cpupower_clean:
$(call descend,power/cpupower,clean) $(call descend,power/cpupower,clean)
...@@ -95,8 +105,8 @@ turbostat_clean x86_energy_perf_policy_clean: ...@@ -95,8 +105,8 @@ turbostat_clean x86_energy_perf_policy_clean:
tmon_clean: tmon_clean:
$(call descend,thermal/tmon,clean) $(call descend,thermal/tmon,clean)
clean: cgroup_clean cpupower_clean firewire_clean lguest_clean perf_clean \ clean: acpi_clean cgroup_clean cpupower_clean firewire_clean lguest_clean \
selftests_clean turbostat_clean usb_clean virtio_clean \ perf_clean selftests_clean turbostat_clean usb_clean virtio_clean \
vm_clean net_clean x86_energy_perf_policy_clean tmon_clean vm_clean net_clean x86_energy_perf_policy_clean tmon_clean
.PHONY: FORCE .PHONY: FORCE
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment