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@amd.com>
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/11601
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
zbao 2015-09-11 09:11:49 -04:00 committed by Zheng Bao
parent eb90aaf29e
commit aeb2103ab5
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ define create_agesa_cp_template
$(agesa_src_path)/$(notdir $2): $2 $(agesa_src_path) $(agesa_src_path)/$(notdir $2): $2 $(agesa_src_path)
@printf " AGESA Copying $$(notdir $2) => $$(@D)\n" @printf " AGESA Copying $$(notdir $2) => $$(@D)\n"
if [ ! -r $(agesa_src_path)/$(notdir $2) ]; then \ if [ ! -r $(agesa_src_path)/$(notdir $2) ]; then \
cp -uf $2 $$(@D); \ cp -f $2 $$(@D); \
fi fi
$(agesa_obj_path)/$1.libagesa.o: $(agesa_src_path)/$(notdir $2) $(obj)/config.h $(src)/include/kconfig.h $(agesa_obj_path) $(agesa_obj_path)/$1.libagesa.o: $(agesa_src_path)/$(notdir $2) $(obj)/config.h $(src)/include/kconfig.h $(agesa_obj_path)