1 # SPDX-License-Identifier: GPL-2.0-only
2 # tools/power/acpi/Makefile - ACPI tool Makefile
4 # Copyright (c) 2013, Intel Corporation
5 # Author: Lv Zheng <lv.zheng@intel.com>
8 include ..
/..
/scripts
/Makefile.
include
12 all: acpidbg acpidump ec
13 clean: acpidbg_clean acpidump_clean ec_clean
14 install: acpidbg_install acpidump_install ec_install
15 uninstall: acpidbg_uninstall acpidump_uninstall ec_uninstall
17 acpidbg acpidump ec
: FORCE
18 $(call descend
,tools
/$@
,all)
19 acpidbg_clean acpidump_clean ec_clean
:
20 $(call descend
,tools
/$(@
:_clean
=),clean)
21 acpidbg_install acpidump_install ec_install
:
22 $(call descend
,tools
/$(@
:_install
=),install)
23 acpidbg_uninstall acpidump_uninstall ec_uninstall
:
24 $(call descend
,tools
/$(@
:_uninstall
=),uninstall)