Revert "use BOARD_HAS_SMALL_RECOVERY instead of BOARD_HAS_LARGE_FILESYSTEM"
This reverts commit 5ab3281dbe
.
This commit is contained in:
parent
31c3ccf531
commit
47591ce0d0
@ -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 := \
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user