国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發設計 > 正文

Linux下poky編譯2

2019-11-09 18:28:17
字體:
來源:轉載
供稿:網友
1、解開pinky的包2、進入pinky目錄輸入  source poky-init-build-env3、修改build/conf/local.conf ,主要是修改MACHINE,我用samsung的ARM,所以選了fic-gta01,也就是OPENMOKO的平臺4、決定編譯什么樣子的目標,poky 可以編譯好多種image,按照手冊上的描述有這些:

poky-image-minimal - A small image, just enough to allow a device to boot,

poky-image-base - console only image with full support of target device hardware,

poky-image-core - X11 image with simple apps like terminal, editor and file manager

poky-image-sato - X11 image with Sato theme and Pimlico applications. Also contains terminal, editor and file manager.

poky-image-sdk - X11 image like poky-image-sato but also include native toolchain and libraries needed to build applications on the device itself. Also includes testing and PRofiling tools and debug symbols.

meta-toolchain - This generates a tarball containing a standalone toolchain which can be used externally to Poky. It is self contained and unpacks to the /usr/local/poky directory. It also contains a copy of QEMU and the scripts neccessary to run poky QEMU images.

meta-toolchain-sdk - This includes everything in meta-toolchain but also includes development headers and libraries forming a complete standalone SDK.See the Developing using the Poky SDK and Developing using the Anjuta Plugin sections for more information. 我因為要首先調試硬件和驅動,所以暫時編譯了minimal。

5、在build目錄下輸入:bitbake poky-image-minimal6、在linux下會出現mmap: Permission denied錯誤,解決辦法是輸入suecho 4096 > /proc/sys/vm/mmap_min_addr7、提示你沒有安裝psyco的話,在Linux里只要sudo apt-get install python-psyco 就可以了。8、在整個image編譯完成后,如果修改了某個包的代碼,要重新編譯整個image,可以刪除build/tmp/stamps里面相應的文件,然后重新bitbake <image-name> 即可。比如我要重新編譯linux-openmoko-2.6.22.5-moko11+svnr3238-r15這個包,就可以刪除linux-openmoko-2.6.22.5-moko11+svnr3238-r15.do_compile這個文件,如果想要讓其重新打patch,可以刪去linux-openmoko-2.6.22.5-moko11+svnr3238-r15.do_prepatch,甚至刪去所有以linux-openmoko-2.6.22.5-moko11+svnr3238-r15開頭的文件,bitbake就會重新來一遍(包括解包)9、如果只需要重新編譯某個包,而不需要重新生成一遍image,可以對其進行單獨的編譯,比如如果要編譯修改后的內核,可以輸入:bitbake virtual/kernel -c compile -f (-c 指定了要執行什么命令,-f則表示不管stamps里的標志強制執行)
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 巧家县| 尼木县| 夏邑县| 中牟县| 万源市| 柳河县| 宁武县| 泗阳县| 墨脱县| 青岛市| 年辖:市辖区| 盐城市| 商丘市| 万宁市| 台中市| 漠河县| 旬邑县| 信宜市| 葫芦岛市| 军事| 福泉市| 崇义县| 昆明市| 启东市| 秭归县| 洛南县| 开封市| 蚌埠市| 宜都市| 福州市| 肥东县| 长子县| 恩施市| 临安市| 门源| 塘沽区| 汤原县| 奈曼旗| 安溪县| 靖安县| 民县|