Re: [PATCH] kunit: add --make_options

From: Brendan Higgins
Date: Thu Feb 27 2020 - 13:49:30 EST


On Wed, Feb 26, 2020 at 10:31 PM Greg Thelen <gthelen@xxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxx>

Reviewed-by: Brendan Higgins <brendanhiggins@xxxxxxxxxx>

Thanks! This is something we have been meaning to do for a while!