From 5ab3281dbeec1fabaed6cce1cc142c26b44779f7 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Mon, 27 Jun 2011 11:06:10 -0700 Subject: [PATCH] use BOARD_HAS_SMALL_RECOVERY instead of BOARD_HAS_LARGE_FILESYSTEM Change-Id: I7fe8bf226bdcf6429df62ae7fee82b5dabe6725b --- 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 0046dc9..0b84efc 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_LARGE_FILESYSTEM),true) -LOCAL_CFLAGS += -DBOARD_HAS_LARGE_FILESYSTEM +ifeq ($(BOARD_HAS_SMALL_RECOVERY),true) +LOCAL_CFLAGS += -DBOARD_HAS_SMALL_RECOVERY endif LOCAL_SRC_FILES := \ diff --git a/mmcutils/mmcutils.c b/mmcutils/mmcutils.c index 76b8ff8..dbd2246 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_LARGE_FILESYSTEM +#ifdef BOARD_HAS_SMALL_RECOVERY 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 79201a3..899e4ea 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_LARGE_FILESYSTEM),true) +ifeq ($(BOARD_HAS_SMALL_RECOVERY),true) include $(CLEAR_VARS) LOCAL_MODULE := mke2fs LOCAL_MODULE_TAGS := eng