summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-11-10 18:22:10 +0100
committerEthan Yonker <dees_troy@teamw.in>2014-11-12 18:03:50 +0100
commitbcc502cff9fea2d892a0344879e420df1d10fb47 (patch)
tree05b239cbc41d72372343f4dbe78ee0674b3ee146 /Android.mk
parentupdate theme thanks to Alexey71 on xda. (diff)
downloadandroid_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.tar
android_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.tar.gz
android_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.tar.bz2
android_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.tar.lz
android_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.tar.xz
android_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.tar.zst
android_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.zip
Diffstat (limited to '')
-rw-r--r--Android.mk24
1 files changed, 16 insertions, 8 deletions
diff --git a/Android.mk b/Android.mk
index 13f4c849c..2b7d7db26 100644
--- a/Android.mk
+++ b/Android.mk
@@ -89,9 +89,9 @@ LOCAL_C_INCLUDES += bionic external/stlport/stlport
LOCAL_STATIC_LIBRARIES :=
LOCAL_SHARED_LIBRARIES :=
-LOCAL_STATIC_LIBRARIES += libcrecovery libguitwrp
+LOCAL_STATIC_LIBRARIES += libguitwrp
LOCAL_SHARED_LIBRARIES += libz libc libstlport libcutils libstdc++ libtar libblkid libminuitwrp libminadbd libmtdutils libminzip libaosprecovery
-LOCAL_SHARED_LIBRARIES += libgccdemangle
+LOCAL_SHARED_LIBRARIES += libgccdemangle libcrecovery
ifneq ($(wildcard system/core/libsparse/Android.mk),)
LOCAL_SHARED_LIBRARIES += libsparse
@@ -324,15 +324,10 @@ endif
LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker
LOCAL_ADDITIONAL_DEPENDENCIES := \
- busybox_symlinks \
- dosfsck \
- dosfslabel \
dump_image \
erase_image \
flash_image \
fix_permissions.sh \
- fsck_msdos_symlink \
- mkdosfs \
mke2fs.conf \
mkexfatfs \
pigz \
@@ -342,6 +337,16 @@ LOCAL_ADDITIONAL_DEPENDENCIES := \
unpigz_symlink \
updater
+ifneq ($(TARGET_ARCH), arm64)
+ LOCAL_ADDITIONAL_DEPENDENCIES += \
+ dosfsck \
+ dosfslabel \
+ fsck_msdos_symlink \
+ mkdosfs
+endif
+ifneq ($(TW_USE_TOOLBOX), true)
+ LOCAL_ADDITIONAL_DEPENDENCIES += busybox_symlinks
+endif
ifeq ($(BOARD_HAS_NO_REAL_SDCARD),)
LOCAL_ADDITIONAL_DEPENDENCIES += parted
endif
@@ -495,7 +500,6 @@ include $(commands_recovery_local_path)/injecttwrp/Android.mk \
$(commands_recovery_local_path)/mtdutils/Android.mk \
$(commands_recovery_local_path)/flashutils/Android.mk \
$(commands_recovery_local_path)/pigz/Android.mk \
- $(commands_recovery_local_path)/dosfstools/Android.mk \
$(commands_recovery_local_path)/libtar/Android.mk \
$(commands_recovery_local_path)/crypto/cryptsettings/Android.mk \
$(commands_recovery_local_path)/crypto/cryptfs/Android.mk \
@@ -508,6 +512,10 @@ include $(commands_recovery_local_path)/injecttwrp/Android.mk \
$(commands_recovery_local_path)/twrpTarMain/Android.mk \
$(commands_recovery_local_path)/mtp/Android.mk
+ifneq ($(TARGET_ARCH), arm64)
+ include $(commands_recovery_local_path)/dosfstools/Android.mk
+endif
+
ifeq ($(TW_INCLUDE_CRYPTO_SAMSUNG), true)
include $(commands_recovery_local_path)/crypto/libcrypt_samsung/Android.mk
endif