Yocto: how to remove/blacklist some dependency from RDEPENDS of a package?
<p>I have a custom machine layer based on <a href="https://github.com/jumpnow/meta-wandboard" rel="noreferrer">https://github.com/jumpnow/meta-wandboard</a>.</p>

<p>I've upgraded the kernel to 4.8.6 and want to add X11 to the image.
I'm modifying to image recipe (<code>console-image.bb</code>).
Since wandboard is based on i.MX6, I want to include the <code>xf86-video-imxfb-vivante</code> package from <code>meta-fsl-arm</code>.
However, it fails complaining about inability to build <code>kernel-module-imx-gpu-viv</code>. I believe that happens because <code>xf86-video-imxfb-vivante</code> DEPENDS on <code>imx-gpu-viv</code> which in turn RDEPENDS on <code>kernel-module-imx-gpu-viv</code>.</p>

<p>I realize that those dependencies have been created with meta-fsl-arm BSP and vanilla Poky distribution. But those things are way outdated for wandboard, hence I am using the custom machine layer with modern kernel.
The kernel is configured to include the Vivante DRM module and I really don't want the <code>kernel-module-imx-gpu-viv</code> package to be built.</p>

<p>Is there a way to exclude it from RDEPENDS? Can I somehow swear my health to the build system that I will take care of this specific run-time dependency myself?</p>

<p>I have tried blacklisting 'kernel-module-imx-gpu-viv' setting <code>PNBLACKLIST[kernel-module-imx-gpu-viv]</code> in my local.conf, but that's just a part of a solution. It helps avoid build failures, but the packaging process still fails.</p>