summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2016-01-12 05:21:18 +0100
committerDees Troy <dees_troy@teamw.in>2016-01-14 17:40:43 +0100
commit483e9f45b71458b84ccbbaf658449b58f029a63b (patch)
treeb3542c7aba58b360faed66f65f375ec8a6b1e1bb /Android.mk
parentgui: theme changes for terminal (diff)
downloadandroid_bootable_recovery-483e9f45b71458b84ccbbaf658449b58f029a63b.tar
android_bootable_recovery-483e9f45b71458b84ccbbaf658449b58f029a63b.tar.gz
android_bootable_recovery-483e9f45b71458b84ccbbaf658449b58f029a63b.tar.bz2
android_bootable_recovery-483e9f45b71458b84ccbbaf658449b58f029a63b.tar.lz
android_bootable_recovery-483e9f45b71458b84ccbbaf658449b58f029a63b.tar.xz
android_bootable_recovery-483e9f45b71458b84ccbbaf658449b58f029a63b.tar.zst
android_bootable_recovery-483e9f45b71458b84ccbbaf658449b58f029a63b.zip
Diffstat (limited to '')
-rw-r--r--Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 44149736b..0ac82ba99 100644
--- a/Android.mk
+++ b/Android.mk
@@ -374,7 +374,11 @@ ifneq ($(TW_NO_EXFAT), true)
LOCAL_ADDITIONAL_DEPENDENCIES += mkexfatfs fsckexfat
endif
ifeq ($(BOARD_HAS_NO_REAL_SDCARD),)
- LOCAL_ADDITIONAL_DEPENDENCIES += parted
+ ifeq ($(shell test $(PLATFORM_SDK_VERSION) -gt 22; echo $$?),0)
+ LOCAL_ADDITIONAL_DEPENDENCIES += sgdisk
+ else
+ LOCAL_ADDITIONAL_DEPENDENCIES += sgdisk_static
+ endif
endif
ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS), true)
LOCAL_ADDITIONAL_DEPENDENCIES += openaes ../openaes/LICENSE