OSDN Git Service
(root)
/
android-x86
/
system-extras.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c64ea2
)
su: disable the legacy su binary
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Wed, 21 Aug 2013 06:03:12 +0000
(14:03 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Wed, 21 Aug 2013 06:06:43 +0000
(14:06 +0800)
Use the su binary from Superuser if SUPERUSER_EMBEDDED is defined.
su/Android.mk
patch
|
blob
|
history
diff --git
a/su/Android.mk
b/su/Android.mk
index
0593cc9
..
50c94d1
100644
(file)
--- a/
su/Android.mk
+++ b/
su/Android.mk
@@
-1,3
+1,4
@@
+ifneq ($(SUPERUSER_EMBEDDED),true)
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
@@
-13,3
+14,4
@@
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
LOCAL_MODULE_TAGS := debug
include $(BUILD_EXECUTABLE)
+endif