Many software licenses require that source code and other materials be released with the binaries. To help with that task, the following classes are provided:
archive-original-sources.bbclass
archive-patched-sources.bbclass
archive-configured-sources.bbclass
archiver.bbclass
For more details on the source archiver, see the "Maintaining Open Source License Compliance During Your Product's Lifecycle" section in the Yocto Project Development Manual.