From 9a7615326e8f18288614dacee454ef7ca02645ce Mon Sep 17 00:00:00 2001 From: eaut Date: Sat, 5 May 2012 16:39:40 +0200 Subject: [PATCH] use TARGET_RECOVERY_FSTAB location if defined If TARGET_RECOVERY_FSTAB is defined use this location to find recovery.fstab Change-Id: Ic4cd26f5be064586359f39ff82d7f9b09ce57f53 --- utilities/Android.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/utilities/Android.mk b/utilities/Android.mk index 2a6ca9a..0b0ef7c 100755 --- a/utilities/Android.mk +++ b/utilities/Android.mk @@ -52,7 +52,12 @@ include $(BUILD_PREBUILT) # endif # include $(BUILD_PREBUILT) -BOARD_RECOVERY_RFS_CHECK := $(shell grep rfs $(TARGET_DEVICE_DIR)/recovery.fstab) +ifneq ($(TARGET_RECOVERY_FSTAB),) + BOARD_RECOVERY_RFS_CHECK := $(shell grep rfs $(TARGET_RECOVERY_FSTAB)) +else + BOARD_RECOVERY_RFS_CHECK := $(shell grep rfs $(TARGET_DEVICE_DIR)/recovery.fstab) +endif + ifneq ($(BOARD_RECOVERY_RFS_CHECK),) include $(CLEAR_VARS) LOCAL_MODULE := fat.format