From 7cccd0e4ec8808c8954fd54d10d748567d9cb0e7 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 27 Jul 1995 09:45:28 +0000 Subject: Make this bugger actually compile and work again: o a couple of header files have been missing o convert the LKM Makefile to use o rename the module to ``misc_mod'' (as opposed to ``miscmod''), so the module name can be made identical to the module's file name, avoiding the clash with one of the component's .o file names o modstat(1/8) has been moved meanwhile --- share/examples/lkm/misc/test/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'share/examples/lkm/misc/test/Makefile') diff --git a/share/examples/lkm/misc/test/Makefile b/share/examples/lkm/misc/test/Makefile index 466e4ac..61bbf37 100644 --- a/share/examples/lkm/misc/test/Makefile +++ b/share/examples/lkm/misc/test/Makefile @@ -34,10 +34,13 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # - +# $Id$ +# PROG= testmisc NOMAN= +MODSTAT= /usr/bin/modstat + load: @echo "This test program will call the sample system call;" @echo "the "offset requested will be shown as 'Off' in the" @@ -48,7 +51,7 @@ load: @echo "system console each time it is run." @echo @echo - /sbin/modstat -n miscmod + ${MODSTAT} -n misc_mod @echo @./testmisc @@ -57,7 +60,7 @@ unload: @echo "has been successfully unloaded by building 'unload' in" @echo "the 'module' subdirectory." @echo - /sbin/modstat -n miscmod + ${MODSTAT} -n misc_mod .include -- cgit v1.1