]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Fix bash reference in Makefile
authorJoe Stringer <joe@wand.net.nz>
Thu, 10 May 2018 22:26:51 +0000 (15:26 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 10 May 2018 23:32:07 +0000 (01:32 +0200)
commitbf344f83d8cab462ebc5b8fc15778e2a0fa2537c
treeba1af82cbe6a05a8756c623b5f30cffc37f2dbd5
parent5cd1dbcb33cefd424eb8d0c2af313dbd14a16e51
selftests/bpf: Fix bash reference in Makefile

'|& ...' is a bash 4.0+ construct which is not guaranteed to be available
when using '$(shell ...)' in a Makefile. Fall back to the more portable
'2>&1 | ...'.

Fixes the following warning during compilation:

/bin/sh: 1: Syntax error: "&" unexpected

Signed-off-by: Joe Stringer <joe@wand.net.nz>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/Makefile