summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2016-01-20 15:48:49 +0100
committerEthan Yonker <dees_troy@teamw.in>2016-01-20 15:48:49 +0100
commitb82422a6c354215118316f58781da4f5354406cc (patch)
tree0b6b9fadab3d81e99f159a9f12419bd0b7445321
parentlibblkid: fix compiler warnings about duplicate macros (diff)
downloadandroid_bootable_recovery-b82422a6c354215118316f58781da4f5354406cc.tar
android_bootable_recovery-b82422a6c354215118316f58781da4f5354406cc.tar.gz
android_bootable_recovery-b82422a6c354215118316f58781da4f5354406cc.tar.bz2
android_bootable_recovery-b82422a6c354215118316f58781da4f5354406cc.tar.lz
android_bootable_recovery-b82422a6c354215118316f58781da4f5354406cc.tar.xz
android_bootable_recovery-b82422a6c354215118316f58781da4f5354406cc.tar.zst
android_bootable_recovery-b82422a6c354215118316f58781da4f5354406cc.zip
-rw-r--r--Android.mk10
-rw-r--r--prebuilt/Android.mk3
-rw-r--r--prebuilt/suarm (renamed from prebuilt/su)bin75364 -> 75364 bytes
3 files changed, 11 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 0ac82ba99..3bed65081 100644
--- a/Android.mk
+++ b/Android.mk
@@ -390,7 +390,15 @@ ifeq ($(TW_INCLUDE_DUMLOCK), true)
endif
ifneq ($(TW_EXCLUDE_SUPERSU), true)
LOCAL_ADDITIONAL_DEPENDENCIES += \
- su install-recovery.sh 99SuperSUDaemon Superuser.apk
+ install-recovery.sh 99SuperSUDaemon Superuser.apk
+ ifeq ($(TARGET_ARCH), arm)
+ LOCAL_ADDITIONAL_DEPENDENCIES += \
+ chattr.pie libsupol.so suarm supolicy
+ endif
+ ifeq ($(TARGET_ARCH), arm64)
+ LOCAL_ADDITIONAL_DEPENDENCIES += \
+ libsupol.soarm64 suarm64 supolicyarm64
+ endif
endif
ifneq ($(TW_NO_EXFAT_FUSE), true)
LOCAL_ADDITIONAL_DEPENDENCIES += exfat-fuse
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index 81954257c..4ea7e71c8 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -374,7 +374,8 @@ ifneq ($(TW_EXCLUDE_SUPERSU), true)
#su binary
include $(CLEAR_VARS)
- LOCAL_MODULE := su
+ LOCAL_MODULE := suarm
+ LOCAL_MODULE_STEM := su
LOCAL_MODULE_TAGS := eng
LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/supersu
diff --git a/prebuilt/su b/prebuilt/suarm
index 38679b4ac..38679b4ac 100644
--- a/prebuilt/su
+++ b/prebuilt/suarm
Binary files differ