From: Roman Storozhenko <romeusmeister@gmail.com>
To: Thomas Renninger <trenn@suse.com>, Shuah Khan <shuah@kernel.org>
Cc: linux-pm@vger.kernel.org,
Javier Carrasco <javier.carrasco.cruz@gmail.com>,
linux-kernel@vger.kernel.org,
Roman Storozhenko <romeusmeister@gmail.com>
Subject: [PATCH 1/2] cpupower: Add 'uninstall' target for 'debug/i386' subproject
Date: Tue, 25 Jun 2024 20:53:55 +0200 [thread overview]
Message-ID: <20240625-add_uninstall-v1-1-ab031bbd98e6@gmail.com> (raw)
In-Reply-To: <20240625-add_uninstall-v1-0-ab031bbd98e6@gmail.com>
Add 'uninstall' target for the 'debug/i386' subproject.
The target removes binaries previously installed to the
'${DESTDIR}${bindir}' dir.
Signed-off-by: Roman Storozhenko <romeusmeister@gmail.com>
---
tools/power/cpupower/debug/i386/Makefile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/tools/power/cpupower/debug/i386/Makefile b/tools/power/cpupower/debug/i386/Makefile
index b3f771039b17..355f44dafa00 100644
--- a/tools/power/cpupower/debug/i386/Makefile
+++ b/tools/power/cpupower/debug/i386/Makefile
@@ -39,4 +39,10 @@ install:
$(INSTALL) $(OUTPUT)dump_psb $(DESTDIR)${bindir}
$(INSTALL) $(OUTPUT)intel_gsic $(DESTDIR)${bindir}
-.PHONY: all default clean install
+uninstall:
+ - rm -f $(DESTDIR)${bindir}/centrino-decode
+ - rm -f $(DESTDIR)${bindir}/powernow-k8-decode
+ - rm -f $(DESTDIR)${bindir}/dump_psb
+ - rm -f $(DESTDIR)${bindir}/intel_gsic
+
+.PHONY: all default clean install uninstall
--
2.34.1
next prev parent reply other threads:[~2024-06-25 18:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-25 18:53 [PATCH 0/2] cpupower: Add 'uninstall' targers for arch-related debug subprojects Roman Storozhenko
2024-06-25 18:53 ` Roman Storozhenko [this message]
2024-06-25 18:53 ` [PATCH 2/2] cpupower: Add 'uninstall' target for 'debug/x86_64' subproject Roman Storozhenko
2024-06-28 21:49 ` [PATCH 0/2] cpupower: Add 'uninstall' targers for arch-related debug subprojects Shuah Khan
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=20240625-add_uninstall-v1-1-ab031bbd98e6@gmail.com \
--to=romeusmeister@gmail.com \
--cc=javier.carrasco.cruz@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--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®