INCOMPATIBLE_LICENSE_EXCEPTIONS not working in kirkstone
I'm trying to add gdb to a kirkstone image for debugging, and have GPLv3.0 set as incompatible in my .conf
INCOMPATIBLE_LICENSE = "GPL-3.0-only LGPL-3.0-only AGPL-3.0-only"
in the same file I also have gdb listed as an exception:
INCOMPATIBLE_LICENSE_EXCEPTIONS += "gdb"
Despite this, builds keep failing due to the following error:
ERROR: Nothing PROVIDES 'gdb'
gdb was skipped: it has incompatible license(s): GPL-3.0-only LGPL-3.0-only
How to I correctly exempt gdb from the incompatible licenses? I also tried WHITELIST_GPL-3.0 but bitbake identifies that as an out of date override.
My exception list was incomplete, I had not added what licenses were exempt. The following now works:
INCOMPATIBLE_LICENSE_EXCEPTIONS += "gdb:GPL-3.0-only gdb:LGPL-3.0-only"