android 幾個快速編譯images指令

Android比较重要的image:

  • make bootimage
    • – boot.img
  • make systemimage
    • – system.img (這個 system.img 是 從 out/target/product/xxxx/system 做出來的。)
  • make userdataimage
    • – userdata.img
  • make ramdisk
    • – ramdisk.img
  • make snod
    • – 快速打包system.img, 不要管 system folde 裡面的 file 的 dependency,可以用此指令make snod (with this command, it will build a new system.img very quickly. well, you cannot use “make snod” for all the situations. it would not check the dependences. if you change some code in the framework which will effect other applications)
    • 定義在 build/core/Makefile 可以看到 snod 這個 target: 
      (有說明是: make system.img ignoring depencies)

Ref:
http://hi.baidu.com/kyan/blog/item/df7ea8d346f5c839960a163c.html
http://r40eubuntu.blogspot.com/2010/10/systemimg.html

分類: 未分類

在〈android 幾個快速編譯images指令〉中有 1 則留言

發表迴響