blob: 3b88b4448bba6234c653f7207070e789d119601b [file] [log] [blame]
Bruce Bearec25e5032010-04-28 14:12:52 -07001The generic_x86 board target provides basic services on
2very basic hardware. To build with generic_x86, you will
3need an appropriate kernel for your device (or emulation).
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 buildspeck.mk
12 cd $HOME/AOSP
13 cp build/target/board/generic_x86/buildspec-generic_x86.mk buildspec.mk
14
15A3. Copy in the kernel
16 cd $HOME/AOSP
17 cp ~/bzImage.your_device $HOME/AOSP/prebuilt/android-x86/kernel/kernel
18
19A4. Build
20 cd $HOME/AOSP
21 source build/envsetup.sh
22 lunch generic_x86-eng
23 make -j8
24
25The build will generate some image files whose format may or may not be correct for your
26device.