cannot insmod sculld in ldd3
From: Aruna Hewapathirane <hidden>
Date: 2017-03-13 13:44:23
<snip>
quoted
Now I wonder what is the proper way to export "Module.symvers" information to the outside so that modules that use it do not have to copy that file into their directory.
If you use a top-level Makefile like the one below it will create the
necessary Module.symvers file.
I am not sure if this is the correct or recommended way, I had kernel
modules in separate directories a long
while back when I was learning+testing and this worked for me.
obj-m := lddbus/ sculld/
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
all:
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
clean:
$(MAKE) -C $(KERNELDIR) M=$(PWD) clean
Hope this helps - Aruna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170313/3b944748/attachment.html