summaryrefslogtreecommitdiffstats
path: root/CleanSpec.mk
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2011-03-16 16:52:43 -0700
committerIliyan Malchev <malchev@google.com>2011-03-17 10:09:59 -0700
commit0cafe839e079f71e4799868d03a39ec82aa277a7 (patch)
tree71bdb979243f8cc0eec5d4ebdacbf5b510602e94 /CleanSpec.mk
parent28149769b35227080090e48c9da5d07de9a4ee83 (diff)
downloadbuild-0cafe839e079f71e4799868d03a39ec82aa277a7.tar.gz
build-0cafe839e079f71e4799868d03a39ec82aa277a7.tar.bz2
build-0cafe839e079f71e4799868d03a39ec82aa277a7.zip
build: pass --strip-all, not --strip-debug to strip
Option --strip-all will remove the static symbol section in addition to debug symbols. We do not need the static symbol table in libraries installed on the target. Change-Id: I7a52d22f5b45aa727f31bfd9af796b289528caef Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'CleanSpec.mk')
-rw-r--r--CleanSpec.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/CleanSpec.mk b/CleanSpec.mk
index c49f26c4a..134b08af6 100644
--- a/CleanSpec.mk
+++ b/CleanSpec.mk
@@ -71,7 +71,6 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
-
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/lib/*.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/*.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/symbols/system/lib/*.so)
@@ -81,6 +80,10 @@ $(call add-clean-step, rm -rf $(HOST_OUT_EXECUTABLES)/apriori)
$(call add-clean-step, rm -rf $(HOST_OUT_EXECUTABLES)/isprelinked)
$(call add-clean-step, rm -rf $(HOST_OUT_EXECUTABLES)/soslim)
+$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/lib/*.so)
+$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/*.so)
+$(call add-clean-step, rm -rf $(PRODUCT_OUT)/symbols/system/lib/*.so)
+
# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************