From 7819d15b3619681ae37a1349a6bec2440c829ae9 Mon Sep 17 00:00:00 2001 From: Guangyao Ma Date: Fri, 30 Jul 2021 16:45:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8E=BB=E6=8E=89=E5=86=97=E4=BD=99?= =?UTF-8?q?=E7=9A=84strip=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit toybox源码编译时,默认会进行strip操作,如下步骤: //third_party/toybox/scripts/make.sh:340: ! do_loudly ${CROSS_COMPILE}${STRIP} "$UNSTRIPPED" -o "$OUTNAME" 因此在打包的Makefile中再进行STRIP操作是冗余的。 close #I43767 Change-Id: I10a9861b682eb8e556b7af7519c9109eef0b3a94 Signed-off-by: Guangyao Ma --- apps/toybox/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/toybox/Makefile b/apps/toybox/Makefile index d4345bae..c4838eb7 100644 --- a/apps/toybox/Makefile +++ b/apps/toybox/Makefile @@ -50,7 +50,6 @@ endif LDFLAGS="--target=$(LLVM_TARGET) $(LLVM_SYSROOT)" \ make -C $(BUILD_DIR) toybox -j> $(BUILD_LOG) 2>&1 $(HIDE)$(CP) $(BUILD_DIR)/$(TOYBOX) . - $(HIDE)$(STRIP) $(TOYBOX) $(HIDE)mkdir -p $(APPS_OUT) $(HIDE)$(CP) $(TOYBOX) $(APPS_OUT) -- GitLab