]> git.baikalelectronics.ru Git - kernel.git/commitdiff
docs/kunit/start: Use in-tree 'kunit_defconfig'
authorSeongJae Park <sjpark@amazon.de>
Fri, 20 Dec 2019 05:14:03 +0000 (05:14 +0000)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 23 Dec 2019 17:52:40 +0000 (10:52 -0700)
The kunit doc suggests users to get the default `kunitconfig` from an
external git tree.  However, the file is already located under the
`arch/um/configs/` of the kernel tree.  Because the local file is easier
to access and maintain, this commit updates the doc to use it.

Signed-off-by: SeongJae Park <sjpark@amazon.de>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Tested-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Documentation/dev-tools/kunit/start.rst

index 9d6db892c41c04d711289eb696216d667da12319..d5197f1a45cbb473ba2350e2add260f49fd5dbf6 100644 (file)
@@ -32,9 +32,8 @@ regular Kernel config, with the specific test targets as well.
 
 .. code-block:: bash
 
-       git clone -b master https://kunit.googlesource.com/kunitconfig $PATH_TO_KUNITCONFIG_REPO
        cd $PATH_TO_LINUX_REPO
-       ln -s $PATH_TO_KUNIT_CONFIG_REPO/kunitconfig kunitconfig
+       cp arch/um/configs/kunit_defconfig kunitconfig
 
 You may want to add kunitconfig to your local gitignore.