The Basetools scripts have been updated to report warnings if header files are not listed in the [Sources] section of the inf files.
Update StandaloneMmCpu.inf to include the header file StandaloneMmCpu.h to fix the warning. Cc: Achin Gupta <achin.gu...@arm.com> Cc: Jiewen Yao <jiewen....@intel.com> Cc: Supreeth Venkatesh <supreeth.venkat...@arm.com> Signed-off-by: Sami Mujawar <sami.muja...@arm.com> --- The changes can be seen at: https://github.com/samimujawar/edk2/tree/696_stmm_fix_include_warning_v1 Notes: v2: - Fixed patch check failure in commit message, [SAMI] changed 'CC' to 'Cc'. No code change. v1: - Fix missing header warnings [SAMI] StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf index 5cc4915806db72e36da6cec85d5f690c0c958f16..e8f0c97f4513dec261800f49571e02c9e1e427ce 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf @@ -4,7 +4,7 @@ # # Copyright (c) 2009, Apple Inc. All rights reserved.<BR> # Copyright (c) 2016 HP Development Company, L.P. -# Copyright (c) 2017 - 2018, ARM Limited. All rights reserved. +# Copyright (c) 2017 - 2019, ARM Limited. All rights reserved. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -21,6 +21,7 @@ [Defines] [Sources] StandaloneMmCpu.c + StandaloneMmCpu.h EventHandle.c [Packages] -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#51225): https://edk2.groups.io/g/devel/message/51225 Mute This Topic: https://groups.io/mt/61916667/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-