Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753309AbbERO2X (ORCPT ); Mon, 18 May 2015 10:28:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58617 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751392AbbERO2V (ORCPT ); Mon, 18 May 2015 10:28:21 -0400 Date: Mon, 18 May 2015 16:28:12 +0200 From: Jiri Olsa To: Wang Nan Cc: paulus@samba.org, a.p.zijlstra@chello.nl, mingo@redhat.com, acme@kernel.org, namhyung@kernel.org, jolsa@kernel.org, dsahern@gmail.com, ast@plumgrid.com, daniel@iogearbox.net, brendan.d.gregg@gmail.com, masami.hiramatsu.pt@hitachi.com, lizefan@huawei.com, linux-kernel@vger.kernel.org, pi3orama@163.com Subject: Re: [RFC PATCH v3 03/37] tools lib traceevent: Install libtraceevent.a into libdir Message-ID: <20150518142812.GA528@krava.redhat.com> References: <1431860222-61636-1-git-send-email-wangnan0@huawei.com> <1431860222-61636-4-git-send-email-wangnan0@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1431860222-61636-4-git-send-email-wangnan0@huawei.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1693 Lines: 55 On Sun, May 17, 2015 at 10:56:28AM +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 I've already Ack-ed this one http://marc.info/?l=linux-kernel&m=143094417302353&w=2 and so did Steven http://marc.info/?l=linux-kernel&m=143096066606455&w=2 jirka -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/