summaryrefslogtreecommitdiffstats
path: root/target/board/generic
diff options
context:
space:
mode:
Diffstat (limited to 'target/board/generic')
-rw-r--r--target/board/generic/BoardConfig.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/board/generic/BoardConfig.mk b/target/board/generic/BoardConfig.mk
index 57e60d3..b25abb0 100644
--- a/target/board/generic/BoardConfig.mk
+++ b/target/board/generic/BoardConfig.mk
@@ -34,7 +34,9 @@ TARGET_SHELL := ash
# 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
+ ifeq ($(WITH_DEXPREOPT),)
+ WITH_DEXPREOPT := true
+ endif
endif
# Build OpenGLES emulation guest and host libraries