Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae4e1455 authored by The Android Open Source Project's avatar The Android Open Source Project
Browse files

merge from open-source master

Change-Id: I3d24628d38c99369f242733d9089d7c5669a4623
parents 1d37a0da f015e94d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ ifeq (0,$(shell expr $$(echo $(MAKE_VERSION) | sed "s/[^0-9\.].*//") \>= 3.81))
$(warning ********************************************************************************)
$(warning *  You are using version $(MAKE_VERSION) of make.)
$(warning *  You must upgrade to version 3.81 or greater.)
$(warning *  see file://$(shell pwd)/docs/development-environment/machine-setup.html)
$(warning *  see http://source.android.com/download)
$(warning ********************************************************************************)
$(error stopping)
endif
+8 −0
Original line number Diff line number Diff line
LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_MODULE := init.rc
LOCAL_SRC_FILES := init.rc
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
+20 −0
Original line number Diff line number Diff line
TARGET_COMPRESS_MODULE_SYMBOLS := false
TARGET_PRELINK_MODULE := false
TARGET_NO_RECOVERY := true
TARGET_HARDWARE_3D := false
BOARD_USES_GENERIC_AUDIO := true
USE_CAMERA_STUB := true
TARGET_PROVIDES_INIT_RC := true
USE_CUSTOM_RUNTIME_HEAP_MAX := "32M"
TARGET_CPU_ABI := x86
TARGET_USERIMAGES_USE_EXT2 := true
TARGET_BOOTIMAGE_USE_EXT2 := true
TARGET_USE_DISKINSTALLER := false

# For KVM
# BOARD_KERNEL_CMDLINE := console=tty0 console=ttyS1,115200n8 console=tty0 androidboot.hardware=generic_x86 vga=788

# For mrst_ref
BOARD_KERNEL_CMDLINE := init=/init pci=noearly console=ttyS0 console=ttyS1,115200n8 console=tty0 earlyprintk=mrst loglevel=8 notsc no_percpu_apbt androidboot.hardware=generic_x86 s0ix_latency=160

BOARD_BOOTIMAGE_MAX_SIZE := 8388608
+26 −0
Original line number Diff line number Diff line
The generic_x86 board target provides basic services on
very basic hardware. To build with generic_x86, you will
need an appropriate kernel for your device (or emulation).

A1. Create a new top level directory and pull the AOSP repository
        mkdir $HOME/AOSP
        cd $HOME/AOSP
        repo init -u git://android.git.kernel.org/platform/manifest.git
        repo sync

A2. Copy in the buildspeck.mk
        cd $HOME/AOSP
        cp build/target/board/generic_x86/buildspec-generic_x86.mk buildspec.mk

A3. Copy in the kernel
        cd $HOME/AOSP
        cp ~/bzImage.your_device $HOME/AOSP/prebuilt/android-x86/kernel/kernel

A4. Build
        cd $HOME/AOSP
        source build/envsetup.sh
        lunch generic_x86-eng
        make -j8

The build will generate some image files whose format may or may not be correct for your
device.
+3 −0
Original line number Diff line number Diff line
BUILD_ENV_SEQUENCE_NUMBER := 9
DISABLE_DEXPREOPT := true
TARGET_ARCH := x86
Loading