diff --git a/core/Makefile b/core/Makefile index 311b55519..06dd3db0d 100644 --- a/core/Makefile +++ b/core/Makefile @@ -1314,7 +1314,6 @@ INTERNAL_SYSTEMIMAGE_FILES := $(filter $(TARGET_OUT)/%, \ $(PDK_FUSION_SYSIMG_FILES) \ $(RECOVERY_RESOURCE_ZIP)) - FULL_SYSTEMIMAGE_DEPS := $(INTERNAL_SYSTEMIMAGE_FILES) $(INTERNAL_USERIMAGES_DEPS) # ASAN libraries in the system image - add dependency. @@ -1436,6 +1435,9 @@ $(warning Warning: with dexpreopt enabled, you may need a full rebuild.) endif endif +.PHONY: sync +sync: $(INTERNAL_SYSTEMIMAGE_FILES) + ####### ## system tarball define build-systemtarball-target @@ -1818,6 +1820,8 @@ $(INSTALLED_VENDORIMAGE_TARGET): $(INTERNAL_USERIMAGES_DEPS) $(INTERNAL_VENDORIM vendorimage-nodeps vnod: | $(INTERNAL_USERIMAGES_DEPS) $(DEPMOD) $(build-vendorimage-target) +sync: $(INTERNAL_VENDORIMAGE_FILES) + else ifdef BOARD_PREBUILT_VENDORIMAGE INSTALLED_VENDORIMAGE_TARGET := $(PRODUCT_OUT)/vendor.img $(eval $(call copy-one-file,$(BOARD_PREBUILT_VENDORIMAGE),$(INSTALLED_VENDORIMAGE_TARGET)))