summaryrefslogtreecommitdiff
path: root/hikey64_only.mk
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2018-02-08 14:57:45 +0000
committerAnton Hansson <hansson@google.com>2018-02-12 11:42:14 +0000
commit1399b12aaa602ccd4cb97c366c4ea3fe05f5a3be (patch)
treefc845655d5e952713ea95f28adcdb8413eae37d4 /hikey64_only.mk
parent8ba551fd28ec2ece48c7685ca8d8fb92f2586239 (diff)
downloadhikey-1399b12aaa602ccd4cb97c366c4ea3fe05f5a3be.tar.gz
Add a 64 bit only product for hikey.
Also restructure some of the current make files: - make a hikey-common.mk instead of importing hikey.mk and overriding - don't set ro.zygote etc directly, import the helper makefiles instead This new product avoids building all the 32 bit native executables and libraries that gets built for the 'hikey' product. Sample benefits: - makes the build faster - saves ram and cpu, because there is no 32 bit zygote created - frees up space on the system partition Test: lunch hikey && m -j Test: lunch hikey32 && m -j Test: lunch hikey64_only && m -j Bug: 72810053 Change-Id: I0d40b1c1c4e763b14258df7034921e0a3dc12208
Diffstat (limited to 'hikey64_only.mk')
-rw-r--r--hikey64_only.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/hikey64_only.mk b/hikey64_only.mk
new file mode 100644
index 00000000..c2b4320a
--- /dev/null
+++ b/hikey64_only.mk
@@ -0,0 +1,6 @@
+$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk)
+$(call inherit-product, device/linaro/hikey/hikey-common.mk)
+
+PRODUCT_NAME := hikey64_only
+PRODUCT_DEVICE := hikey64
+PRODUCT_BRAND := Android