linux_dsm_epyc7002/tools/lib/bpf
Jakub Kicinski 21567eded9 libbpf: fix Makefile exit code if libelf not found
/bin/sh's exit does not recognize -1 as a number, leading to
the following error message:

/bin/sh: 1: exit: Illegal number: -1

Use 1 as the exit code.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2017-12-17 20:40:29 +01:00
..
.gitignore tools lib bpf: Change FEATURE-DUMP to FEATURE-DUMP.libbpf 2015-11-05 12:47:51 -03:00
bpf.c libbpf: add support for BPF_PROG_QUERY 2017-10-04 16:05:05 -07:00
bpf.h libbpf: add support for bpf_call 2017-12-17 20:34:35 +01:00
Build bpf tools: Add bpf.c/h for common bpf operations 2015-08-07 10:16:58 -03:00
libbpf.c libbpf: add support for bpf_call 2017-12-17 20:34:35 +01:00
libbpf.h libbpf: use map_flags when creating maps 2017-10-05 21:42:28 -07:00
Makefile libbpf: fix Makefile exit code if libelf not found 2017-12-17 20:40:29 +01:00