mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jesper Dangaard Brouer <brouer@redhat.com>
To: netdev@vger.kernel.org, Daniel Borkmann <borkmann@iogearbox.net>,
	Alexei Starovoitov <alexei.starovoitov@gmail.com>,
	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 <brouer@redhat.com>,
	jolsa@redhat.com
Subject: [bpf-next PATCH 1/3] libbpf: install the header file libbpf.h
Date: Wed, 17 Jan 2018 00:20:30 +0100	[thread overview]
Message-ID: <151614483021.20077.17855877863793215516.stgit@firesoul> (raw)
In-Reply-To: <151614479780.20077.13317825346011334728.stgit@firesoul>

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 <brouer@redhat.com>
---
 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
 

  reply	other threads:[~2018-01-16 23:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-16 23:20 [bpf-next PATCH 0/3] libbpf: cleanups to Makefile Jesper Dangaard Brouer
2018-01-16 23:20 ` Jesper Dangaard Brouer [this message]
2018-01-16 23:20 ` [bpf-next PATCH 2/3] libbpf: cleanup Makefile, remove unused elements Jesper Dangaard Brouer
2018-01-16 23:20 ` [bpf-next PATCH 3/3] libbpf: Makefile set specified permission mode Jesper Dangaard Brouer
2018-01-17  1:04 ` [bpf-next PATCH 0/3] libbpf: cleanups to Makefile Daniel Borkmann

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=151614483021.20077.17855877863793215516.stgit@firesoul \
    --to=brouer@redhat.com \
    --cc=acme@redhat.com \
    --cc=alexei.starovoitov@gmail.com \
    --cc=borkmann@iogearbox.net \
    --cc=eric@regit.org \
    --cc=jakub.kicinski@netronome.com \
    --cc=joe@ovn.org \
    --cc=jolsa@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --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®