summary refs log tree commit diff
path: root/kernel
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2019-03-28 16:44:28 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2019-03-28 17:01:37 +0100
commit8543e437807970166c2b66b79935c9f4b0e6d1f9 (patch)
treeb336b4f1ec594682ce7ec71e9594dd7a5530b4c4 /kernel
parent89dedaef49d36adc2bb5e7e4c38b52fa3013c7c8 (diff)
downloadlinux-8543e437807970166c2b66b79935c9f4b0e6d1f9.tar.gz
bpf, libbpf: fix quiet install_headers
Both btf.h and xsk.h headers are not installed quietly due to
missing '\' for the call to QUIET_INSTALL. Lets fix it.

Before:

  # make install_headers
    INSTALL  headers
  if [ ! -d '''/usr/local/include/bpf' ]; then install -d -m 755 '''/usr/local/include/bpf'; fi; install btf.h -m 644 '''/usr/local/include/bpf';
  if [ ! -d '''/usr/local/include/bpf' ]; then install -d -m 755 '''/usr/local/include/bpf'; fi; install xsk.h -m 644 '''/usr/local/include/bpf';
  # ls /usr/local/include/bpf/
  bpf.h  btf.h  libbpf.h  xsk.h

After:

  # make install_headers
    INSTALL  headers
  # ls /usr/local/include/bpf/
  bpf.h  btf.h  libbpf.h  xsk.h

Fixes: a493f5f9d8c2 ("libbpf: Install btf.h with libbpf")
Fixes: 379e2014c95b ("libbpf: add xsk.h to install_headers target")
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions