From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: Zhengyuan Liu <liuzhengyuan@kylinos.cn>
Cc: linux-acpi@vger.kernel.org
Subject: Re: [PATCH v2] tools/acpi: fix compilation error
Date: Mon, 16 Dec 2019 12:24:57 +0100 [thread overview]
Message-ID: <3122906.rUR3b5QzkR@kreacher> (raw)
In-Reply-To: <20191213162712.6208-1-liuzhengyuan@kylinos.cn>
On Friday, December 13, 2019 5:27:12 PM CET Zhengyuan Liu wrote:
> If we compile tools/acpi target in the top source directory, we'd get a
> compilation error showing as bellow:
>
> # make tools/acpi
> DESCEND power/acpi
> DESCEND tools/acpidbg
> CC tools/acpidbg/acpidbg.o
> Assembler messages:
> Fatal error: can't create /home/lzy/kernel-upstream/power/acpi/\
> tools/acpidbg/acpidbg.o: No such file or directory
> ../../Makefile.rules:26: recipe for target '/home/lzy/kernel-upstream/\
> power/acpi/tools/acpidbg/acpidbg.o' failed
> make[3]: *** [/home/lzy/kernel-upstream//power/acpi/tools/acpidbg/\
> acpidbg.o] Error 1
> Makefile:19: recipe for target 'acpidbg' failed
> make[2]: *** [acpidbg] Error 2
> Makefile:54: recipe for target 'acpi' failed
> make[1]: *** [acpi] Error 2
> Makefile:1607: recipe for target 'tools/acpi' failed
> make: *** [tools/acpi] Error 2
>
> Fixes: d5a4b1a540b ("tools/power/acpi: Remove direct kernel source include reference")
> Signed-off-by: Zhengyuan Liu <liuzhengyuan@kylinos.cn>
> ---
> 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 0111d246d1ca..54a2857c2510 100644
> --- a/tools/power/acpi/Makefile.config
> +++ b/tools/power/acpi/Makefile.config
> @@ -15,7 +15,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))
>
>
Applying as 5.6 material, thanks!
prev parent reply other threads:[~2019-12-16 11:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-13 16:27 [PATCH v2] tools/acpi: fix compilation error Zhengyuan Liu
2019-12-16 11:24 ` Rafael J. Wysocki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3122906.rUR3b5QzkR@kreacher \
--to=rjw@rjwysocki.net \
--cc=linux-acpi@vger.kernel.org \
--cc=liuzhengyuan@kylinos.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox