mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Jiri Olsa <jolsa@redhat.com>
Cc: Wang Nan <wangnan0@huawei.com>,
	acme@redhat.com, lizefan@huawei.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] tools lib traceevent: install libtraceevent.a into libdir.
Date: Wed, 6 May 2015 21:04:28 -0400	[thread overview]
Message-ID: <20150506210428.7c399532@grimm.local.home> (raw)
In-Reply-To: <20150506202915.GC15184@krava.redhat.com>

On Wed, 6 May 2015 22:29:15 +0200
Jiri Olsa <jolsa@redhat.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@huawei.com>
> 
> Acked-by: Jiri Olsa <jolsa@kernel.org>
> 
> CC-ing Steven
> 

Thanks, looks fine to me.

Acked-by: Steven Rostedt <rostedt@goodmis.org>

-- Steve

      parent reply	other threads:[~2015-05-07  1:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-05  2:25 [PATCH] " Wang Nan
2015-05-06  7:07 ` Jiri Olsa
2015-05-06 10:00   ` [PATCH v2] " Wang Nan
2015-05-06 20:29     ` Jiri Olsa
2015-05-06 21:23       ` Arnaldo Carvalho de Melo
2015-05-07  1:04       ` Steven Rostedt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150506210428.7c399532@grimm.local.home \
    --to=rostedt@goodmis.org \
    --cc=acme@redhat.com \
    --cc=jolsa@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizefan@huawei.com \
    --cc=wangnan0@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®