summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleozwang <leozwang@google.com>2014-09-08 12:42:33 -0700
committerleozwang <leozwang@google.com>2014-09-08 13:55:57 -0700
commit94dbaf7049a7947e51d8ec3c62634e3acc29b590 (patch)
treead15b6dc2dc3fc1933ab6a7574b421323245a8bd
parent2520a45e5f6c277b4e6a3e5cf6b3c54b9aea185e (diff)
downloadmini-emulator-armv7-a-neon-94dbaf7049a7947e51d8ec3c62634e3acc29b590.tar.gz
For PDK build, we first build platform.zip then build mini_emulator_ target to build final images by invoking "PDK_FUSION_PLATFORM_ZIP=x.zip make". However, in our internal test, I want to have optimization enabled to speed up booting. This patch should not break existing PDK build process but at the same time speed up internal PDK emulator build. Change-Id: I3c872d77af25accdb93e914679bcc357bf845ba3
-rw-r--r--BoardConfig.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 1bbeaad..6005df5 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -4,3 +4,9 @@
#
include device/generic/armv7-a-neon/BoardConfig.mk
+
+ifndef PDK_FUSION_PLATFORM_ZIP
+ifeq ($(HOST_OS),linux)
+ WITH_DEXPREOPT := true
+endif
+endif # PDK_FUSION_PLATFORM_ZIP