forked from luck/tmp_suning_uos_patched
tools/turbostat: allow user to alter DESTDIR and PREFIX
When run make -C tools DESTDIR=/my/nice/dir turbostat_install get a message install: cannot create regular file '/usr/bin/turbostat': Permission denied Allow user to alter DESTDIR and PREFIX variables. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
4c2e07c6a2
commit
ac485cb4b3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user