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