Install Target added
authorMarkus Bröker <mbroeker@largo.dyndns.tv>
Tue, 09 Jun 2009 12:42:30 +0200
changeset 98 0e8eddac99cb
parent 97 f883331a1bf2
child 99 d99503984cd5
Install Target added The simple module can be autoinstalled into the proper section committer: Markus Bröker <mbroeker@largo.homelinux.org>
khello/Makefile
--- a/khello/Makefile
+++ b/khello/Makefile
@@ -6,5 +6,9 @@
 clean:
 	make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
 
+install:
+	cp khello.ko /lib/modules/$(shell uname -r)/misc/;
+	depmod -a
+
 distclean: clean
 	rm -f modules.order