Commit | Line | Data |
---|---|---|
f677b30b LZ |
1 | # 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 | ||
391fc234 LZ |
11 | include ../../scripts/Makefile.include |
12 | ||
4305cd02 LZ |
13 | all: acpidump ec |
14 | clean: acpidump_clean ec_clean | |
15 | install: acpidump_install ec_install | |
16 | uninstall: acpidump_uninstall ec_uninstall | |
391fc234 | 17 | |
4305cd02 | 18 | acpidump ec: FORCE |
391fc234 | 19 | $(call descend,tools/$@,all) |
4305cd02 | 20 | acpidump_clean ec_clean: |
391fc234 | 21 | $(call descend,tools/$(@:_clean=),clean) |
4305cd02 | 22 | acpidump_install ec_install: |
391fc234 | 23 | $(call descend,tools/$(@:_install=),install) |
4305cd02 | 24 | acpidump_uninstall ec_uninstall: |
391fc234 LZ |
25 | $(call descend,tools/$(@:_uninstall=),uninstall) |
26 | ||
27 | .PHONY: FORCE |