[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150506210428.7c399532@grimm.local.home>
Date: Wed, 6 May 2015 21:04:28 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Jiri Olsa <jolsa@...hat.com>
Cc: Wang Nan <wangnan0@...wei.com>, acme@...hat.com,
lizefan@...wei.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] tools lib traceevent: install libtraceevent.a into
libdir.
On Wed, 6 May 2015 22:29:15 +0200
Jiri Olsa <jolsa@...hat.com> wrote:
> On Wed, May 06, 2015 at 10:00:20AM +0000, Wang Nan wrote:
> > Before this patch, 'make install' installs libraries into bindir:
> >
> > $ make install DESTDIR=./tree
> > INSTALL trace_plugins
> > INSTALL libtraceevent.a
> > INSTALL libtraceevent.so
> > $ find ./tree
> > ./tree/
> > ./tree/usr
> > ./tree/usr/local
> > ./tree/usr/local/bin
> > ./tree/usr/local/bin/libtraceevent.a
> > ./tree/usr/local/bin/libtraceevent.so
> > ...
> >
> > /usr/local/lib( or lib64) should be a better place.
> >
> > This patch replaces 'bin' with libdir. For __LP64__ building, libraries
> > are installed to /usr/local/lib64. For other building, to
> > /usr/local/lib instead.
> >
> > After applying this patch:
> >
> > $ make install DESTDIR=./tree
> > INSTALL trace_plugins
> > INSTALL libtraceevent.a
> > INSTALL libtraceevent.so
> > $ find ./tree
> > ./tree
> > ./tree/usr
> > ./tree/usr/local
> > ./tree/usr/local/lib64
> > ./tree/usr/local/lib64/libtraceevent.a
> > ./tree/usr/local/lib64/traceevent
> > ./tree/usr/local/lib64/traceevent/plugins
> > ./tree/usr/local/lib64/traceevent/plugins/plugin_mac80211.so
> > ./tree/usr/local/lib64/traceevent/plugins/plugin_hrtimer.so
> > ...
> > ./tree/usr/local/lib64/libtraceevent.so
> >
> > Signed-off-by: Wang Nan <wangnan0@...wei.com>
>
> Acked-by: Jiri Olsa <jolsa@...nel.org>
>
> CC-ing Steven
>
Thanks, looks fine to me.
Acked-by: Steven Rostedt <rostedt@...dmis.org>
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists