title: Build a .ko file using a .o file
body: <p>I know that we can make a .ko file using a source .c file with a subsequent makefile given below. Now, I want to create a same kind of .ko file without exposing the source. So I planned to do it using the .o object file. But I'm not hitting the right path, How do I modify the Makefile according to this requirement?</p>
  
  <pre><code>obj-m += somesource.o
  
  all:
      make -C $(KERNEL_SRC) M=$(PWD) modules 
  
  
  clean:
      make -C $(KERNEL_SRC) M=$(PWD) clean
  </code></pre>