flict (FOSS License Compatibility Tool) can check if the license of your software, and its dependencies, are compatible and if they are in line with your license policy.
This presentation will show you how to get started with flict, check a project for license compatibility, apply a license policy, how to get a graph of the compatibility between licenses in your project and finally show how a package, and its dependencies, as built with Yocto can be checked for compatibility.