From aeb2103ab5184d46dc315f616acbf521f3aa1ab4 Mon Sep 17 00:00:00 2001 From: zbao Date: Fri, 11 Sep 2015 09:11:49 -0400 Subject: [PATCH] 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 Signed-off-by: Zheng Bao Reviewed-on: http://review.coreboot.org/11601 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- 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 e30935ff0a..bb383b99a0 100644 --- a/src/vendorcode/amd/pi/Makefile.inc +++ b/src/vendorcode/amd/pi/Makefile.inc @@ -86,7 +86,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)