From 6170a0404494840efec24adcd5d9a1d02c402a8b Mon Sep 17 00:00:00 2001 From: Pat Tjin Date: Tue, 2 Feb 2021 16:03:12 -0800 Subject: [PATCH] Inherit from core_64_bit_only for 64 bit only builds. Bug: 179159233 Signed-off-by: Pat Tjin Change-Id: I58c2523914bc93ee58ed5091054feade1c75a0c4 --- aosp_redfin.mk | 4 ++++ 1 file changed, 4 insertions(+) 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