]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Fix traceevent plugin path definitions
authorJosh Boyer <jwboyer@fedoraproject.org>
Wed, 22 Jan 2014 15:01:48 +0000 (10:01 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 23 Jan 2014 18:48:12 +0000 (15:48 -0300)
commit54327fe9def603e76bf6600ad1fa16aae634c991
tree0c93edc535a9c2d67adb471746813b0565c01500
parentacfc79c3dda091030e2f4b514377eb51d42006f4
perf tools: Fix traceevent plugin path definitions

The plugindir_SQ definition contains $(prefix) which is not needed as
the $(libdir) definition already contains prefix in it.  This leads to
the path including an extra prefix in it, e.g. /usr/usr/lib64.

The -DPLUGIN_DIR defintion includes DESTDIR.  This is incorrect, as it
sets the plugin search path to include the value of DESTDIR.  DESTDIR is
a mechanism to install in a non-standard location such as a chroot or an
RPM build root.  In the RPM case, this leads to the search path being
incorrect after the resulting RPM is installed (or in some cases an RPM
build failure).

Remove both of these unnecessary inclusions.

Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/20140122150147.GK16455@hansolo.jdub.homelinux.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/Makefile
tools/perf/config/Makefile