aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ. Avila <elavila@google.com>2020-06-19 20:42:17 +0000
committerJ. Avila <elavila@google.com>2020-06-22 15:31:27 +0000
commit74d50ccb690f5b16354f9bb8b71d080925d71d19 (patch)
tree202a286c9e1d6eb5f9268cfbdd49c2e431c72dc6
parent99e317ce2dfe1817dd72ed3ac89991d419e125af (diff)
downloadbuild-74d50ccb690f5b16354f9bb8b71d080925d71d19.tar.gz
Switch to using llvm-strip for modules
The gcc tools are deprecated; replace with the llvm equivalent. Bug: 158484106 Merged-In: I9c3717bde281667eec82cc21dc63dc7fd5592a46 Change-Id: I9c3717bde281667eec82cc21dc63dc7fd5592a46
-rw-r--r--core/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Makefile b/core/Makefile
index 4d4021d1e4..62ddef6319 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -721,7 +721,7 @@ DEPMOD_STAGING_SUBDIR :=$= lib/modules/0.0
define copy-and-strip-kernel-module
$(2): $(1)
- $($(LOCAL_2ND_ARCH_VAR_PREFIX)TARGET_STRIP) -o $(2) --strip-debug $(1)
+ $(LLVM_STRIP) -o $(2) --strip-debug $(1)
endef
# $(1): modules list