use BOARD_HAS_SMALL_RECOVERY instead of BOARD_HAS_LARGE_FILESYSTEM
Change-Id: I7fe8bf226bdcf6429df62ae7fee82b5dabe6725b
This commit is contained in:
parent
b986fe24b4
commit
5ab3281dbe
@ -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 := \
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user