use TARGET_RECOVERY_FSTAB location if defined
If TARGET_RECOVERY_FSTAB is defined use this location to find recovery.fstab Change-Id: Ic4cd26f5be064586359f39ff82d7f9b09ce57f53
This commit is contained in:
parent
08bedb21d8
commit
9a7615326e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user