]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/AutoGen/GenMake.py
BaseTools: add '-p' for Linux 'cp' command.
authorChen, Christine <Yuwei.Chen@intel.com>
Fri, 8 Jul 2022 13:10:00 +0000 (21:10 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sun, 17 Jul 2022 02:20:51 +0000 (02:20 +0000)
commit176016387f0a6ad16efcfdcef19fd90bdc3a77e4
tree54dc6a352d5d38f780083909e5d956fb868b9cab
parent07c8e5e59b117f2414d7c928d3f86c85574f1fc3
BaseTools: add '-p' for Linux 'cp' command.

Currently BaseTools use 'cp' command for PcdValueInit and GenMake
process, as the command can not keep the time info of the source
file, which will cause incremental build issue in Linux system,
thus the '-p' need be added to keep the source file's attributes
in copy process.

This patch fixes this issue.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Yuwei Chen <yuwei.chen@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/AutoGen/GenMake.py
BaseTools/Source/Python/Workspace/DscBuildData.py