How to clean


Dallas Clement <dallas.a.clement@...>
 

I'd like to clean all of my build output so that I can rebuild with a
different toolchain. What is the best way to clean without having to
redownload all of my source packages again?

I can see that something like this

$ bitbake -c cleanall linux-yocto

can clean the kernel or an individual package. I want to clean everything.

Thanks


Khem Raj
 

On Tue, Jun 26, 2012 at 12:21 PM, Dallas Clement
<dallas.a.clement@...> wrote:


can clean the kernel or an individual package.  I want to clean everything.
by default DL_DIR lives outside TMPDIR so you can delete the TMPDIR


David Stewart
 

From: yocto-bounces@... [mailto:yocto-
bounces@...] On Behalf Of Dallas Clement
Sent: Tuesday, June 26, 2012 12:21 PM

I'd like to clean all of my build output so that I can rebuild with a
different toolchain. What is the best way to clean without having to
redownload all of my source packages again?

I can see that something like this

$ bitbake -c cleanall linux-yocto

can clean the kernel or an individual package. I want to clean everything.
I just delete the tmp directory and that seems to get the result I want - remove all the binaries but doesn't delete the sources.


Robert P. J. Day
 

On Tue, 26 Jun 2012, Dallas Clement wrote:

I'd like to clean all of my build output so that I can rebuild with a
different toolchain. What is the best way to clean without having to
redownload all of my source packages again?

I can see that something like this

$ bitbake -c cleanall linux-yocto

can clean the kernel or an individual package. I want to clean everything.
hey, there's an FAQ entry for that! :-) well, sort of ... if you
want to avoid all that source downloading:

http://www.crashcourse.ca/wiki/index.php/Yocto_FAQ#How_can_I_set_up_a_local_mirror_of_tarballs_to_save_download_time.3F

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================


Robert P. J. Day
 

On Tue, 26 Jun 2012, Stewart, David C wrote:

From: yocto-bounces@... [mailto:yocto-
bounces@...] On Behalf Of Dallas Clement
Sent: Tuesday, June 26, 2012 12:21 PM

I'd like to clean all of my build output so that I can rebuild with a
different toolchain. What is the best way to clean without having to
redownload all of my source packages again?

I can see that something like this

$ bitbake -c cleanall linux-yocto

can clean the kernel or an individual package. I want to clean everything.
I just delete the tmp directory and that seems to get the result I
want - remove all the binaries but doesn't delete the sources.
ok, better answer than mine, and added to the FAQ.

http://www.crashcourse.ca/wiki/index.php/Yocto_FAQ#How_can_I_remove_all_of_the_build_output_so_I_can_start_over.3F

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================