Re: [PATCH rebase v2] kunit: add --make_options
From: shuah
Date: Mon Mar 23 2020 - 19:11:36 EST
On 3/23/20 1:04 PM, Brendan Higgins wrote:
From: Greg Thelen <gthelen@xxxxxxxxxx>
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>
Reviewed-by: Nathan Chancellor <natechancellor@xxxxxxxxx>
Tested-by: David Gow <davidgow@xxxxxxxxxx>
Signed-off-by: Brendan Higgins <brendanhiggins@xxxxxxxxxx>
---
Thanks Brendan!
Applied for 5.7-rc1
thanks,
-- Shuah