title: How to blacklist the galcore kernel module from yocto rootfs
body: <p>A kernel module name galcore.ko is making my imx6slevk board hang while booting.
  The path to this file is:
  /lib/modules/4.9.88-imx_4.9.88_2.0.0_ga+g5e23f9d61147/extra/galcore.ko
  on manually deleting this .ko file and flashng rootfs the board boots fine. 
  I'd like to modify the yyocto source to prevent this .ko file from auto loading.</p>
  
  <p>I've tried adding</p>
  
  <pre><code>PACKAGE_EXCLUDE = "imx-gpu-viv"
  </code></pre>
  
  <p>and also </p>
  
  <pre><code>IMAGE_INSTALL_remove = "imx-gpu-viv"
  </code></pre>
  
  <p>into my fsl-image-validation-qt5.bb file but neither of them had any effect.</p>
  
  <p>This is the bb file for autoloading of galcore </p>
  
  <pre><code>inherit module
  require recipes-kernel/linux/linux-imx-src.inc
  LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
  
  EXTRA_OEMAKE += "CONFIG_MXC_GPU_VIV=m"
  
  KERNEL_MODULE_AUTOLOAD = ""
  </code></pre>
  
  <p>If I give "n" in the above OEMAKE path I get an error that says         </p>
  
  <pre><code>ERROR: kernel-module-imx-gpu-viv-6.2.4.p1.2-r0 do_package: QA Issue: kernel-module-imx-gpu-viv: Files/directories were installed but not shipped in any package:
  /lib
  /lib/modules
  /lib/modules/4.9.88-imx_4.9.88_2.0.0_ga+g5e23f9d61147
  /lib/modules/4.9.88-imx_4.9.88_2.0.0_ga+g5e23f9d61147/extra
  Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install
  </code></pre>
  
  <p>How can I blacklist this kernel module or prevent it from autoloading?</p>