Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750939AbdL3ANM (ORCPT ); Fri, 29 Dec 2017 19:13:12 -0500 Received: from www62.your-server.de ([213.133.104.62]:45469 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750854AbdL3ANL (ORCPT ); Fri, 29 Dec 2017 19:13:11 -0500 Subject: Re: [PATCH v3 bpf-next 1/2] tools/bpftool: use version from the kernel source tree To: Roman Gushchin , netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, Alexei Starovoitov References: <20171227191629.4920-1-guro@fb.com> From: Daniel Borkmann Message-ID: <58f993a7-742d-6732-d46b-d1aec257961f@iogearbox.net> Date: Sat, 30 Dec 2017 01:13:07 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171227191629.4920-1-guro@fb.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 481 Lines: 12 On 12/27/2017 08:16 PM, Roman Gushchin wrote: > Bpftool determines it's own version based on the kernel > version, which is picked from the linux/version.h header. > > It's strange to use the version of the installed kernel > headers, and makes much more sense to use the version > of the actual source tree, where bpftool sources are. > > Fix this by building kernelversion target and use > the resulting string as bpftool version. Series applied to bpf-next, thanks everyone!