]>
git.ipfire.org Git - thirdparty/kmod.git/blob - testsuite/mkosi/mkosi.build
8ed54bbbf209bdd366a29723fc8ac72a750bcab4
4 local kdirs
=(/usr
/lib
/modules
/*/build
/Makefile
/usr
/src
/kernels
/*/Makefile
)
7 for f
in "${kdirs[@]}"; do
14 if [ -z "$kdir" ]; then
15 printf '==> Unable to find kernel headers to build modules for tests\n' >&2
19 kdir
=${kdir%/Makefile}
24 if [ -f configure
]; then
32 if grep clear-linux-os
/usr
/lib
/os-release
; then
33 # Clear Linux doesn't have the dependencies for those yet.
34 echo "--disable-test-modules" > ..
/..
/.config.args
37 IFS
=/ read _ _ _ kver _
<<<"$kdir"
42 make check KDIR
="$kdir" KVER
="$kver"