[yocto] Cleaning dependent package

Burton, Ross ross.burton at intel.com
Mon Jul 29 07:02:36 PDT 2013


On 29 July 2013 14:54, Navani Srivastava <navani.srivastava at gmail.com> wrote:
> Is it possible to clean any dependent package from some other recipe?
>
> As an example-
>
> “bitbake core-image-minimal.bb” will build u-boot and linux package as a
> part of dependent package. Is it possible to clean u-boot and linux by
> making changes in core-image-minimal.bb recipe?

If you're goal is to save space, why not use rm_work, which will clean
the work directory after a build.  Just add this to your local.conf:

     INHERIT += "rm_work"

If this isn't your goal, what is it?

Ross



More information about the yocto mailing list