]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Conf/build_rule.template
BaseTools/Conf: Add new macro for customizing dll file reduction.
authorWei6 Xu <wei6.xu@intel.com>
Thu, 20 Jan 2022 14:59:56 +0000 (22:59 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 7 Feb 2022 02:39:18 +0000 (02:39 +0000)
commitc09dbc92e9142ad46b3f73ac0eb5cc283cb81baf
tree4022ec4d3ede80709ce5f7aa38ce70e0b2fee285
parent6fb09da89f88000a7592171a0ce08cf1feaa0646
BaseTools/Conf: Add new macro for customizing dll file reduction.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3810

New macro OBJCOPY_STRIPFLAG is added in build_rule.template to replace
'--strip-unneeded -R .eh_frame', so that module can have some unique
objcopy flags for its own purpose.
In tools_def.template, set '--strip-unneeded -R .eh_frame' as default
value of OBJCOPY_STRIPFLAG.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Signed-off-by: Wei6 Xu <wei6.xu@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
BaseTools/Conf/build_rule.template
BaseTools/Conf/tools_def.template