kernel-helloworld-test
diff ktestmodule/Makefile @ 0:dbbd63da261f
helloworld kernel module and program that reads the /dev/ktest
author | Eleni Maria Stea <eleni@mutantstargoat.com> |
---|---|
date | Wed, 10 May 2017 13:11:31 +0300 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ktestmodule/Makefile Wed May 10 13:11:31 2017 +0300 1.3 @@ -0,0 +1,9 @@ 1.4 +obj-m += ktest.o 1.5 + 1.6 +.PHONY: all 1.7 +all: 1.8 + make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules 1.9 + 1.10 +.PHONY: clean 1.11 +clean: 1.12 + make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean