libbpf: fix Makefile exit code if libelf not found
authorJakub Kicinski <jakub.kicinski@netronome.com>
Sat, 16 Dec 2017 00:19:30 +0000 (16:19 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Sun, 17 Dec 2017 19:40:29 +0000 (20:40 +0100)
commit21567eded9805acbf69807671eb94d3536f797d0
tree618699b17b25df3fbd9006d3a78ef92b78223748
parentef9fde06a259f5da660ada63214addf8cd86a7b9
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>
tools/lib/bpf/Makefile