linux/tools/power/acpi/Makefile
Lv Zheng 391fc234b5 tools/power/acpi: Add descend support in ACPI tools Makefile
This patch splits tools/power/acpi/Makefile to support descend compling for
ACPI tools. In this patch tools/ec related stuff is removed as it is
originally not enabled.

Also a missing .o (utnonansi.o) is added to the acpidump/Makefile.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2015-07-31 23:39:31 +02:00

28 lines
724 B
Makefile

# tools/power/acpi/Makefile - ACPI tool Makefile
#
# Copyright (c) 2013, Intel Corporation
# Author: Lv Zheng <lv.zheng@intel.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; version 2
# of the License.
include ../../scripts/Makefile.include
all: acpidump
clean: acpidump_clean
install: acpidump_install
uninstall: acpidump_uninstall
acpidump: FORCE
$(call descend,tools/$@,all)
acpidump_clean:
$(call descend,tools/$(@:_clean=),clean)
acpidump_install:
$(call descend,tools/$(@:_install=),install)
acpidump_uninstall:
$(call descend,tools/$(@:_uninstall=),uninstall)
.PHONY: FORCE