summaryrefslogtreecommitdiffstats
path: root/core/Makefile
diff options
context:
space:
mode:
authorRaphael <raphael@google.com>2011-05-27 14:02:31 -0700
committerXavier Ducrohet <xav@android.com>2011-06-22 17:11:24 -0700
commit0b6ece9dafcf6f06dd4418829434cdc4376375a3 (patch)
treea65d57503bfa2d74597fe133aa0c2881fa0d28da /core/Makefile
parent0b22d93be32eeff06e6626ad766b040057b931a5 (diff)
downloadbuild-0b6ece9dafcf6f06dd4418829434cdc4376375a3.zip
build-0b6ece9dafcf6f06dd4418829434cdc4376375a3.tar.gz
build-0b6ece9dafcf6f06dd4418829434cdc4376375a3.tar.bz2
SDK: properly strip all SDK llvm-rs-cc linux binaries.
Change-Id: Id3f024e90ef04eff4cc13a2202fcc9e94c5ac72f
Diffstat (limited to 'core/Makefile')
-rw-r--r--core/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Makefile b/core/Makefile
index 7ff896e..2751203 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1404,9 +1404,9 @@ $(INTERNAL_SDK_TARGET): $(deps)
$(PRIVATE_DIR)/platforms/android-$(PLATFORM_VERSION)/images/NOTICE.txt && \
cp -f $(tools_notice_file_txt) $(PRIVATE_DIR)/tools/NOTICE.txt && \
cp -f $(tools_notice_file_txt) $(PRIVATE_DIR)/platform-tools/NOTICE.txt && \
- if [ -f $(PRIVATE_DIR)/platform-tools/llvm-rs-cc ]; then \
- $(HOST_STRIP_SDK_LLVM) $(PRIVATE_DIR)/platform-tools/llvm-rs-cc; \
- fi && \
+ for f in $(PRIVATE_DIR)/platform-tools/llvm-rs-cc-* ; do \
+ if [ -f "$$f" ]; then $(HOST_STRIP_SDK_LLVM) "$$f"; fi; \
+ done && \
HOST_OUT_EXECUTABLES=$(HOST_OUT_EXECUTABLES) HOST_OS=$(HOST_OS) \
development/build/tools/sdk_clean.sh $(PRIVATE_DIR) && \
chmod -R ug+rwX $(PRIVATE_DIR) && \