torture: Pass --kmake-arg to all make invocations
authorMarco Elver <elver@google.com>
Tue, 16 Jun 2020 09:49:24 +0000 (11:49 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 29 Jun 2020 19:01:44 +0000 (12:01 -0700)
commit603d11ad6976e1289f19c2a19e2f75a83d0dc296
treed834154bc47bc89becbda5f7979a4d4e413a263c
parent775227511843202e65a7f194cbf64f38de01f004
torture: Pass --kmake-arg to all make invocations

We need to pass the arguments provided to --kmake-arg to all make
invocations. In particular, the make invocations generating the configs
need to see the final make arguments, e.g. if config variables depend on
particular variables that are passed to make.

For example, when using '--kcsan --kmake-arg CC=clang-11', we would lose
CONFIG_KCSAN=y due to 'make oldconfig' not seeing that we want to use a
compiler that supports KCSAN.

Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/configinit.sh