title: openSuSE Custom Kernel Module Failed
body: <p>I am trying to port my own kernel module from CentOS to openSuSE, but it seems that my module can not load correctly on openSuSE. The OS give the following response:
  <img src="https://i.stack.imgur.com/cs1k5.png" alt="enter image description here"></p>
  
  <p>But if I go directly to the ko compile dir, I can insert the module, like this:
  <img src="https://i.stack.imgur.com/hrtxD.png" alt="enter image description here"></p>
  
  <p>So I don't know if there is some problem with my kernel module installation script or something else?
  Here is my kernel installation script, and it work well in CentOS:</p>
  
  <pre><code>ifneq ($(KERNELRELEASE),)
  
  include Kbuild
  
  else
  
  KDIR ?= /lib/modules/`uname -r`/build
  
  default:
  
  $(MAKE) -C $(KDIR) M=$$PWD
  
  endif
  
  install:
      $(MAKE) -C $(KDIR) M=$$PWD modules_install
  clean:
      rm *.o *.ko .*.cmd *.mod.c
  </code></pre>