Merge "Add TARGET_RECOVERY_FSTAB_GENRULE"

This commit is contained in:
Treehugger Robot 2022-01-12 20:55:38 +00:00 committed by Gerrit Code Review
commit 49c9d1867a

View file

@ -2117,6 +2117,9 @@ recovery_resource_deps += $(generated_recovery_text_files)
ifdef TARGET_RECOVERY_FSTAB
recovery_fstab := $(TARGET_RECOVERY_FSTAB)
else ifdef TARGET_RECOVERY_FSTAB_GENRULE
# Specifies a soong genrule module that generates an fstab.
recovery_fstab := $(call intermediates-dir-for,ETC,$(TARGET_RECOVERY_FSTAB_GENRULE))/$(TARGET_RECOVERY_FSTAB_GENRULE)
else
recovery_fstab := $(strip $(wildcard $(TARGET_DEVICE_DIR)/recovery.fstab))
endif