summaryrefslogtreecommitdiffstats
path: root/target/board
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-03-20 12:57:19 -0700
committerYing Wang <wangying@google.com>2014-03-20 13:01:31 -0700
commitc6848b398d776ca2303d5a6c225c6339a89e67f7 (patch)
tree4871d978c390d6007c80cdacbd7febf8e3c55565 /target/board
parent4f9d6f57fdea05904c6f45c7799aa7a0d0a32457 (diff)
downloadbuild-c6848b398d776ca2303d5a6c225c6339a89e67f7.zip
build-c6848b398d776ca2303d5a6c225c6339a89e67f7.tar.gz
build-c6848b398d776ca2303d5a6c225c6339a89e67f7.tar.bz2
Remove the redundant DISABLE_DEXPREOPT
To disable dexpreopt, use just: WITH_DEXPREOPT=false Change-Id: I5804f3774f8ec50eb16c5336776dbce0c28b16d9
Diffstat (limited to 'target/board')
-rw-r--r--target/board/generic_x86/BoardConfig.mk2
-rwxr-xr-xtarget/board/generic_x86_64/BoardConfig.mk2
-rw-r--r--target/board/vbox_x86/BoardConfig.mk2
3 files changed, 3 insertions, 3 deletions
diff --git a/target/board/generic_x86/BoardConfig.mk b/target/board/generic_x86/BoardConfig.mk
index db89582..c634bcd 100644
--- a/target/board/generic_x86/BoardConfig.mk
+++ b/target/board/generic_x86/BoardConfig.mk
@@ -24,7 +24,7 @@ BOARD_MALLOC_ALIGNMENT := 16
# Enable dex-preoptimization to speed up the first boot sequence
# of an SDK AVD. Note that this operation only works on Linux for now
ifeq ($(HOST_OS),linux)
-WITH_DEXPREOPT := true
+WITH_DEXPREOPT ?= true
endif
# Build OpenGLES emulation host and guest libraries
diff --git a/target/board/generic_x86_64/BoardConfig.mk b/target/board/generic_x86_64/BoardConfig.mk
index b58336a..7f2715e 100755
--- a/target/board/generic_x86_64/BoardConfig.mk
+++ b/target/board/generic_x86_64/BoardConfig.mk
@@ -30,7 +30,7 @@ BOARD_MALLOC_ALIGNMENT := 16
# Enable dex-preoptimization to speed up the first boot sequence
# of an SDK AVD. Note that this operation only works on Linux for now
ifeq ($(HOST_OS),linux)
-WITH_DEXPREOPT := true
+WITH_DEXPREOPT ?= true
endif
# disable the emulator
diff --git a/target/board/vbox_x86/BoardConfig.mk b/target/board/vbox_x86/BoardConfig.mk
index 815ad9e..e5a1d3e 100644
--- a/target/board/vbox_x86/BoardConfig.mk
+++ b/target/board/vbox_x86/BoardConfig.mk
@@ -3,7 +3,6 @@
#
TARGET_ARCH=x86
-DISABLE_DEXPREOPT := true
TARGET_COMPRESS_MODULE_SYMBOLS := false
TARGET_NO_RECOVERY := true
TARGET_HARDWARE_3D := false
@@ -32,6 +31,7 @@ TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
# Reserve 265M for the system partition
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 268435456
+WITH_DEXPREOPT := false
# The eth0 device should be started with dhcp on boot.
# Useful for emulators that don't provide a wifi connection.