]> git.ipfire.org Git - thirdparty/kmod.git/commit
testsuite: Handle KDIR=any
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 27 Jun 2025 17:01:15 +0000 (12:01 -0500)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Mon, 7 Jul 2025 16:07:38 +0000 (11:07 -0500)
commitea67bad278e4b613d1420d30ece7de121221eec9
treee56f380dc91006d7f53c76cf8f680382c919e8df
parent9c1a363e3eca30646351962e7d3a172c862afb69
testsuite: Handle KDIR=any

I update my kernel frequently and may not be running a kernel with
headers installed. That always leads me to:

1) run `meson test -C build`
2) Oh, crap, it fails: no kernel headers
3) Find whatever kernel header is installed and point KDIR to it

We can do better and tell KDIR=any to use whatever it finds.

Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/384
README.md
testsuite/module-playground/Makefile