Skip to content
Browse files

remove unused defines. dont try to mount boot if it is emmc or bml ei…

…ther.

Change-Id: I835f74785938be940111f03a6b092b926681d745
  • Loading branch information...
1 parent c7ef9af commit a9f0e7fdfef01622a93a2430714cb2a0c5f96aa6 @koush koush committed Feb 12, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 Android.mk
  2. +1 −1 extendedcommands.c
View
4 Android.mk
@@ -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)), \
View
2 extendedcommands.c
@@ -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);

0 comments on commit a9f0e7f

Please sign in to comment.
Something went wrong with that request. Please try again.