FmpDevicePkg/FmpDevicePkg.dsc | 3 +++ 1 file changed, 3 insertions(+)
Add DISABLE_NEW_DEPRECATED_INTERFACES build options to make sure
no deprecated interface used in this package.
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
---
FmpDevicePkg/FmpDevicePkg.dsc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/FmpDevicePkg/FmpDevicePkg.dsc b/FmpDevicePkg/FmpDevicePkg.dsc
index a4eac1e60de0..525640de2e1b 100644
--- a/FmpDevicePkg/FmpDevicePkg.dsc
+++ b/FmpDevicePkg/FmpDevicePkg.dsc
@@ -132,3 +132,6 @@ [Components]
<LibraryClasses>
DisplayUpdateProgressLib|MdeModulePkg/Library/DisplayUpdateProgressLibText/DisplayUpdateProgressLibText.inf
}
+
+[BuildOptions]
+ *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
--
2.7.0.windows.1
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com> Mike > -----Original Message----- > From: Zeng, Star > Sent: Wednesday, July 25, 2018 3:31 AM > To: edk2-devel@lists.01.org > Cc: Zeng, Star <star.zeng@intel.com>; Kinney, Michael D > <michael.d.kinney@intel.com> > Subject: [staging/FmpDevicePkg-master][PATCH] > FmpDevicePkg: Add DISABLE_NEW_DEPRECATED_INTERFACES > build options > > Add DISABLE_NEW_DEPRECATED_INTERFACES build options to > make sure > no deprecated interface used in this package. > > Cc: Michael D Kinney <michael.d.kinney@intel.com> > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Star Zeng <star.zeng@intel.com> > --- > FmpDevicePkg/FmpDevicePkg.dsc | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/FmpDevicePkg/FmpDevicePkg.dsc > b/FmpDevicePkg/FmpDevicePkg.dsc > index a4eac1e60de0..525640de2e1b 100644 > --- a/FmpDevicePkg/FmpDevicePkg.dsc > +++ b/FmpDevicePkg/FmpDevicePkg.dsc > @@ -132,3 +132,6 @@ [Components] > <LibraryClasses> > > DisplayUpdateProgressLib|MdeModulePkg/Library/DisplayUp > dateProgressLibText/DisplayUpdateProgressLibText.inf > } > + > +[BuildOptions] > + *_*_*_CC_FLAGS = -D > DISABLE_NEW_DEPRECATED_INTERFACES > -- > 2.7.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel
© 2016 - 2024 Red Hat, Inc.