From a9f0e7fdfef01622a93a2430714cb2a0c5f96aa6 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Sat, 12 Feb 2011 10:21:11 -0800 Subject: [PATCH] remove unused defines. dont try to mount boot if it is emmc or bml either. Change-Id: I835f74785938be940111f03a6b092b926681d745 --- Android.mk | 4 ++-- extendedcommands.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Android.mk b/Android.mk index 1dc34a5..0179dc0 100644 --- a/Android.mk +++ b/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)), \ diff --git a/extendedcommands.c b/extendedcommands.c index c6e9dc2..1ce3bf1 100644 --- a/extendedcommands.c +++ b/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);