cpupower: Add 'uninstall' targers for arch-related debug subprojects
cover cpupower: Add 'uninstall' targers for arch-related debug subprojects
This patch series adds 'uninstall' targets to the makefiles of 'debug/i386' and 'debug/x86_64' architecture-specifics debug subprojects
---
Roman Storozhenko (2):
cpupower: Add 'uninstall' target for 'debug/i386' subproject
cpupower: Add 'uninstall' target for 'debug/x86_64' subproject
tools/power/cpupower/debug/i386/Makefile | 8 +++++++- tools/power/cpupower/debug/x86_64/Makefile | 6 +++++- 2 files changed, 12 insertions(+), 2 deletions(-)
---
base-commit: 0fc4bfab2cd45f9acb86c4f04b5191e114e901ed
change-id: 20240625-add_uninstall-14246eeec69a
Best regards,
Signature · 1 line
Roman Storozhenko <[email protected]>
PATCH 1/2 cpupower: Add 'uninstall' target for 'debug/i386' subproject
Add 'uninstall' target for the 'debug/i386' subproject. The target removes binaries previously installed to the '${DESTDIR}${bindir}' dir.
--- tools/power/cpupower/debug/i386/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
tools/power/cpupower/debug/i386/Makefile +7 -1
@@ -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
Signature · 1 line
2.34.1
PATCH 2/2 cpupower: Add 'uninstall' target for 'debug/x86_64' subproject
In reply to Roman StorozhenkoAdd 'uninstall' target for the 'debug/x86_64' subproject. The target removes binaries previously installed to the '${DESTDIR}${bindir}' dir.
--- tools/power/cpupower/debug/x86_64/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
tools/power/cpupower/debug/x86_64/Makefile +5 -1
@@ -28,4 +28,8 @@ install: $(INSTALL) $(OUTPUT)centrino-decode $(DESTDIR)${bindir} $(INSTALL) $(OUTPUT)powernow-k8-decode $(DESTDIR)${bindir} -.PHONY: all default clean install +uninstall: + - rm -f $(DESTDIR)${bindir}/centrino-decode + - rm -f $(DESTDIR)${bindir}/powernow-k8-decode + +.PHONY: all default clean install uninstall
Signature · 1 line
2.34.1
Shuah Khan
maintainerQuoted 9 lines · Roman Storozhenko
This patch series adds 'uninstall' targets to the makefiles of 'debug/i386' and 'debug/x86_64' architecture-specifics debug subprojects
Signed-off-by Roman Storozhenko <[email protected]>---
Roman Storozhenko (2):
cpupower: Add 'uninstall' target for 'debug/i386' subproject
cpupower: Add 'uninstall' target for 'debug/x86_64' subproject
Quoted 8 lines
tools/power/cpupower/debug/i386/Makefile | 8 +++++++- tools/power/cpupower/debug/x86_64/Makefile | 6 +++++- 2 files changed, 12 insertions(+), 2 deletions(-)---
base-commit:0fc4bfab2cd45f9acb86c4f04b5191e114e901ed
change-id: 20240625-add_uninstall-14246eeec69aBest regards,
I am inclined to not take these as these are special case debug tools and modules for developers.
thanks,
-- Shuah