From ec5fe91ead27bf4bfb4e728222ac6d475f04a18b Mon Sep 17 00:00:00 2001
From: Raphael Moll <ralf@android.com>
Date: Wed, 6 Jun 2012 19:33:31 -0700
Subject: SDK: Use "strip -x" for atree.

Also fixes atree to accept an alternate command via the env var ATREE_STRIP
and correctly splits it for execvp if it contains arguments.

Change-Id: I8691bdc569bea3dddfde6249217dc305b6ef19f7
---
 core/Makefile | 1 +
 1 file changed, 1 insertion(+)

(limited to 'core')

diff --git a/core/Makefile b/core/Makefile
index e136c45..74883d4 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1447,6 +1447,7 @@ $(INTERNAL_SDK_TARGET): $(deps)
 	done; \
 	if [ $$FAIL ]; then exit 1; fi
 	$(hide) ( \
+		ATREE_STRIP="strip -x" \
 		$(HOST_OUT_EXECUTABLES)/atree \
 		$(addprefix -f ,$(PRIVATE_INPUT_FILES)) \
 			-m $(PRIVATE_DEP_FILE) \
-- 
cgit v1.1