From: Shuah Khan <skhan@linuxfoundation.org>
To: Roman Storozhenko <romeusmeister@gmail.com>,
Thomas Renninger <trenn@suse.com>, Shuah Khan <shuah@kernel.org>,
Javier Carrasco <javier.carrasco.cruz@gmail.com>
Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
Shuah Khan <skhan@linuxfoundation.org>
Subject: Re: [PATCH] cpupower: Add 'help' target to the main Makefile
Date: Fri, 14 Jun 2024 11:57:05 -0600 [thread overview]
Message-ID: <b3f78091-1931-4e2c-a2a1-2031b09e566d@linuxfoundation.org> (raw)
In-Reply-To: <20240614-make-help-v1-1-513118646b71@gmail.com>
On 6/14/24 01:56, Roman Storozhenko wrote:
> Add 'help' target descriding building and cleaning targets
> to the main Makefile
>
> Signed-off-by: Roman Storozhenko <romeusmeister@gmail.com>
> ---
> Make "cpupower" building process more user friendly by adding 'help'
> target to the main makefile. This target describes various build
> and cleaning options available to the user.
You could include the above in the change log.
> ---
> tools/power/cpupower/Makefile | 37 ++++++++++++++++++++++++++++++++++++-
> 1 file changed, 36 insertions(+), 1 deletion(-)
>
> diff --git a/tools/power/cpupower/Makefile b/tools/power/cpupower/Makefile
> index b53753dee02f..cd0225a312b4 100644
> --- a/tools/power/cpupower/Makefile
> +++ b/tools/power/cpupower/Makefile
> @@ -332,4 +332,39 @@ uninstall:
> rm -f $(DESTDIR)${localedir}/$$HLANG/LC_MESSAGES/cpupower.mo; \
> done;
>
> -.PHONY: all utils libcpupower update-po create-gmo install-lib install-tools install-man install-gmo install uninstall clean
> +help:
> + @echo 'Building targets:'
> + @echo ' all - Default target. Could be omitted. Put build artifacts'
> + @echo ' to "O" cmdline option dir (default: current dir)'
> + @echo ' install - Install previously built project files from the output'
> + @echo ' dir defined by "O" cmdline option (default: current dir)'
> + @echo ' to the install dir defined by "DESTDIR" cmdline or'
> + @echo ' Makefile config block option (default: "")'
> + @echo ' install-lib - Install previously built library binary from the output'
> + @echo ' dir defined by "O" cmdline option (default: current dir)'
> + @echo ' and library headers from "lib/" for userspace to the install'
> + @echo ' dir defined by "DESTDIR" cmdline (default: "")'
> + @echo ' install-tools - Install previously built "cpupower" util from the output'
> + @echo ' dir defined by "O" cmdline option (default: current dir) and'
> + @echo ' "cpupower-completion.sh" script from the src dir to the'
> + @echo ' install dir defined by "DESTDIR" cmdline or Makefile'
> + @echo ' config block option (default: "")'
> + @echo ' install-man - Install man pages from the "man" src subdir to the'
> + @echo ' install dir defined by "DESTDIR" cmdline or Makefile'
> + @echo ' config block option (default: "")'
> + @echo ' install-gmo - Install previously built language files from the output'
> + @echo ' dir defined by "O" cmdline option (default: current dir)'
> + @echo ' to the install dir defined by "DESTDIR" cmdline or Makefile'
> + @echo ' config block option (default: "")'
> + @echo ' install-bench - Install previously built "cpufreq-bench" util files from the'
> + @echo ' output dir defined by "O" cmdline option (default: current dir)'
> + @echo ' to the install dir defined by "DESTDIR" cmdline or Makefile'
> + @echo ' config block option (default: "")'
> + @echo ''
> + @echo 'Cleaning targets:'
> + @echo ' clean - Clean build artifacts from the dir defined by "O" cmdline'
> + @echo ' option (default: current dir)'
> + @echo ' uninstall - Remove previously installed files from the dir defined by "DESTDIR"'
> + @echo ' cmdline or Makefile config block option (default: "")'
> +
> +.PHONY: all utils libcpupower update-po create-gmo install-lib install-tools install-man install-gmo install uninstall clean help
>
> ---
> base-commit: 6906a84c482f098d31486df8dc98cead21cce2d0
> change-id: 20240613-make-help-14359a943e7b
>
> Best regards,
Something wrong in your process here. There shouldn't be
addition text at the end of the patch.
Use git-send email to send patches.
thanks,
-- Shuah
prev parent reply other threads:[~2024-06-14 17:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-14 7:56 Roman Storozhenko
2024-06-14 17:57 ` Shuah Khan [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=b3f78091-1931-4e2c-a2a1-2031b09e566d@linuxfoundation.org \
--to=skhan@linuxfoundation.org \
--cc=javier.carrasco.cruz@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=romeusmeister@gmail.com \
--cc=shuah@kernel.org \
--cc=trenn@suse.com \
/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
all inboxes | Powered by JetHome®