Return-Path: Received: from mail-io0-f175.google.com ([209.85.223.175]:37951 "EHLO mail-io0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750897AbeCIHgN (ORCPT ); Fri, 9 Mar 2018 02:36:13 -0500 Received: by mail-io0-f175.google.com with SMTP id g21so2594164ioj.5 for ; Thu, 08 Mar 2018 23:36:13 -0800 (PST) Date: Thu, 8 Mar 2018 23:36:08 -0800 From: Jakub Kicinski To: Alexei Starovoitov Cc: Jiri Benc , Network Development , Alexei Starovoitov , Daniel Borkmann Subject: Re: [PATCH bpf-next 0/7] tools: bpf: standardize make Message-ID: <20180308233608.4e3ef4b5@cakuba.netronome.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 8 Mar 2018 21:10:59 -0800, Alexei Starovoitov wrote: > On Thu, Mar 8, 2018 at 2:00 PM, Jiri Benc wrote: > > Currently, 'make bpf' in the tools/ directory does not provide the standard > > quiet output except for bpftool (which is however listed with a wrong > > directory). Worse, it does not respect the build output directory. > > > > The 'make bpf_install' does not work as one would expect, either. It > > installs unconditionally to /usr/bin without respecting DESTDIR and prefix. > > > > This patchset improves that behavior. > > Jakub, > please review this set. > > Thanks! I stared at it for a while, and it looks good! Reviewed-by: Jakub Kicinski In addition I found a GCC 7 warning in bpftool, .PHONY lacks some targets and we don't clean up after feature detection. I'll send patches for that unless someone beats me to it.