summaryrefslogtreecommitdiff
path: root/aosp_redfin.mk
diff options
context:
space:
mode:
authorPat Tjin <pattjin@google.com>2021-02-02 16:03:12 -0800
committerPat Tjin <pattjin@google.com>2021-02-03 22:24:54 +0000
commit6170a0404494840efec24adcd5d9a1d02c402a8b (patch)
tree863f115e1cb8e2b09a2d6761c5b13a1e5a249308 /aosp_redfin.mk
parentcc9b68404e04a2a367cbb89d4c73dee19e4277e4 (diff)
downloadredfin-6170a0404494840efec24adcd5d9a1d02c402a8b.tar.gz
Inherit from core_64_bit_only for 64 bit only builds.
Bug: 179159233 Signed-off-by: Pat Tjin <pattjin@google.com> Change-Id: I58c2523914bc93ee58ed5091054feade1c75a0c4
Diffstat (limited to 'aosp_redfin.mk')
-rw-r--r--aosp_redfin.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/aosp_redfin.mk b/aosp_redfin.mk
index 6844c9f..a36607c 100644
--- a/aosp_redfin.mk
+++ b/aosp_redfin.mk
@@ -17,7 +17,11 @@
#
# All components inherited here go to system image
#
+ifeq (,$(filter %_64,$(TARGET_PRODUCT)))
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
+else
+$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk)
+endif
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk)
# Enable mainline checking