Commit f1660338 authored by Franck Bui-Huu's avatar Franck Bui-Huu Committed by Dominik Brodowski

cpupower tools: add install target to the debug tools' makefiles

Signed-off-by: default avatarFranck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent 7490ca1e
......@@ -3,6 +3,11 @@ ifeq ("$(origin O)", "command line")
OUTPUT := $(O)/
endif
DESTDIR =
bindir = /usr/bin
INSTALL = /usr/bin/install
default: all
......@@ -23,4 +28,11 @@ all: $(OUTPUT)centrino-decode $(OUTPUT)dump_psb $(OUTPUT)intel_gsic $(OUTPUT)pow
clean:
rm -rf $(OUTPUT){centrino-decode,dump_psb,intel_gsic,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}
$(INSTALL) $(OUTPUT)dump_psb $(DESTDIR)${bindir}
$(INSTALL) $(OUTPUT)intel_gsic $(DESTDIR)${bindir}
.PHONY: all default clean install
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment