Skip to content

Commit 815ca5d

Browse files
Shashank Mittalkoush
authored andcommitted
[recovery]: Add support for OTA upgrade on mmc devices.
Change-Id: I8f230dfa5be4e9f142765797d949e10434e1fdeb
1 parent 0209a62 commit 815ca5d

File tree

9 files changed

+592
-6
lines changed

9 files changed

+592
-6
lines changed

Android.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ else
149149
endif
150150
LOCAL_STATIC_LIBRARIES += libbusybox libclearsilverregex libmkyaffs2image libunyaffs liberase_image libdump_image libflash_image libmtdutils
151151
LOCAL_STATIC_LIBRARIES += libamend
152-
LOCAL_STATIC_LIBRARIES += libminzip libunz libmtdutils libmincrypt
152+
LOCAL_STATIC_LIBRARIES += libminzip libunz libmtdutils libmmcutils libmincrypt
153153
LOCAL_STATIC_LIBRARIES += libminui libpixelflinger_static libpng libcutils
154154
LOCAL_STATIC_LIBRARIES += libstdc++ libc
155155

@@ -216,6 +216,7 @@ include $(commands_recovery_local_path)/bmlutils/Android.mk
216216
include $(commands_recovery_local_path)/minui/Android.mk
217217
include $(commands_recovery_local_path)/minzip/Android.mk
218218
include $(commands_recovery_local_path)/mtdutils/Android.mk
219+
include $(commands_recovery_local_path)/mmcutils/Android.mk
219220
include $(commands_recovery_local_path)/tools/Android.mk
220221
include $(commands_recovery_local_path)/edify/Android.mk
221222
include $(commands_recovery_local_path)/updater/Android.mk

mmcutils/Android.mk

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
ifneq ($(TARGET_SIMULATOR),true)
2+
ifeq ($(TARGET_ARCH),arm)
3+
4+
LOCAL_PATH := $(call my-dir)
5+
include $(CLEAR_VARS)
6+
7+
LOCAL_SRC_FILES := \
8+
mmcutils.c
9+
10+
LOCAL_MODULE := libmmcutils
11+
12+
include $(BUILD_STATIC_LIBRARY)
13+
14+
endif # TARGET_ARCH == arm
15+
endif # !TARGET_SIMULATOR

0 commit comments

Comments
 (0)