Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Platform/Sgi: Add Firmware Version Support #259

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

#define TYPE0_STRINGS \
"ARM LTD\0" /* Vendor */ \
"EDK II\0" /* BiosVersion */ \
__DATE__"\0" /* BiosReleaseDate */ \
EDK2_PLAT_FW_REL_VERSION /* BiosVersion */ \
"\0"__DATE__"\0" /* BiosReleaseDate */ \
"\0"

typedef enum {
Expand Down
4 changes: 3 additions & 1 deletion Platform/ARM/SgiPkg/SgiPlatform.dsc.inc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
DEFINE CPPC_EN = FALSE

[BuildOptions]
*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
# EDK2_PLAT_FW_REL_VERSION macro resolve to value like RD-INFRA-2024.09.30.
# This value is set in build-uefi.sh
*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES -DEDK2_PLAT_FW_REL_VERSION=\"$(EDK2_PLAT_FW_REL_VERSION)\"

[LibraryClasses.common]
ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
Expand Down
Loading