forked from openkylin/platform_build
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
This commit is contained in:
parent
99e317ce2d
commit
74d50ccb69
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue