diff options
author | leozwang <leozwang@google.com> | 2014-09-08 12:42:33 -0700 |
---|---|---|
committer | leozwang <leozwang@google.com> | 2014-09-08 13:55:57 -0700 |
commit | 94dbaf7049a7947e51d8ec3c62634e3acc29b590 (patch) | |
tree | ad15b6dc2dc3fc1933ab6a7574b421323245a8bd | |
parent | 2520a45e5f6c277b4e6a3e5cf6b3c54b9aea185e (diff) | |
download | mini-emulator-armv7-a-neon-94dbaf7049a7947e51d8ec3c62634e3acc29b590.tar.gz |
Enable optimization only for emulator target.android-wear-5.0.0_r1android-5.0.1_r1android-5.0.0_r7android-5.0.0_r6android-5.0.0_r5.1android-5.0.0_r5android-5.0.0_r4android-5.0.0_r3android-5.0.0_r2android-5.0.0_r1lollipop-wear-releaselollipop-dev
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.mk | 6 |
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 |