selftests/nolibc: add a "kernel" target to build the kernel with the initramfs
authorWilly Tarreau <w@1wt.eu>
Tue, 19 Jul 2022 21:44:45 +0000 (23:44 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 31 Aug 2022 12:17:45 +0000 (05:17 -0700)
commitd248cabff5da2f3f2ce0ab99c1f96a15e8fb98c6
tree1ce864ffbad0b602f4b5f250e5fa5d2d9fc659d6
parent1da02f510882cd5684dc04dc7119056e01da90bd
selftests/nolibc: add a "kernel" target to build the kernel with the initramfs

The "kernel" target rebuilds the kernel with the current config for the
selected arch, with an initramfs containing the nolibc-test utility.

Since image names depend on the architecture, the currently supported
ones are referenced and resolved based on the architecture.

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