]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: fix Makefile for passing LLC to the command line
authorQuentin Monnet <quentin.monnet@netronome.com>
Thu, 21 Dec 2017 16:52:50 +0000 (08:52 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 21 Dec 2017 23:54:31 +0000 (00:54 +0100)
commitf3e558da52ab346b8b719d8c8b97e777bd3f8cb7
tree1dbad15fa9fe957e5995ce1529f030e726641d4c
parent41af488c7c339a06fff54977bd1b42e61fb4198c
selftests/bpf: fix Makefile for passing LLC to the command line

Makefile has a LLC variable that is initialised to "llc", but can
theoretically be overridden from the command line ("make LLC=llc-6.0").
However, this fails because for LLVM probe check, "llc" is called
directly. Use the $(LLC) variable instead to fix this.

Fixes: 0da7cece4b8a ("bpf: improve selftests and add tests for meta pointer")
Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/Makefile