OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43ce148
)
x86: strip all unneeded symbols for a userdebug build
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Fri, 23 Aug 2013 08:37:28 +0000
(16:37 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Fri, 18 Apr 2014 03:20:51 +0000
(11:20 +0800)
core/combo/TARGET_linux-x86.mk
patch
|
blob
|
history
diff --git
a/core/combo/TARGET_linux-x86.mk
b/core/combo/TARGET_linux-x86.mk
index
623ca2d
..
624ff02
100644
(file)
--- a/
core/combo/TARGET_linux-x86.mk
+++ b/
core/combo/TARGET_linux-x86.mk
@@
-53,7
+53,7
@@
TARGET_OBJCOPY := $(TARGET_TOOLS_PREFIX)objcopy$(HOST_EXECUTABLE_SUFFIX)
TARGET_LD := $(TARGET_TOOLS_PREFIX)ld$(HOST_EXECUTABLE_SUFFIX)
TARGET_STRIP := $(TARGET_TOOLS_PREFIX)strip$(HOST_EXECUTABLE_SUFFIX)
-if
eq ($(TARGET_BUILD_VARIANT),user
)
+if
neq ($(findstring user,$(TARGET_BUILD_VARIANT)),
)
TARGET_STRIP_COMMAND = $(TARGET_STRIP) --strip-unneeded $< -o $@
else
TARGET_STRIP_COMMAND = $(TARGET_STRIP) --strip-debug $< -o $@ && \