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> 
    一勤天下无难事。
  • 相关阅读:
    JDBC数据库连接
    JDBC驱动程序类型
    JDBC简单示例代码
    JDBC SQL语法
    JDBC是什么?
    JDBC快速入门教程
    JUnit4参数化测试实例
    JUnit套件测试实例
    JUnit4时间(超时)测试实例
    JUnit4忽略(Ignore)测试实例
  • 原文地址:https://www.cnblogs.com/nowroot/p/14028269.html
Copyright © 2011-2022 走看看