so i'm getting this error : "module verification failed: signature and/or required key missing - tainting kernel" when i'm trying to put my simple device driver to kernel. I tried recompiling kernel, change my makefile , but nothing helped. At this moment my makefile :
obj-m := DeviceD.o
KERNEL_DIR = /usr/src/linux-headers-$(shell uname -r)
all:
$(MAKE) -C $(KERNEL_DIR) SUBDIRS=$(PWD) modules
clean:
rm -rf *.o *.ko *.mod.* *.symvers *.order *~
also tried this makefile :
obj-m += DeviceD.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean