remove unused defines. dont try to mount boot if it is emmc or bml either.
Change-Id: I835f74785938be940111f03a6b092b926681d745
This commit is contained in:
parent
c7ef9af5d7
commit
a9f0e7fdfe
@ -26,12 +26,12 @@ LOCAL_MODULE := recovery
|
||||
|
||||
LOCAL_FORCE_STATIC_EXECUTABLE := true
|
||||
|
||||
RECOVERY_VERSION := ClockworkMod Recovery v3.0.0.5
|
||||
RECOVERY_VERSION := ClockworkMod Recovery v3.0.0.6
|
||||
LOCAL_CFLAGS += -DRECOVERY_VERSION="$(RECOVERY_VERSION)"
|
||||
RECOVERY_API_VERSION := 2
|
||||
LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION)
|
||||
|
||||
BOARD_RECOVERY_DEFINES := BOARD_HAS_NO_SELECT_BUTTON BOARD_HAS_MTD_CACHE BOARD_HAS_SMALL_RECOVERY BOARD_LDPI_RECOVERY BOARD_RECOVERY_IGNORE_BOOTABLES
|
||||
BOARD_RECOVERY_DEFINES := BOARD_HAS_NO_SELECT_BUTTON BOARD_HAS_SMALL_RECOVERY BOARD_LDPI_RECOVERY
|
||||
|
||||
$(foreach board_define,$(BOARD_RECOVERY_DEFINES), \
|
||||
$(if $($(board_define)), \
|
||||
|
@ -987,7 +987,7 @@ void create_fstab()
|
||||
return;
|
||||
}
|
||||
Volume *vol = volume_for_path("/boot");
|
||||
if (NULL != vol && strcmp(vol->fs_type, "mtd") != 0)
|
||||
if (NULL != vol && strcmp(vol->fs_type, "mtd") != 0 && strcmp(vol->fs_type, "emmc") != 0 && strcmp(vol->fs_type, "bml") != 0)
|
||||
write_fstab_root("/boot", file);
|
||||
write_fstab_root("/cache", file);
|
||||
write_fstab_root("/data", file);
|
||||
|
Loading…
Reference in New Issue
Block a user