Move source tree closer to the 2.6.32.17 mainline
/tools/perf/Makefile
blob:7e190d522cd5848123b0d98220e6555fd3e70c69 -> blob:719d0283c9f383f565ad087aa5b7fb919ec57338
--- tools/perf/Makefile
+++ tools/perf/Makefile
@@ -218,7 +218,10 @@ STRIP ?= strip
# runtime figures out where they are based on the path to the executable.
# This can help installing the suite in a relocatable way.
+# Make the path relative to DESTDIR, not to prefix
+ifndef DESTDIR
prefix = $(HOME)
+endif
bindir_relative = bin
bindir = $(prefix)/$(bindir_relative)
mandir = share/man
@@ -235,7 +238,6 @@ sysconfdir = $(prefix)/etc
ETC_PERFCONFIG = etc/perfconfig
endif
lib = lib
-# DESTDIR=
export prefix bindir sharedir sysconfdir