Skip to content

Latest commit

 

History

History
76 lines (46 loc) · 1.69 KB

2019-12-04-yocto-basic-usage.markdown

File metadata and controls

76 lines (46 loc) · 1.69 KB
layout title date categories comments
post
Yocto Basic Usage
2019-12-04 11:30:00 +0800
yocto
true

Table of Content

1. Yocto usage

1.1 Rebuild package

  • Remove temp:

    $ bitbake -c clean gstreamer
    
  • To remove temp and sstate cache

    $ bitbake -c cleansstate gstreamer
    
  • To remove download as well, and lets begin build starting from do_fetch and all

    $ bitbake -c cleanall gstreamer
    
  • Once you are done with either of these clean, which ever suits you, you can simple give build command for the specified:

$ bitbake gstreamer

1.2 Custom Yocto

1.2.1 Add custom layer

  • Prerequisites

    Compile a reference image for the Yocto Project

# cd <BSP_DIR>/sources  
# bitbake-layer create <NEW_LAYER_NAME> 

2. UUU usage

99. Reference URL