文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>behind the code --bitbake demo

behind the code --bitbake demo

时间:2007-09-27  来源:linuxGentoo

<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.2 (Linux)"><meta name="AUTHOR" content="lynn lin"><meta name="CREATED" content="20070927;11142000"><meta name="CHANGEDBY" content="lynn lin"><meta name="CHANGED" content="20070927;11461500"> <style type="text/css"> </style>


Example : Bitbake demo


In bitbake/bin/bitbake


options+argv ---> BBCooker() [instance class object]

--->call BBCooker.cook function param is options and argv


instance BBConfiguration class with options param


go cook(BBConfiguration object,argv) function


[BBConfiguration class ]:initial a attr dict {'cmd':'value'}


gointo cookfunction()

{

set bitbake cmd value

init a data class instance

bb.data.init()

[bb.data.init()]

{

call data_smart.DataSmart()

{attr :dict = {},_special_values,_seen_overrides

call init COWDictBase class()

}

}

parseConfigurationFile('conf/bitbake.conf')

go into parseConfigurationFile function

{self.configuration.data = bb.parse.handle( afile, self.configuration.data )

go bitbake/lib/bb/parse/__init__.py

into handle function param(conf/bitbake.conf,data.init()

??


}

}

相关阅读 更多 +
排行榜 更多 +
找茬脑洞的世界安卓版

找茬脑洞的世界安卓版

休闲益智 下载
滑板英雄跑酷2手游

滑板英雄跑酷2手游

休闲益智 下载
披萨对对看下载

披萨对对看下载

休闲益智 下载