Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 64c2ddb6 authored by Cole Faust's avatar Cole Faust
Browse files

Add TARGET_RECOVERY_FSTAB_GENRULE

This variable can be set instead of TARGET_RECOVERY_FSTAB
in order to specify a generated fstab file.

Bug: 201700692
Test: Presubmits
Change-Id: If0fae81ec53915e9ed4bab2e8b1a9f8376894537
parent 802c86f8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2132,6 +2132,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