From 6af36a4f37b06a54db28bed6cbb6dd4467489a88 Mon Sep 17 00:00:00 2001 From: bigbiff bigbiff Date: Tue, 23 Apr 2019 20:05:28 -0400 Subject: bsd dd: include prebuilt bsd dd in twrp for Nougat and greater - Cleaned up toolbox/Android.mk so that BSD dd builds with correct Android versions Change-Id: Idb15811480ec03b05336d54b866233b5ac99dfaf --- prebuilt/Android.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'prebuilt') 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 -- cgit v1.2.3