Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…ther.

Change-Id: I835f74785938be940111f03a6b092b926681d745
  • Loading branch information...
commit a9f0e7fdfef01622a93a2430714cb2a0c5f96aa6 1 parent c7ef9af
Koushik Dutta koush authored

Showing 2 changed files with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +2 2 Android.mk
  2. +1 1  extendedcommands.c
4 Android.mk
@@ -26,12 +26,12 @@ LOCAL_MODULE := recovery
26 26
27 27 LOCAL_FORCE_STATIC_EXECUTABLE := true
28 28
29   -RECOVERY_VERSION := ClockworkMod Recovery v3.0.0.5
  29 +RECOVERY_VERSION := ClockworkMod Recovery v3.0.0.6
30 30 LOCAL_CFLAGS += -DRECOVERY_VERSION="$(RECOVERY_VERSION)"
31 31 RECOVERY_API_VERSION := 2
32 32 LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION)
33 33
34   -BOARD_RECOVERY_DEFINES := BOARD_HAS_NO_SELECT_BUTTON BOARD_HAS_MTD_CACHE BOARD_HAS_SMALL_RECOVERY BOARD_LDPI_RECOVERY BOARD_RECOVERY_IGNORE_BOOTABLES
  34 +BOARD_RECOVERY_DEFINES := BOARD_HAS_NO_SELECT_BUTTON BOARD_HAS_SMALL_RECOVERY BOARD_LDPI_RECOVERY
35 35
36 36 $(foreach board_define,$(BOARD_RECOVERY_DEFINES), \
37 37 $(if $($(board_define)), \
2  extendedcommands.c
@@ -987,7 +987,7 @@ void create_fstab()
987 987 return;
988 988 }
989 989 Volume *vol = volume_for_path("/boot");
990   - if (NULL != vol && strcmp(vol->fs_type, "mtd") != 0)
  990 + if (NULL != vol && strcmp(vol->fs_type, "mtd") != 0 && strcmp(vol->fs_type, "emmc") != 0 && strcmp(vol->fs_type, "bml") != 0)
991 991 write_fstab_root("/boot", file);
992 992 write_fstab_root("/cache", file);
993 993 write_fstab_root("/data", file);

0 comments on commit a9f0e7f

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