Home
last modified time | relevance | path

Searched hist:"0476 e69f39377192d638c459d11400c6e9a6ffb0" (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/kunit/
H A Dkunit_kernel.pydiff 0476e69f39377192d638c459d11400c6e9a6ffb0 Mon Mar 23 20:04:59 CET 2020 Greg Thelen <gthelen@google.com> kunit: add --make_options

The kunit.py utility builds an ARCH=um kernel and then runs it. Add
optional --make_options flag to kunit.py allowing for the operator to
specify extra build options.

This allows use of the clang compiler for kunit:
tools/testing/kunit/kunit.py run --defconfig \
--make_options CC=clang --make_options HOSTCC=clang

Signed-off-by: Greg Thelen <gthelen@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Tested-by: David Gow <davidgow@google.com>
Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
H A Dkunit.pydiff 0476e69f39377192d638c459d11400c6e9a6ffb0 Mon Mar 23 20:04:59 CET 2020 Greg Thelen <gthelen@google.com> kunit: add --make_options

The kunit.py utility builds an ARCH=um kernel and then runs it. Add
optional --make_options flag to kunit.py allowing for the operator to
specify extra build options.

This allows use of the clang compiler for kunit:
tools/testing/kunit/kunit.py run --defconfig \
--make_options CC=clang --make_options HOSTCC=clang

Signed-off-by: Greg Thelen <gthelen@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Tested-by: David Gow <davidgow@google.com>
Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>