2010-08-23 23:13:14 +00:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
2010-08-29 19:35:10 +00:00
|
|
|
ifndef BOARD_HAS_SMALL_RECOVERY
|
|
|
|
|
2011-10-04 23:33:30 +00:00
|
|
|
|
2010-08-23 23:13:14 +00:00
|
|
|
include $(CLEAR_VARS)
|
2011-10-04 23:33:30 +00:00
|
|
|
LOCAL_MODULE := fix_permissions
|
2010-08-23 23:13:14 +00:00
|
|
|
LOCAL_MODULE_TAGS := eng
|
|
|
|
LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
|
|
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
|
|
|
include $(BUILD_PREBUILT)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
2011-10-04 23:33:30 +00:00
|
|
|
LOCAL_MODULE := parted
|
2010-08-23 23:13:14 +00:00
|
|
|
LOCAL_MODULE_TAGS := eng
|
|
|
|
LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
|
|
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
|
|
|
include $(BUILD_PREBUILT)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
2011-10-04 23:33:30 +00:00
|
|
|
LOCAL_MODULE := sdparted
|
2010-08-23 23:13:14 +00:00
|
|
|
LOCAL_MODULE_TAGS := eng
|
|
|
|
LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
|
|
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
|
|
|
include $(BUILD_PREBUILT)
|
|
|
|
|
2011-11-23 22:06:12 +00:00
|
|
|
ALL_DEFAULT_INSTALLED_MODULES += $(RECOVERY_BUSYBOX_SYMLINKS) $(TARGET_RECOVERY_ROOT_OUT)/sbin/fix_permissions $(TARGET_RECOVERY_ROOT_OUT)/sbin/parted $(TARGET_RECOVERY_ROOT_OUT)/sbin/sdparted
|
|
|
|
|
2011-10-04 23:33:30 +00:00
|
|
|
endif
|
|
|
|
|
2010-08-23 23:13:14 +00:00
|
|
|
include $(CLEAR_VARS)
|
2011-10-04 23:33:30 +00:00
|
|
|
LOCAL_MODULE := e2fsck
|
2010-08-23 23:13:14 +00:00
|
|
|
LOCAL_MODULE_TAGS := eng
|
|
|
|
LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
|
|
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
|
|
|
include $(BUILD_PREBUILT)
|
|
|
|
|
2011-10-04 23:33:30 +00:00
|
|
|
|
2010-08-23 23:13:14 +00:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := tune2fs
|
|
|
|
LOCAL_MODULE_TAGS := eng
|
|
|
|
LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
|
|
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
|
|
|
include $(BUILD_PREBUILT)
|
2010-08-29 19:35:10 +00:00
|
|
|
|
2011-06-28 00:52:25 +00:00
|
|
|
ifeq ($(BOARD_HAS_LARGE_FILESYSTEM),true)
|
2011-03-20 12:28:09 +00:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := mke2fs
|
|
|
|
LOCAL_MODULE_TAGS := eng
|
|
|
|
LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
|
2011-09-01 06:25:23 +00:00
|
|
|
ifeq ($(BOARD_MKE2FS),)
|
2011-03-20 12:28:09 +00:00
|
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
2011-09-01 06:25:23 +00:00
|
|
|
else
|
|
|
|
LOCAL_SRC_FILES := ../../../$(BOARD_MKE2FS)
|
|
|
|
endif
|
2011-03-20 12:28:09 +00:00
|
|
|
include $(BUILD_PREBUILT)
|
2010-08-29 19:35:10 +00:00
|
|
|
endif
|
2011-11-10 18:55:22 +00:00
|
|
|
|
2011-11-23 22:06:12 +00:00
|
|
|
ALL_DEFAULT_INSTALLED_MODULES += $(RECOVERY_BUSYBOX_SYMLINKS) $(TARGET_RECOVERY_ROOT_OUT)/sbin/e2fsck $(TARGET_RECOVERY_ROOT_OUT)/sbin/tune2fs $(TARGET_RECOVERY_ROOT_OUT)/sbin/mke2fs
|
|
|
|
|
2011-11-11 08:41:57 +00:00
|
|
|
BOARD_RECOVERY_RFS_CHECK := $(shell grep rfs $(TARGET_DEVICE_DIR)/recovery.fstab)
|
|
|
|
ifneq ($(BOARD_RECOVERY_RFS_CHECK),)
|
2011-11-10 18:55:22 +00:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := fat.format
|
|
|
|
LOCAL_MODULE_TAGS := eng
|
|
|
|
LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
|
|
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
|
|
|
include $(BUILD_PREBUILT)
|
2011-11-23 22:06:12 +00:00
|
|
|
|
|
|
|
ALL_DEFAULT_INSTALLED_MODULES += $(RECOVERY_BUSYBOX_SYMLINKS) $(TARGET_RECOVERY_ROOT_OUT)/sbin/fat.format
|
2011-11-11 08:41:57 +00:00
|
|
|
endif
|