summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BoardConfigCommon.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 23adb7c..8829ae9 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -168,10 +168,12 @@ TARGET_TAP_TO_WAKE_NODE := "/proc/nvt_wake_gesture"
# Enable dexpreopt to speed boot time
ifeq ($(HOST_OS),linux)
ifneq ($(TARGET_BUILD_VARIANT),eng)
- WITH_DEXPREOPT := true
+ ifeq ($(WITH_DEXPREOPT),)
+ WITH_DEXPREOPT := true
+ WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := true
+ endif
endif
endif
-WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := true
# FM
AUDIO_FEATURE_ENABLED_FM_POWER_OPT := true