title: how to define if a kernel program is intended to be a module or built-in
body: <p>I have written a Linux kernel module, which I included in a kernel downloaded from kernel.org. I modified the Kconfig file of the directory where my module will be to include it in the configuration menu. </p>
  
  <p>But when I run <code>make menuconfig</code>, I can only select it as built-in, I can't make it run as a module. What determines if a program is intended to be only built-in or only module or both?</p>