selftests/nolibc: add a "defconfig" target
authorWilly Tarreau <w@1wt.eu>
Tue, 19 Jul 2022 21:44:46 +0000 (23:44 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 31 Aug 2022 12:17:45 +0000 (05:17 -0700)
commit5c43fd7954108bd138f7a1b4db4fb997ae1dc696
tree9e71415be9f1a0ff6c762934b1452c39c7a85358
parentd248cabff5da2f3f2ce0ab99c1f96a15e8fb98c6
selftests/nolibc: add a "defconfig" target

While most archs will work fine with "make defconfig", not all will
do, and it's not always easy to remember the most suitable choice to
use for a specific architecture.

This adds a "defconfig" target to the Makefile so that one may easily
run "make -C ... defconfig" and make sure to clean and rebuild a fresh
config. This is *not* used by default because we want to preserve the
user's config by default.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/nolibc/Makefile