summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2009-11-15 21:05:33 +0100
committerJean-Baptiste Queru <jbq@google.com>2009-11-15 21:05:33 +0100
commitb2ce982d432338d36a41bd57e35a14459fc3d30b (patch)
tree7fd574307953a0bbde499194ab4006a7cae3f8b9 /Android.mk
parentmerge from donut (diff)
parenteclair snapshot (diff)
downloadandroid_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.tar
android_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.tar.gz
android_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.tar.bz2
android_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.tar.lz
android_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.tar.xz
android_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.tar.zst
android_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk14
1 files changed, 10 insertions, 4 deletions
diff --git a/Android.mk b/Android.mk
index ecf26401f..deec80ae4 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 \
@@ -31,7 +31,13 @@ LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION)
LOCAL_MODULE_TAGS := eng
-LOCAL_STATIC_LIBRARIES := libminzip libunz 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 libmtdutils libmincrypt
LOCAL_STATIC_LIBRARIES += libminui libpixelflinger_static libpng libcutils
LOCAL_STATIC_LIBRARIES += libstdc++ libc