mirror of https://github.com/acidanthera/audk.git
PcAtChipsetPkg DSC: Add build option to disable deprecated APIs
Add the following definition in the [BuildOptions] section in package DSC files to disable APIs that are deprecated: [BuildOptions] *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
This commit is contained in:
parent
53c1e7e552
commit
f8dfdb8e84
|
@ -59,3 +59,6 @@
|
||||||
PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
|
PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
|
||||||
PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
|
PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
|
||||||
PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
|
PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
|
||||||
|
|
||||||
|
[BuildOptions]
|
||||||
|
*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|
||||||
|
|
Loading…
Reference in New Issue