microsoft / mu_feature_config

Project Mu - Feature Repo - UEFI User Config and Management Support
https://microsoft.github.io/mu/
Other
20 stars 27 forks source link

Fixed autogen script when no user input for profile IDs #259

Closed kuqin12 closed 1 year ago

kuqin12 commented 1 year ago

Description

The previous change of adding profile ID into the autogenerated headers caused the build to break when there is no input for this parameter supplied: https://github.com/microsoft/mu_tiano_platforms/pull/723.

This change added the corresponding edge case handling and updated the autogenerated header formatting so that the output is self-consistent instead of strictly following the user input.

How This Was Tested

This was tested on the top of QEMU Q35 platform and confirmed building and booting to shell.

Integration Instructions

N/A