summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2009-06-09 21:22:33 +0200
committerDoug Zongker <dougz@android.com>2009-06-11 23:50:33 +0200
commitddd6a2865db5c73a4bb9d486f71a8c2f1f96ec69 (patch)
treea991238ca9fd1299d295d6229df882585ca0c659 /Android.mk
parentam 9b9c2114: Merge change 3514 into donut (diff)
downloadandroid_bootable_recovery-ddd6a2865db5c73a4bb9d486f71a8c2f1f96ec69.tar
android_bootable_recovery-ddd6a2865db5c73a4bb9d486f71a8c2f1f96ec69.tar.gz
android_bootable_recovery-ddd6a2865db5c73a4bb9d486f71a8c2f1f96ec69.tar.bz2
android_bootable_recovery-ddd6a2865db5c73a4bb9d486f71a8c2f1f96ec69.tar.lz
android_bootable_recovery-ddd6a2865db5c73a4bb9d486f71a8c2f1f96ec69.tar.xz
android_bootable_recovery-ddd6a2865db5c73a4bb9d486f71a8c2f1f96ec69.tar.zst
android_bootable_recovery-ddd6a2865db5c73a4bb9d486f71a8c2f1f96ec69.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk17
1 files changed, 11 insertions, 6 deletions
diff --git a/Android.mk b/Android.mk
index 8c1de7366..ba8201782 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,11 +1,11 @@
+ifneq ($(TARGET_SIMULATOR),true)
+ifeq ($(TARGET_ARCH),arm)
+
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
commands_recovery_local_path := $(LOCAL_PATH)
-ifneq ($(TARGET_SIMULATOR),true)
-ifeq ($(TARGET_ARCH),arm)
-
LOCAL_SRC_FILES := \
recovery.c \
bootloader.c \
@@ -29,17 +29,22 @@ LOCAL_FORCE_STATIC_EXECUTABLE := true
LOCAL_MODULE_TAGS := eng
-LOCAL_STATIC_LIBRARIES := libminzip libunz libamend libmtdutils libmincrypt
+LOCAL_STATIC_LIBRARIES :=
+ifeq ($(TARGET_RECOVERY_UI_LIB),)
+ LOCAL_SRC_FILES += default_recovery_ui.c
+else
+ LOCAL_STATIC_LIBRARIES += $(TARGET_RECOVERY_UI_LIB)
+endif
+LOCAL_STATIC_LIBRARIES += libminzip libunz libamend libmtdutils libmincrypt
LOCAL_STATIC_LIBRARIES += libminui libpixelflinger_static libpng libcutils
LOCAL_STATIC_LIBRARIES += libstdc++ libc
include $(BUILD_EXECUTABLE)
-include $(commands_recovery_local_path)/minui/Android.mk
-
endif # TARGET_ARCH == arm
endif # !TARGET_SIMULATOR
+include $(commands_recovery_local_path)/minui/Android.mk
include $(commands_recovery_local_path)/amend/Android.mk
include $(commands_recovery_local_path)/minzip/Android.mk
include $(commands_recovery_local_path)/mtdutils/Android.mk