zoukankan      html  css  js  c++  java
  • yocto一些认识记录

    IMAGE_FSTYPES=“ext3tar.bz2”   
    
    
    IMAGE_ROOTFS_SIZE  
    IMAGE_ROOTFS_ALIGNMENT 
    _get_rootfs_size():ROOTFS_SIZE=`du-ks${IMAGE_ROOTFS}`BASE_SIZE=ROOTFS_SIZE*IMAGE_OVERHEAD_FACTORif(BASE_SIZE<IMAGE_ROOTFS_SIZE):IMG_SIZE=IMAGE_ROOTFS_SIZE+IMAGE_ROOTFS_EXTRA_SPACEelse:IMG_SIZE=BASE_SIZE+IMAGE_ROOTFS_EXTRA_SPACEIMG_SIZE=IMG_SIZE+IMAGE_ROOTFS_ALIGNMENT–1IMG_SIZE=IMG_SIZE%IMAGE_ROOTFS_ALIGNMENTreturnIMG_SIZE
    
    log放的地方:
    T=“${WORKDIR}/temp”  
    log.do_<taskname>.<pid>
    
    show-layers:  
    
    show-recipes  
    show-overlayed
    
    执行特定的任务:
    bitbake<target>-c<task>  
    bitbake busybox-ccompile  
    
    1.Fetch:Retrievethepackagesourcecodearchivesfordownloadsites,orclonesourcerepositoriesaswellasallapplicablepatchesandotherlocalfiles.
    2.Unpack:Extractsourcecode,patches,andotherfilesfromtheirarchives.
    3.Patch:Applythepatches.
    4.Configure:Preparethesourcesforbuildingwithinthetargetenvironment.
    5.Build:Compilethesources,archivetheobjectsintolibraries,and/orlinktheobjectsintoexecutableprograms.
    6.Install:Copybinariesandauxiliaryfilestotheirtargetdirectoriesofanemulatedsystemenvironment.
    7.Package:Createtheinstallationpackages,includinganymanifests,accordingtothechosenpackagemanagementsystems.
    
    $bitbake-b editor.bb-ccompile
    $bitbake-beditor.bb—cmd=compile
    bitbake—help 
    
    conf/bblayers.conf
    
    conf/layer.conf
    
    BitBakeMasterConfigurationFile(bitbake.conf)  
    
    LayerConfiguration(layer.conf)
    
    BuildEnvironmentConfiguration(local.conf)  
    
    DistributionConfiguration(<distribution-name>.conf)  
    
    MachineConfiguration(<machine-name>.conf)  
    
    yocto-layercreate<layername> 
    一勤天下无难事。
  • 相关阅读:
    Android支付接入(四):联通VAC计费
    Android支付接入(三):电信爱游戏支付
    Android支付接入(二):移动游戏基地
    Android支付接入(一):支付宝
    一些值得练习的github项目
    html 抽奖代码
    js 获取控制台的错误信息
    面试随笔
    php Use of undefined constant的问题解决方式
    nodejs 更新最新版本
  • 原文地址:https://www.cnblogs.com/nowroot/p/14028269.html
Copyright © 2011-2022 走看看