Build­ing the im­age

OpenSource For You - - DEVELOPERS -

This is the most ex­cit­ing part of the whole process. You need to choose a tar­get for the x86 de­vice you want to use/test. For ex­am­ple, the ICS branch of­fers the fol­low­ing tar­gets: gener­ic_x86: for generic x86 PCs/note­books amd_bra­zos: for the AMD Bra­zos plat­form eeepc: for the ASUS EeePC fam­ily only asus_lap­top: for some ASUS lap­tops tegav2: for Te­gat­ech Tegav2 (may work with other Atom N45x-based tablets) From the above list, select an ap­pro­pri­ate tar­get, and use it in this com­mand:

make -j4 iso_img TARGET_PRODUCT=asus_lap­top

Since I have a ma­chine with four cores, I can take ad­van­tage of this and speed up my build process by us­ing all the cores. Al­ter­na­tively, if you don't have a multi-core ma­chine, type the fol­low­ing com­mand:

make iso_img TARGET_PRODUCT=asus_lap­top

This process will take a very long time, de­pend­ing on your pro­ces­sor. For me, it took over three hours! The gen­er­ated im­age is lo­cated at out/tar­get/prod­uct/$TARGET_ PROD­UCT/$TARGET_PRODUCT.iso. In my case, it was /home/ ayneil/sc/an­droidx86/out/tar­get/prod­uct/lap­top/ asus_lap­top.iso.

Now you can run the cre­ated im­age us­ing Vir­tu­alBox, which can be down­loaded from https://www.vir­tu­ Down­loads. Also re­fer to Fig­ures 2, 3 and 4 for more de­tails.

Newspapers in English

Newspapers from India

© PressReader. All rights reserved.