]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - tools/power/x86/turbostat/Makefile
tools/turbostat: allow user to alter DESTDIR and PREFIX
[karo-tx-linux.git] / tools / power / x86 / turbostat / Makefile
index e367b1a85d70b3e0b7d82c5766d83a31ce006d2a..8561e7ddca59e7ce4267f08039a8105df2771645 100644 (file)
@@ -1,7 +1,7 @@
 CC             = $(CROSS_COMPILE)gcc
 BUILD_OUTPUT   := $(CURDIR)
-PREFIX         := /usr
-DESTDIR                :=
+PREFIX         ?= /usr
+DESTDIR                ?=
 
 ifeq ("$(origin O)", "command line")
        BUILD_OUTPUT := $(O)