summaryrefslogtreecommitdiffstats
path: root/toybox
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 /toybox
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 'toybox')
-rw-r--r--toybox/Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/toybox/Android.mk b/toybox/Android.mk
index 5f6edec3f..0850d5845 100644
--- a/toybox/Android.mk
+++ b/toybox/Android.mk
@@ -585,7 +585,11 @@ $(SYMLINKS): $(LOCAL_INSTALLED_MODULE) $(LOCAL_PATH)/Android.mk
include $(CLEAR_VARS)
LOCAL_MODULE := toybox_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)
endif