From 47591ce0d0f87bf2a2e00c61c57d0cec2cea51f9 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Mon, 27 Jun 2011 17:52:25 -0700 Subject: [PATCH] Revert "use BOARD_HAS_SMALL_RECOVERY instead of BOARD_HAS_LARGE_FILESYSTEM" This reverts commit 5ab3281dbeec1fabaed6cce1cc142c26b44779f7. --- mmcutils/Android.mk | 4 ++-- mmcutils/mmcutils.c | 2 +- utilities/Android.mk | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mmcutils/Android.mk b/mmcutils/Android.mk index 0b84efc..0046dc9 100644 --- a/mmcutils/Android.mk +++ b/mmcutils/Android.mk @@ -4,8 +4,8 @@ ifeq ($(TARGET_ARCH),arm) LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) -ifeq ($(BOARD_HAS_SMALL_RECOVERY),true) -LOCAL_CFLAGS += -DBOARD_HAS_SMALL_RECOVERY +ifeq ($(BOARD_HAS_LARGE_FILESYSTEM),true) +LOCAL_CFLAGS += -DBOARD_HAS_LARGE_FILESYSTEM endif LOCAL_SRC_FILES := \ diff --git a/mmcutils/mmcutils.c b/mmcutils/mmcutils.c index dbd2246..76b8ff8 100644 --- a/mmcutils/mmcutils.c +++ b/mmcutils/mmcutils.c @@ -340,7 +340,7 @@ run_exec_process ( char **argv) { int format_ext3_device (const char *device) { -#ifdef BOARD_HAS_SMALL_RECOVERY +#ifdef BOARD_HAS_LARGE_FILESYSTEM char *const mke2fs[] = {MKE2FS_BIN, "-j", "-q", device, NULL}; char *const tune2fs[] = {TUNE2FS_BIN, "-C", "1", device, NULL}; #else diff --git a/utilities/Android.mk b/utilities/Android.mk index 899e4ea..79201a3 100755 --- a/utilities/Android.mk +++ b/utilities/Android.mk @@ -42,7 +42,7 @@ LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin LOCAL_SRC_FILES := $(LOCAL_MODULE) include $(BUILD_PREBUILT) -ifeq ($(BOARD_HAS_SMALL_RECOVERY),true) +ifeq ($(BOARD_HAS_LARGE_FILESYSTEM),true) include $(CLEAR_VARS) LOCAL_MODULE := mke2fs LOCAL_MODULE_TAGS := eng