Fix build scripts for vbox_x86 target
Change-Id: Ia1f2bf9f05fcd8f07b240e15c7c01a80c6ca6829
This commit is contained in:
parent
16292ce718
commit
78305ea16f
|
@ -1,7 +1 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
LOCAL_KERNEL := prebuilt/android-x86/kernel/kernel-vbox
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_KERNEL):kernel \
|
||||
$(LOCAL_PATH)/init.rc:root/init.rc
|
||||
|
|
|
@ -17,7 +17,7 @@ TARGET_BOOTIMAGE_USE_EXT2 := true
|
|||
|
||||
# For VirtualBox and likely other emulators
|
||||
BOARD_INSTALLER_CMDLINE := init=/init console=ttyS0 console=tty0 vga=788 verbose
|
||||
BOARD_KERNEL_CMDLINE := init=/init console=ttyS0 console=tty0 vga=788 verbose androidboot.hardware=generic_x86 androidboot.console=ttyS0
|
||||
BOARD_KERNEL_CMDLINE := BOARD_KERNEL_CMDLINE := init=/init qemu=1 console=ttyS0 console=tty0 vga=788 verbose androidboot.hardware=vbox_x86 androidboot.console=ttyS0 android.qemud=ttyS1
|
||||
TARGET_USE_DISKINSTALLER := true
|
||||
|
||||
TARGET_DISK_LAYOUT_CONFIG := build/target/board/vbox_x86/disk_layout.conf
|
||||
|
|
|
@ -17,10 +17,16 @@
|
|||
# This is a build configuration for the product aspects that
|
||||
# are specific to the emulator.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
PRODUCT_PROPERTY_OVERRIDES := \
|
||||
ro.ril.hsxpa=1 \
|
||||
ro.ril.gprsclass=10
|
||||
|
||||
LOCAL_KERNEL := prebuilt/android-x86/kernel/kernel-vbox
|
||||
|
||||
PRODUCT_COPY_FILES := \
|
||||
development/data/etc/apns-conf.xml:system/etc/apns-conf.xml \
|
||||
development/data/etc/vold.conf:system/etc/vold.conf
|
||||
$(LOCAL_KERNEL):kernel \
|
||||
$(LOCAL_PATH)/init.rc:root/init.rc
|
||||
|
|
|
@ -18,8 +18,12 @@
|
|||
# Open-Source part of the tree. It's geared toward a US-centric
|
||||
# build quite specifically for the emulator, and might not be
|
||||
# entirely appropriate to inherit from for on-device configurations.
|
||||
ifdef NET_ETH0_STARTONBOOT
|
||||
PRODUCT_PROPERTY_OVERRIDES += net.eth0.startonboot=1
|
||||
endif
|
||||
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_x86.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/board/vbox_x86/device.mk)
|
||||
|
||||
PRODUCT_NAME := vbox_x86
|
||||
PRODUCT_DEVICE := vbox_x86
|
||||
|
|
Loading…
Reference in New Issue