diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2024-12-27 15:34:11 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-01-21 05:02:38 +0000 |
commit | 8d0e23d998e6181b3ba032bfc7e3217f8c396c69 (patch) | |
tree | ec68d1a35811ac2788b2badee504afa927368dda /BaseTools/Source/Python | |
parent | ca4e19ccc2dae7d2874fcba6bc1d78e9076d5fcc (diff) | |
download | edk2-8d0e23d998e6181b3ba032bfc7e3217f8c396c69.zip edk2-8d0e23d998e6181b3ba032bfc7e3217f8c396c69.tar.gz edk2-8d0e23d998e6181b3ba032bfc7e3217f8c396c69.tar.bz2 |
BaseTools/Conf: Simplify VS20xx HOST_APPLICATION builds
Add Empty_C_File_Host_Application_Build.c to BaseTools/Conf
that is a C source file with only comments that is used to
compile into an OBJ file using CC_FLAGS for a HOST_APPLICATION
module and the OBJ is passed into the VS20xx DLINK action to
provide the context required to select the correct default
windows application libraries.
Update build_rule.template to compile the empty C file and
generate OBJ in the OUTPUT_DIR of the HOST_APPLICATION
component and use the OBJ in the DLINK action.
This simplifies CC_FLAGS and DLINK_FLAGS for all modules
of type HOST_APPLICATION.
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions