The archiver
class supports releasing
source code and other materials with the binaries.
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.