Home | History | Annotate | Download | only in generic_x86
      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