> My guess is Adding directory and mk file under "/mydroid/build/target" is a > out-of-date way and now google suggest add the new product by using the > "/mydroid/vendor" ? Even /mydroid/vendor is obselete now, /mydroid/device is being used in froyo.
we just use this folder to add desired platform specific build configuration files, and also to maintain other key system files (like special init.rc, .prop Android core build system is located at /mydroid/build/target, and you can do it neat way in controlling build parameters from /mydroid/device/*.mk files, or hacking into mydroid/build directly. precedence will be like /mydroid/build, /mydroid/device/<> folder (like CFLAGS, -I paths, etc you can popluate) >my question is which img we really need to porting Android? Does the >RAMDisk.img include the zImage? all, i guess.., zImage -> kernel system.img -> contains /system files of your filesystem (all libs,binaries,apks) data.img -> contains /data files of your filesystem (user/app data,cache, etc) ramdisk.img -> contains system configuration/binary files, thats present in root directory of ur file system (esp, init, recovery executbales that goes into mydroid/out/.../root/* in ur android build) -- Regards, Deva www.bittoggler.com On Sun, Sep 12, 2010 at 4:24 PM, Matt Shao <low...@gmail.com> wrote: > Hi Guys: > As a fresh man to Android, I have some question about the build system. > the official site of Android said we need to add the directory and some > mk file under "/mydroid/vendor" directory. I have tried the instructions and > it works. > But when searching on the internet about the build system, some people > said we should add directory and mk file under "/mydroid/build/target/". > So which one is the latest correct way? > My guess is Adding directory and mk file under "/mydroid/build/target" > is a out-of-date way and now google suggest add the new product by using the > "/mydroid/vendor" ? > > Another quick question is: it seems build system will generate three > img file: RAMDisk.img system.img userdata.img. But when searching on the > internet, some people says porting Android need three img: zImage, > system.img userdata.img. So my question is which img we really need to > porting Android? Does the RAMDisk.img include the zImage? > Thanks a lot! Any comment is highly appreciated!! > > -- > unsubscribe: android-porting+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-porting > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting