Trying to run "make insmod check" under /var/lib/dkms/blcr/0.8.2/build produces
/usr/bin/make --no-print-directory -C include
make[1]: *** No targets specified and no makefile found. Stop.
make: *** [modules] Error 2
so whatever that was supposed to do does not work in the dkms environment for some reason. I tried to reconstruct the command for the 'insmod' target, and got to this:
I meant I only loaded them.
Trying to run "make insmod check" under /var/lib/ dkms/blcr/ 0.8.2/build produces
/usr/bin/make --no-print- directory -C include
make[1]: *** No targets specified and no makefile found. Stop.
make: *** [modules] Error 2
so whatever that was supposed to do does not work in the dkms environment for some reason. I tried to reconstruct the command for the 'insmod' target, and got to this:
# cat /boot/System. map-2.6. 31-10-rt 2>/dev/null | env NM='/usr/bin/nm -B' /usr/bin/perl -- ./contrib/cr_depmod /var/lib/ dkms/blcr/ 0.8.2/build/ blcr_imports/ kbuild/ blcr_imports. ko /var/lib/ dkms/blcr/ 0.8.2/build/ cr_module/ kbuild/ blcr.ko >.depmod.err 2>&1 && echo yes || echo no
yes
So that succeeds. However the 'check' target links to 'check-recursive', which leads me nowhere.
Is there any other way to do this, or shall I just compile blcr by hand (without dkms) and run the check there?