summaryrefslogtreecommitdiffstats
path: root/prebuilt
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2019-04-24 02:05:28 +0200
committerbigbiff bigbiff <bigbiff@teamw.in>2019-05-05 01:55:16 +0200
commit6af36a4f37b06a54db28bed6cbb6dd4467489a88 (patch)
treefd8cf9a6a17cee64f15faf39be19d6c95116a7de /prebuilt
parentMerge "awk: add awk for trees including one-true-awk" into android-9.0 (diff)
downloadandroid_bootable_recovery-6af36a4f37b06a54db28bed6cbb6dd4467489a88.tar
android_bootable_recovery-6af36a4f37b06a54db28bed6cbb6dd4467489a88.tar.gz
android_bootable_recovery-6af36a4f37b06a54db28bed6cbb6dd4467489a88.tar.bz2
android_bootable_recovery-6af36a4f37b06a54db28bed6cbb6dd4467489a88.tar.lz
android_bootable_recovery-6af36a4f37b06a54db28bed6cbb6dd4467489a88.tar.xz
android_bootable_recovery-6af36a4f37b06a54db28bed6cbb6dd4467489a88.tar.zst
android_bootable_recovery-6af36a4f37b06a54db28bed6cbb6dd4467489a88.zip
Diffstat (limited to 'prebuilt')
-rw-r--r--prebuilt/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index e0e9dbcd7..05e750a53 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -27,6 +27,9 @@ else
if [ -e "$(TARGET_RECOVERY_ROOT_OUT)/sbin/fgrep" ]; then \
rm $(TARGET_RECOVERY_ROOT_OUT)/sbin/fgrep; fi; ln -sr $(TARGET_RECOVERY_ROOT_OUT)/sbin/grep $(TARGET_RECOVERY_ROOT_OUT)/sbin/fgrep;
RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/toybox
+ ifeq ($(shell test $(PLATFORM_SDK_VERSION) -gt 23; echo $$?),0)
+ RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/dd
+ endif
ifneq ($(wildcard external/zip/Android.mk),)
RELINK_SOURCE_FILES += $(TARGET_OUT_OPTIONAL_EXECUTABLES)/zip
endif