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

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Thu Nov 5 13:34:46 CET 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11601

-gerrit

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

    amd/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