There is comprehensive list of commonly used licenses in OE-Core under meta/files/common-licenses
however sometimes one might encounter a package which has a license that is not available in common-licenses

so here is how it goes, recipe for this package rightly has the LICENSE field


but bitbake is sending out a parse warning

WARNING: fastcgi: No generic license file exists for: OML in any provider

The reason is that it could not find OML license anywhere in search paths provided for licenses

We would do

Add OML license file in a directory lets say in same layer where recipe is added e.g. custom-layer/files/additional-licenses
Inform bitbake for adding another location to search for licenses, add

LICENSE_PATH += "${LAYERDIR}/custom-layer/files/additional-licenses"

to configuration metadata in layer.conf for custom-layer