README.txt revision 28290a0cec7736f0f5eaa19a0dd7f1ed690f8bdc
1The generic_x86 board target provides basic services on very basic
2hardware (really for an emulation). To build with generic_x86, you will
3need an appropriate kernel for your emulation (or device).
4
5A1. 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
11A2. Copy in the kernel
12        cd $HOME/AOSP
13        cp ~/bzImage.your_device $HOME/AOSP/prebuilt/android-x86/kernel/kernel
14
15A3. Build
16        cd $HOME/AOSP
17        source build/envsetup.sh
18        lunch generic_x86-eng
19        make -j8
20
21The build will generate some image files whose format may or may not be correct for your
22device. You can build an installer image disk for the VirtualBox emulator using the command:
23
24A4. Build a VirtualBox installer image
25	cd $HOME/AOSP
26        source build/envsetup.sh
27        lunch generic_x86-eng
28        make -j8 installer_vdi
29
30