From a63220bcd13f12cc4f26cbda79ab0b4b93729fca Mon Sep 17 00:00:00 2001 From: Pat Tjin Date: Thu, 27 Jan 2022 13:30:50 -0800 Subject: [PATCH] Add tangor% to the pattern match Some targets are using tangor_xxx and some use xxx_tangor, cover both to avoid duplicate zygote props. Test: Build Signed-off-by: Pat Tjin Change-Id: I43b18f6b5296f7b1575a8d5e817b3f2281dc1e1c --- BoardConfig-common.mk | 2 +- aosp_common.mk | 2 +- device.mk | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BoardConfig-common.mk b/BoardConfig-common.mk index 1113b588..7b5287dd 100644 --- a/BoardConfig-common.mk +++ b/BoardConfig-common.mk @@ -32,7 +32,7 @@ TARGET_CPU_ABI := arm64-v8a TARGET_CPU_VARIANT := cortex-a55 TARGET_CPU_VARIANT_RUNTIME := cortex-a55 -ifeq (,$(filter %tangor %_64,$(TARGET_PRODUCT))) +ifeq (,$(filter %tangor tangor% %_64,$(TARGET_PRODUCT))) TARGET_2ND_ARCH := arm TARGET_2ND_ARCH_VARIANT := armv8-a TARGET_2ND_CPU_ABI := armeabi-v7a diff --git a/aosp_common.mk b/aosp_common.mk index e4e68635..57d67225 100644 --- a/aosp_common.mk +++ b/aosp_common.mk @@ -17,7 +17,7 @@ # # All components inherited here go to system image # -ifeq (,$(filter %tangor %_64,$(TARGET_PRODUCT))) +ifeq (,$(filter %tangor tangor% %_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) diff --git a/device.mk b/device.mk index d153692c..dad8e372 100644 --- a/device.mk +++ b/device.mk @@ -18,7 +18,7 @@ include device/google/gs-common/device.mk TARGET_BOARD_PLATFORM := gs101 -ifneq (,$(filter %tangor %_64,$(TARGET_PRODUCT))) +ifneq (,$(filter %tangor tangor% %_64,$(TARGET_PRODUCT))) LOCAL_64ONLY := _64 endif @@ -897,7 +897,7 @@ ifneq ($(BOARD_WITHOUT_RADIO),true) $(call inherit-product-if-exists, vendor/samsung_slsi/telephony/$(BOARD_USES_SHARED_VENDOR_TELEPHONY)/common/device-vendor.mk) endif -ifeq (,$(filter %tangor %_64,$(TARGET_PRODUCT))) +ifeq (,$(filter %tangor tangor% %_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)