blob: e882c832013558bc252963742f97afe21273e1e8 [file] [log] [blame]
Lv Zhengf677b302014-01-15 12:04:09 +08001# tools/power/acpi/Makefile - ACPI tool Makefile
2#
3# Copyright (c) 2013, Intel Corporation
4# Author: Lv Zheng <lv.zheng@intel.com>
5#
6# This program is free software; you can redistribute it and/or
7# modify it under the terms of the GNU General Public License
8# as published by the Free Software Foundation; version 2
9# of the License.
10
Lv Zheng391fc232015-07-28 13:25:25 +080011include ../../scripts/Makefile.include
Lv Zhengf677b302014-01-15 12:04:09 +080012
Lv Zheng4305cd02015-07-28 13:25:32 +080013all: acpidump ec
14clean: acpidump_clean ec_clean
15install: acpidump_install ec_install
16uninstall: acpidump_uninstall ec_uninstall
Lv Zhengf677b302014-01-15 12:04:09 +080017
Lv Zheng4305cd02015-07-28 13:25:32 +080018acpidump ec: FORCE
Lv Zheng391fc232015-07-28 13:25:25 +080019 $(call descend,tools/$@,all)
Lv Zheng4305cd02015-07-28 13:25:32 +080020acpidump_clean ec_clean:
Lv Zheng391fc232015-07-28 13:25:25 +080021 $(call descend,tools/$(@:_clean=),clean)
Lv Zheng4305cd02015-07-28 13:25:32 +080022acpidump_install ec_install:
Lv Zheng391fc232015-07-28 13:25:25 +080023 $(call descend,tools/$(@:_install=),install)
Lv Zheng4305cd02015-07-28 13:25:32 +080024acpidump_uninstall ec_uninstall:
Lv Zheng391fc232015-07-28 13:25:25 +080025 $(call descend,tools/$(@:_uninstall=),uninstall)
Thomas Renningerd7cddbb2014-04-07 15:16:57 +020026
Lv Zheng391fc232015-07-28 13:25:25 +080027.PHONY: FORCE