Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
AndroidBoard.mk | 15-Nov-2011 | 399 | |
BoardConfig.mk | 15-Nov-2011 | 817 | |
buildspec-generic_x86.mk | 15-Nov-2011 | 222 | |
disk_layout.conf | 15-Nov-2011 | 840 | |
init.rc | 15-Nov-2011 | 8.6K | |
README.txt | 15-Nov-2011 | 1.1K |
1 The generic_x86 board target provides basic services on very basic 2 hardware (really for an emulation). To build with generic_x86, you will 3 need an appropriate kernel for your emulation (or device). 4 5 A1. Create a new top level directory and pull the AOSP repository 6 mkdir $HOME/AOSP 7 cd $HOME/AOSP 8 repo init -u git://android.git.kernel.org/platform/manifest.git 9 repo sync 10 11 A2. Copy in the buildspeck.mk 12 cd $HOME/AOSP 13 cp build/target/board/generic_x86/buildspec-generic_x86.mk buildspec.mk 14 15 A3. Copy in the kernel 16 cd $HOME/AOSP 17 cp ~/bzImage.your_device $HOME/AOSP/prebuilt/android-x86/kernel/kernel 18 19 A4. Build 20 cd $HOME/AOSP 21 source build/envsetup.sh 22 lunch generic_x86-eng 23 make -j8 24 25 The build will generate some image files whose format may or may not be correct for your 26 device. You can build an installer image disk for the VirtualBox emulator using the command: 27 28 A5. Build a VirtualBox installer image 29 cd $HOME/AOSP 30 source build/envsetup.sh 31 lunch generic_x86-eng 32 make -j8 installer_vdi 33 34