title: using require in layer.conf in yocto
body: <p>Considering all freedom that yocto gives to the developer, I have a question.
  I would like to make this my_file.inc available only for recipes in one particular meta-layer. I know, that, for instance, using INHERIT keyword inside the local.conf will make my_class.bbclass file available globally for each recipe.</p>
  
  <p>Is it a good practice to add this:</p>
  
  <pre><code>require my_file.inc
  </code></pre>
  
  <p>inside layer.conf? Or should I change my_file.inc to the my_file.bbclass, and, add INHERIT = "my_file.bbclass" to the layer.conf?
  Any other possibilities?</p>