Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752136AbeAPXUh (ORCPT + 1 other); Tue, 16 Jan 2018 18:20:37 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44528 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751261AbeAPXUe (ORCPT ); Tue, 16 Jan 2018 18:20:34 -0500 Subject: [bpf-next PATCH 1/3] libbpf: install the header file libbpf.h From: Jesper Dangaard Brouer To: netdev@vger.kernel.org, Daniel Borkmann , Alexei Starovoitov , wangnan0@huawei.com Cc: jakub.kicinski@netronome.com, joe@ovn.org, linux-kernel@vger.kernel.org, acme@redhat.com, eric@regit.org, Jesper Dangaard Brouer , jolsa@redhat.com Date: Wed, 17 Jan 2018 00:20:30 +0100 Message-ID: <151614483021.20077.17855877863793215516.stgit@firesoul> In-Reply-To: <151614479780.20077.13317825346011334728.stgit@firesoul> References: <151614479780.20077.13317825346011334728.stgit@firesoul> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Tue, 16 Jan 2018 23:20:34 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: It seems like an oversight not to install the header file for libbpf, given the libbpf.so + libbpf.a files are installed. Signed-off-by: Jesper Dangaard Brouer --- tools/lib/bpf/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/lib/bpf/Makefile b/tools/lib/bpf/Makefile index 8ed43ae9db9b..54370654c708 100644 --- a/tools/lib/bpf/Makefile +++ b/tools/lib/bpf/Makefile @@ -192,7 +192,8 @@ install_lib: all_cmd install_headers: $(call QUIET_INSTALL, headers) \ - $(call do_install,bpf.h,$(prefix)/include/bpf,644) + $(call do_install,bpf.h,$(prefix)/include/bpf,644); \ + $(call do_install,libbpf.h,$(prefix)/include/bpf,644); install: install_lib