title: How to whitelist_gpl-3 for only one development image recipe?
body: <p>I use <code>INCOMPATIBLE_LICENSE = &quot;GPL-3.0 LGPL-3.0 AGPL-3.0&quot;</code> to restrict GPLv3 packages from my production build, but I want to include gdb in a development build, <code>image-dev</code>. I can whitelist it in local.conf with <code>WHITELIST_GPL-3.0_append = &quot; gdb&quot;</code>, but this would allow someone to add it to the production build. I tried using <code>WHITELIST_GPL-3.0_append_pn-image-dev = &quot; gdb&quot;</code>. I can see that it sets the <code>WHITELIST_GPL-3.0</code> variable correctly, but I think it sets it after bitbake needed it because gdb is marked incompatible.</p>
  <p>Also, I'd like to set this in the distro config or somewhere version controlled, i.e. not local.conf.</p>