From 9020c2323b6e45c74e9b959d8fa9e4234eaf6fb3 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Fri, 1 Jun 2018 14:11:15 -0700 Subject: [PATCH] Skip copying files from LINKED to PACKED directories. When stand-alone relocation_packer is not used, use the LINKED file and skip the copy to PACKED directory. Test: make checkbuild Change-Id: Ia1e5d1cd22ca6dfb68e406ffdcbb367b4d07d437 --- core/dynamic_binary.mk | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/core/dynamic_binary.mk b/core/dynamic_binary.mk index e5592082f4..693a0e268d 100644 --- a/core/dynamic_binary.mk +++ b/core/dynamic_binary.mk @@ -55,14 +55,10 @@ ifeq (false,$(my_use_clang_lld)) $(relocation_packer_output): $(relocation_packer_input) $(pack-elf-relocations) else -$(relocation_packer_output): $(relocation_packer_input) - @echo "target Unpacked: $(PRIVATE_MODULE) ($@)" - $(copy-file-to-target) +relocation_packer_output := $(relocation_packer_input) endif # my_use_clang_lld else -$(relocation_packer_output): $(relocation_packer_input) - @echo "target Unpacked: $(PRIVATE_MODULE) ($@)" - $(copy-file-to-target) +relocation_packer_output := $(relocation_packer_input) endif # my_pack_module_relocations ###########################################################