[coreboot-gerrit] Patch set updated for coreboot: pi/Makefile: Remove cp option '-u'

Zheng Bao (zheng.bao@amd.com) gerrit at coreboot.org
Fri Sep 11 13:16:08 CET 2015


Zheng Bao (zheng.bao at amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11601

-gerrit

commit 2b6d19b85eee7d2b1d764709103387a9183e9638
Author: zbao <fishbaozi at gmail.com>
Date:   Fri Sep 11 09:11:49 2015 -0400

    pi/Makefile: Remove cp option '-u'
    
    "-u" is only for GNU cp. Cp of BSD and Solaris don't
    take this option.
    
    It is not necessary to compare the files before copying.
    
    Change-Id: I60cf57991275db0e075278f77a95ca5b8b941c7f
    Signed-off-by: Zheng Bao <zheng.bao at amd.com>
    Signed-off-by: Zheng Bao <fishbaozi at gmail.com>
---
 src/vendorcode/amd/pi/Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/vendorcode/amd/pi/Makefile.inc b/src/vendorcode/amd/pi/Makefile.inc
index a3d7fc1..b95fc5c 100644
--- a/src/vendorcode/amd/pi/Makefile.inc
+++ b/src/vendorcode/amd/pi/Makefile.inc
@@ -83,7 +83,7 @@ define create_agesa_cp_template
 $(agesa_src_path)/$(notdir $2): $2 $(agesa_src_path)
 	@printf "    AGESA      Copying $$(notdir $2) => $$(@D)\n"
 	if [ ! -r $(agesa_src_path)/$(notdir $2) ]; then                   \
-		cp -uf $2 $$(@D);                                                     \
+		cp -f $2 $$(@D);                                           \
 	fi
 
 $(agesa_obj_path)/$1.libagesa.o: $(agesa_src_path)/$(notdir $2) $(obj)/config.h $(src)/include/kconfig.h $(agesa_obj_path)



More information about the coreboot-gerrit mailing list