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
This commit is contained in:
Yumi Yukimura
2025-08-14 23:36:13 +08:00
committed by Zabuka_zuzu
parent b4fd15940a
commit d2c855b172

View File

@@ -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