summaryrefslogtreecommitdiffstats
path: root/minui
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 /minui
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 '')
-rw-r--r--minui/Android.mk6
-rw-r--r--minuitwrp/Android.mk6
2 files changed, 10 insertions, 2 deletions
diff --git a/minui/Android.mk b/minui/Android.mk
index ddec62bf9..824eec659 100644
--- a/minui/Android.mk
+++ b/minui/Android.mk
@@ -32,7 +32,11 @@ ifeq ($(TW_TARGET_USES_QCOM_BSP), true)
LOCAL_CFLAGS += -DMSM_BSP
LOCAL_SRC_FILES += graphics_overlay.cpp
ifeq ($(TARGET_PREBUILT_KERNEL),)
- LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
+ ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 28; echo $$?),0)
+ LOCAL_REQUIRED_MODULES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
+ else
+ LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
+ endif
LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
else
ifeq ($(TARGET_CUSTOM_KERNEL_HEADERS),)
diff --git a/minuitwrp/Android.mk b/minuitwrp/Android.mk
index 3356402ba..2ca2091e1 100644
--- a/minuitwrp/Android.mk
+++ b/minuitwrp/Android.mk
@@ -21,7 +21,11 @@ ifeq ($(TW_TARGET_USES_QCOM_BSP), true)
LOCAL_CFLAGS += -DMSM_BSP
LOCAL_SRC_FILES += graphics_overlay.cpp
ifeq ($(TARGET_PREBUILT_KERNEL),)
- LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
+ ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 28; echo $$?),0)
+ LOCAL_REQUIRED_MODULES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
+ else
+ LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
+ endif
LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
else
ifeq ($(TARGET_CUSTOM_KERNEL_HEADERS),)