From d2c855b172de66a40d7a03dec302389456b67ce5 Mon Sep 17 00:00:00 2001 From: Yumi Yukimura Date: Thu, 14 Aug 2025 23:36:13 +0800 Subject: [PATCH] config: Use a more accurate approach to locate device makefile for EPPE * This approach should cover Pixel device trees where the name of 3rd level directory differs from the device codename Change-Id: I5fe9390482259b0e7d53130aae0e5a66bc310983 --- config/common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/common.mk b/config/common.mk index ae3f1e81..23005444 100644 --- a/config/common.mk +++ b/config/common.mk @@ -142,7 +142,7 @@ PRODUCT_RESTRICT_VENDOR_FILES := false ifneq ($(TARGET_DISABLE_EPPE),true) # Require all requested packages to exist -$(call enforce-product-packages-exist-internal,$(wildcard device/*/$(LINEAGE_BUILD)/$(TARGET_PRODUCT).mk),product_manifest.xml rild Calendar android.hidl.memory@1.0-impl.vendor vndk_apex_snapshot_package) +$(call enforce-product-packages-exist-internal,$(lastword $(_include_stack)),product_manifest.xml rild Calendar android.hidl.memory@1.0-impl.vendor vndk_apex_snapshot_package) endif # Build Manifest