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
10 all: acpidbg acpidump ec
11 clean: acpidbg_clean acpidump_clean ec_clean
12 install: acpidbg_install acpidump_install ec_install
13 uninstall: acpidbg_uninstall acpidump_uninstall ec_uninstall
15 acpidbg acpidump ec
: FORCE
16 $(call descend
,tools
/$@
,all)
17 acpidbg_clean acpidump_clean ec_clean
:
18 $(call descend
,tools
/$(@
:_clean
=),clean)
19 acpidbg_install acpidump_install ec_install
:
20 $(call descend
,tools
/$(@
:_install
=),install)
21 acpidbg_uninstall acpidump_uninstall ec_uninstall
:
22 $(call descend
,tools
/$(@
:_uninstall
=),uninstall)