Hi Thomas,
On Wed, 2025-06-25 at 16:13 +0200, Thomas Weißschuh wrote:
But neither of us really have a build environment set up to do much with it. Is there a howto for this, or is just to run the kernel tests?
v2 of the series [0] has some test instructions. These should also work with v1, except that "-f Makefile.nolibc" needs to be removed.
$ cd tools/testings/selftests/nolibc/
There is a typo here. It should be "testing". But I guess since this text doesn't end up in the commits anyway, it's nothing to worry about. Unless it's part of the documentation.
$ make -f Makefile.nolibc ARCH=sh CROSS_COMPILE=sh4-linux- nolibc-test $ file nolibc-test nolibc-test: ELF 32-bit LSB executable, Renesas SH, version 1 (SYSV), statically linked, not stripped $ ./nolibc-test Running test 'startup' 0 argc = 1 [OK] ... Total number of errors: 0 Exiting with status 0
Adrian