Yocto SDK Installation Question

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Yocto SDK Installation Question

1,664 Views
cgiordano
Contributor III

Hi I have an NXP i.MX development board where I recently built an SDK as such:

bitbake <image> -c populate_sdk

I ended up with a pretty large *.sh file (~1.7GB) as expected per:

https://www.yoctoproject.org/docs/2.1/sdk-manual/sdk-manual.html

This guide contains a lot of great information about installation and configuration, but I failed to find anything about un-installation.  Forgive me for I haven't taken the plunge yet to run this script to install my SDK and I am a novice Yocto/Linux user at this point in time.  I just don't know what to expect here. 

My question is if I install this SDK on my Linux PC, how would I go about removing it if I wanted to clean up my PC?  Do I simply delete the directory it was installed in?  I am not sure, because if I brute-force delete the installation directory - if possible - will there be other settings or hidden files left behind that will cause issues moving forward.  Reason being is that I know that this SDK is going to take up some storage and I may end up installing another SDK for another image in the future.  I simply want to understand how to control how and where this SDK will reside on my PC to control the storage being used on my disk.  Maybe I would want to completely eliminate the SDK on this PC... 

Basically, it would be great to know if I DO something, how do I UNDO this.  Thanks in advance. 

0 Kudos
Reply
4 Replies

1,610 Views
cgiordano
Contributor III

I installed it and it is installed on a separate disk I have in my PC.  It should be easy to remove if necessary.  Thanks! 

0 Kudos
Reply

1,652 Views
joanxie
NXP TechSupport
NXP TechSupport

you can use the command

bitbake -c cleansstate <your image>, then delete all of building folders

 

 

0 Kudos
Reply

1,644 Views
cgiordano
Contributor III

I am not sure your suggestion is applicable to my request.  I know how to clean my image when I bitbake, but I am talking about an SDK that is installed on a separate machine that doesn't bitbake my images.  @joanxie, do you have any experience with the Yocto SDK? 

Anyhow, I conferred about this issue with someone that knows Yocto and I was told to simply delete the directory that the SDK was installed to on a particular machine.  It's that easy apparently. 

0 Kudos
Reply

1,626 Views
joanxie
NXP TechSupport
NXP TechSupport

I never try this, but delete the folder is easy way, maybe you can refer to the discussion as below:

"https://stackoverflow.com/questions/53377944/how-to-clean-populate-sdk-in-yocto"

 

0 Kudos
Reply