From f16603386b38c28979f4df1cafdc2fe73fa87d37 Mon Sep 17 00:00:00 2001 From: Franck Bui-Huu Date: Tue, 7 Feb 2012 17:15:57 +0100 Subject: cpupower tools: add install target to the debug tools' makefiles Signed-off-by: Franck Bui-Huu Signed-off-by: Dominik Brodowski --- tools/power/cpupower/debug/x86_64/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'tools/power/cpupower/debug/x86_64/Makefile') diff --git a/tools/power/cpupower/debug/x86_64/Makefile b/tools/power/cpupower/debug/x86_64/Makefile index 8e26d67525cd..1c5214526716 100644 --- a/tools/power/cpupower/debug/x86_64/Makefile +++ b/tools/power/cpupower/debug/x86_64/Makefile @@ -3,6 +3,11 @@ ifeq ("$(origin O)", "command line") OUTPUT := $(O)/ endif +DESTDIR = +bindir = /usr/bin + +INSTALL = /usr/bin/install + default: all @@ -17,4 +22,9 @@ all: $(OUTPUT)centrino-decode $(OUTPUT)powernow-k8-decode clean: rm -rf $(OUTPUT)centrino-decode $(OUTPUT)powernow-k8-decode -.PHONY: all default clean +install: + $(INSTALL) -d $(DESTDIR)${bindir} + $(INSTALL) $(OUTPUT)centrino-decode $(DESTDIR)${bindir} + $(INSTALL) $(OUTPUT)powernow-k8-decode $(DESTDIR)${bindir} + +.PHONY: all default clean install -- cgit v1.2.3-59-g8ed1b