[PATCH] tools/power/acpi: fix acpi power tool building error

From: winton.liu
Date: Fri Sep 01 2017 - 12:23:14 EST


When we tried to build acpi power tool, just like the following:
$make tools/acpi
... ...
can't create power/acpi/tools/acpidbg/acpidbg.o: No such file or directory
... ...

Root cause is that the 'tools' folder in the path
'power/acpi/tools/acpidbg/acpidbg.o' doesn't exist.

Signed-off-by: winton.liu <18502523564@xxxxxxx>
---
tools/power/acpi/Makefile.config | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/power/acpi/Makefile.config b/tools/power/acpi/Makefile.config
index a1883bb..fb5559f 100644
--- a/tools/power/acpi/Makefile.config
+++ b/tools/power/acpi/Makefile.config
@@ -18,7 +18,7 @@ include $(srctree)/../../scripts/Makefile.include

OUTPUT=$(srctree)/
ifeq ("$(origin O)", "command line")
- OUTPUT := $(O)/power/acpi/
+ OUTPUT := $(O)/tools/power/acpi/
endif
#$(info Determined 'OUTPUT' to be $(OUTPUT))

--
1.9.1