From 74d50ccb690f5b16354f9bb8b71d080925d71d19 Mon Sep 17 00:00:00 2001 From: "J. Avila" Date: Fri, 19 Jun 2020 20:42:17 +0000 Subject: [PATCH] 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 --- core/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Makefile b/core/Makefile index 4d4021d1e..62ddef631 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