selftests: use "$(MAKE)" instead of "make"
authorIlya Leoshkevich <iii@linux.ibm.com>
Fri, 16 Aug 2019 16:06:04 +0000 (18:06 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 19 Aug 2019 20:21:36 +0000 (14:21 -0600)
commit0ac33e4e9b5e4ccdd43c9d4e77882a1af0e41dec
treeb51fa913fbe12f10cfe134f2a15d5b0b27221021
parentd1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1
selftests: use "$(MAKE)" instead of "make"

When doing "make kselftest TARGETS=bpf -j12", bpf progs end up being
compiled sequentially and thus slowly.

The reason is that parent make (tools/testing/selftests/Makefile) does
not share its jobserver with child make
(tools/testing/selftests/bpf/Makefile), therefore the latter runs with
-j1.

Change all instances of "make" to "$(MAKE)", so that the whole make
hierarchy runs using a single jobserver.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/Makefile