diff --git a/core/Makefile b/core/Makefile index cb28c2d9c4..8498cc9364 100644 --- a/core/Makefile +++ b/core/Makefile @@ -5110,6 +5110,7 @@ $(error EMPTY_VENDOR_SKU_PLACEHOLDER is an internal variable and cannot be used endif # -- Check system and system_ext manifests / matrices including fragments (excluding other framework manifests / matrices, e.g. product); +ifdef BUILDING_SYSTEM_IMAGE check_vintf_system_deps := $(filter $(TARGET_OUT)/etc/vintf/% \ $(TARGET_OUT_SYSTEM_EXT)/etc/vintf/%, \ $(check_vintf_common_srcs)) @@ -5139,6 +5140,8 @@ $(call declare-1p-target,$(vintffm_log)) endif # check_vintf_system_deps check_vintf_system_deps := +endif # BUILDING_SYSTEM_IMAGE + # -- Check vendor manifest / matrix including fragments (excluding other device manifests / matrices) check_vintf_vendor_deps := $(filter $(TARGET_OUT_VENDOR)/etc/vintf/% \ $(TARGET_OUT_VENDOR)/apex/%, \