<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: YOCTO project clean in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/YOCTO-project-clean/m-p/435836#M66741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See here &lt;A href="http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#ref-tasks-clean" title="http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#ref-tasks-clean"&gt;Yocto Project Reference Manual&lt;/A&gt;&amp;nbsp; to understand the difference between clean and cleanall&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"clean the build" folder is a trick question. What do you really mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to get rid of a build folder, only rm -rf that folder and start over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to clean only one package, like a make clean stuff, the -c clean would be enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to free HDD space, rm -rf tmp folder. The tmp folder is ~temporary~ and will be recreated during next build, and this way you remove useless big sdcard images you may have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember, the build/conf directory will be deleted in case you delete build directory, if you use local.conf during development, please, backup it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 May 2015 19:15:53 GMT</pubDate>
    <dc:creator>daiane_angolini</dc:creator>
    <dc:date>2015-05-29T19:15:53Z</dc:date>
    <item>
      <title>YOCTO project clean</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/YOCTO-project-clean/m-p/435833#M66738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I clean YOCTO build directory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried 'bitbake -c cleanall core-image-minimal' but it has no effect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 04:20:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/YOCTO-project-clean/m-p/435833#M66738</guid>
      <dc:creator>JHY</dc:creator>
      <dc:date>2015-04-23T04:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: YOCTO project clean</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/YOCTO-project-clean/m-p/435834#M66739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;JHY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can try bitbake -c cleanall -f core-image-minimal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 04:49:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/YOCTO-project-clean/m-p/435834#M66739</guid>
      <dc:creator>saurabh206</dc:creator>
      <dc:date>2015-04-23T04:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: YOCTO project clean</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/YOCTO-project-clean/m-p/435835#M66740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-weight: normal;"&gt;Look at the following page for “clean” commands of the YOCTO.&lt;/SPAN&gt;&lt;/H1&gt;&lt;H1 style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-weight: normal;"&gt;&lt;A class="jive-link-external-small" href="http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F3069691.html" target="_blank"&gt;http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F3069691.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;H1 style="margin-bottom: .0001pt; background: white;"&gt;&lt;/H1&gt;&lt;H1 style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-weight: normal;"&gt;The YOCTO deploy directory often contains the “&lt;SPAN class="j-attachment-name-chop"&gt;README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECT&lt;/SPAN&gt;” file.&lt;/SPAN&gt;&lt;/H1&gt;&lt;H1 style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-weight: normal;"&gt;This file contains the following:&lt;/SPAN&gt;&lt;/H1&gt;&lt;H1 style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-weight: normal;"&gt;Files in the deploy directory will not be re-created automatically if you delete them. If you do delete a file, you will need to run:&lt;/SPAN&gt;&lt;/H1&gt;&lt;H1 style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-weight: normal;"&gt;bitbake -c clean TARGET&lt;/SPAN&gt;&lt;/H1&gt;&lt;H1 style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-weight: normal;"&gt;bitbake TARGET&lt;/SPAN&gt;&lt;/H1&gt;&lt;H1 style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-weight: normal;"&gt;where TARGET is the name of the appropriate package or target e.g.&lt;/SPAN&gt;&lt;/H1&gt;&lt;H1 style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-weight: normal;"&gt;"virtual/kernel" for the kernel, an image, etc.&lt;/SPAN&gt;&lt;/H1&gt;&lt;H1 style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-weight: normal;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Pavel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 05:49:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/YOCTO-project-clean/m-p/435835#M66740</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2015-04-23T05:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: YOCTO project clean</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/YOCTO-project-clean/m-p/435836#M66741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See here &lt;A href="http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#ref-tasks-clean" title="http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#ref-tasks-clean"&gt;Yocto Project Reference Manual&lt;/A&gt;&amp;nbsp; to understand the difference between clean and cleanall&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"clean the build" folder is a trick question. What do you really mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to get rid of a build folder, only rm -rf that folder and start over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to clean only one package, like a make clean stuff, the -c clean would be enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to free HDD space, rm -rf tmp folder. The tmp folder is ~temporary~ and will be recreated during next build, and this way you remove useless big sdcard images you may have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember, the build/conf directory will be deleted in case you delete build directory, if you use local.conf during development, please, backup it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 19:15:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/YOCTO-project-clean/m-p/435836#M66741</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2015-05-29T19:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: YOCTO project clean</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/YOCTO-project-clean/m-p/435837#M66742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Welcome to Yocto.&amp;nbsp; Here's your bottle of whiskey and Advil...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So.&amp;nbsp; When you say &lt;SPAN style="font-family: 'courier new', courier;"&gt;bitbake core-image-minimal&lt;/SPAN&gt;, the dependencies required to build that system image are recursively discovered and built.&amp;nbsp; However, when you want to clean things out, the same recursion doesn't take place.&amp;nbsp; Only the package you explicitly name gets cleaned.&amp;nbsp; So all &lt;SPAN style="font-family: 'courier new', courier;"&gt;bitbake core-image-minimal -c clean -f&lt;/SPAN&gt; will actually clean is the working directory where the system image was built.&amp;nbsp; All the rest of the stuff -- the kernel, the shell commands, the compilers used to build everything -- stays around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, alas, the question needs to be asked:&amp;nbsp; What do you want to clean out, and why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to clean out intermediate build products for the target just to recover disk space, you can delete those directories by hand.&amp;nbsp; From the build directory:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;rm -fr tmp/work&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to clean out the various host-side tools:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;rm -fr tmp/sysroots&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to clean out all the accumulated system images (because they're big and take a lot of space):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;rm -fr tmp/deploy/images&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to clean out a particular component so it will get rebuilt:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;bitbake &lt;EM&gt;&amp;lt;component&amp;gt;&lt;/EM&gt; -c clean -f&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you think the build and/or download caches are corrupt and want bitbake to forget everything it thinks it knows about a component so it can be rebuilt from scratch:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;bitbake &lt;EM&gt;&amp;lt;component&amp;gt;&lt;/EM&gt; -c cleanall -f&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 20:04:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/YOCTO-project-clean/m-p/435837#M66742</guid>
      <dc:creator>leoschwab</dc:creator>
      <dc:date>2015-05-29T20:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: YOCTO project clean</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/YOCTO-project-clean/m-p/1601211#M201657</link>
      <description>&lt;P&gt;Stumbled on this thread using Yocto on a Toradex board with an iMX8X in early 2023 and your advice for completely cleaning out the Yocto build was very helpful after all these years. Thank you internet stranger.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 15:14:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/YOCTO-project-clean/m-p/1601211#M201657</guid>
      <dc:creator>amcelroy</dc:creator>
      <dc:date>2023-02-17T15:14:17Z</dc:date>
    </item>
  </channel>
</rss>

