summaryrefslogtreecommitdiffstats
path: root/toolbox
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2019-04-24 23:09:07 +0200
committerDees Troy <dees_troy@teamw.in>2019-05-24 22:39:12 +0200
commitabf1fb00862cec01d457972419fbff4b95cc6300 (patch)
tree33d00f57c1f7c7783eca85c9a383db43d279957d /toolbox
parentDigest: Create digest for each subpartition and not just the first. (diff)
downloadandroid_bootable_recovery-abf1fb00862cec01d457972419fbff4b95cc6300.tar
android_bootable_recovery-abf1fb00862cec01d457972419fbff4b95cc6300.tar.gz
android_bootable_recovery-abf1fb00862cec01d457972419fbff4b95cc6300.tar.bz2
android_bootable_recovery-abf1fb00862cec01d457972419fbff4b95cc6300.tar.lz
android_bootable_recovery-abf1fb00862cec01d457972419fbff4b95cc6300.tar.xz
android_bootable_recovery-abf1fb00862cec01d457972419fbff4b95cc6300.tar.zst
android_bootable_recovery-abf1fb00862cec01d457972419fbff4b95cc6300.zip
Diffstat (limited to 'toolbox')
-rw-r--r--toolbox/Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/toolbox/Android.mk b/toolbox/Android.mk
index 926743850..986b7a4ec 100644
--- a/toolbox/Android.mk
+++ b/toolbox/Android.mk
@@ -307,7 +307,11 @@ $(SYMLINKS): $(LOCAL_INSTALLED_MODULE)
include $(CLEAR_VARS)
LOCAL_MODULE := toolbox_symlinks
LOCAL_MODULE_TAGS := optional
-LOCAL_ADDITIONAL_DEPENDENCIES := $(SYMLINKS)
+ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 28; echo $$?),0)
+ LOCAL_REQUIRED_MODULES := $(SYMLINKS)
+else
+ LOCAL_ADDITIONAL_DEPENDENCIES := $(SYMLINKS)
+endif
include $(BUILD_PHONY_PACKAGE)
ifneq (,$(filter $(PLATFORM_SDK_VERSION),16 17 18))