summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2018-01-04 15:59:36 +0100
committerDees Troy <dees_troy@teamw.in>2018-01-04 16:00:15 +0100
commit3eb70edb4a9cd03b3b1c9dd54b801579f06b60ca (patch)
tree57de896831bebbd5d1be94d4cf3f2ac44da5e928
parentAdd spblob decrypt for secdis method (Pixel 1 non-weaver) (diff)
downloadandroid_bootable_recovery-3eb70edb4a9cd03b3b1c9dd54b801579f06b60ca.tar
android_bootable_recovery-3eb70edb4a9cd03b3b1c9dd54b801579f06b60ca.tar.gz
android_bootable_recovery-3eb70edb4a9cd03b3b1c9dd54b801579f06b60ca.tar.bz2
android_bootable_recovery-3eb70edb4a9cd03b3b1c9dd54b801579f06b60ca.tar.lz
android_bootable_recovery-3eb70edb4a9cd03b3b1c9dd54b801579f06b60ca.tar.xz
android_bootable_recovery-3eb70edb4a9cd03b3b1c9dd54b801579f06b60ca.tar.zst
android_bootable_recovery-3eb70edb4a9cd03b3b1c9dd54b801579f06b60ca.zip
-rw-r--r--minuitwrp/Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/minuitwrp/Android.mk b/minuitwrp/Android.mk
index 3f83c9754..09bdb8d48 100644
--- a/minuitwrp/Android.mk
+++ b/minuitwrp/Android.mk
@@ -48,7 +48,11 @@ endif
ifneq ($(wildcard external/libdrm/Android.mk),)
LOCAL_CFLAGS += -DHAS_DRM
LOCAL_SRC_FILES += graphics_drm.cpp
- LOCAL_WHOLE_STATIC_LIBRARIES += libdrm
+ ifneq ($(wildcard external/libdrm/Android.common.mk),)
+ LOCAL_WHOLE_STATIC_LIBRARIES += libdrm_platform
+ else
+ LOCAL_WHOLE_STATIC_LIBRARIES += libdrm
+ endif
endif
LOCAL_C_INCLUDES += \