OvmfPkg: give more telling names to some FDF include files

Leif suggested that FDF include files should preferably refer with their
names to the FDF file sections from which they are included.

Therefore

- rename "OvmfPkg.fdf.inc" to "OvmfPkgDefines.fdf.inc" (included from the
  [Defines] section),

- rename "DecomprScratchEnd.fdf.inc" to "FvmainCompactScratchEnd.fdf.inc"
  (included under the [FV.FVMAIN_COMPACT] section).

Cc: Anthony Perard <anthony.perard@citrix.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Julien Grall <julien@xen.org>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Ref: http://mid.mail-archive.com/20200312142006.GG23627@bivouac.eciton.net
Ref: https://edk2.groups.io/g/devel/message/55812
Suggested-by: Leif Lindholm <leif@nuviainc.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20200312223555.29267-3-lersek@redhat.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
This commit is contained in:
Laszlo Ersek 2020-03-12 23:35:55 +01:00 committed by mergify[bot]
parent 912718d8c7
commit 799d88c1ba
6 changed files with 8 additions and 8 deletions

View File

@ -11,7 +11,7 @@
################################################################################
[Defines]
!include OvmfPkg.fdf.inc
!include OvmfPkgDefines.fdf.inc
#
# Build the variable store and the firmware code as one unified flash device
@ -397,7 +397,7 @@ FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
}
}
!include DecomprScratchEnd.fdf.inc
!include FvmainCompactScratchEnd.fdf.inc
################################################################################

View File

@ -11,7 +11,7 @@
################################################################################
[Defines]
!include OvmfPkg.fdf.inc
!include OvmfPkgDefines.fdf.inc
#
# Build the variable store and the firmware code as one unified flash device
@ -400,7 +400,7 @@ FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
}
}
!include DecomprScratchEnd.fdf.inc
!include FvmainCompactScratchEnd.fdf.inc
################################################################################

View File

@ -11,7 +11,7 @@
################################################################################
[Defines]
!include OvmfPkg.fdf.inc
!include OvmfPkgDefines.fdf.inc
#
# Build the variable store and the firmware code as one unified flash device
@ -400,7 +400,7 @@ FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
}
}
!include DecomprScratchEnd.fdf.inc
!include FvmainCompactScratchEnd.fdf.inc
################################################################################

View File

@ -12,7 +12,7 @@
################################################################################
[Defines]
!include OvmfPkg.fdf.inc
!include OvmfPkgDefines.fdf.inc
#
# This will allow the flash device image to be recognize as an ELF, with first
@ -442,7 +442,7 @@ FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
}
}
!include DecomprScratchEnd.fdf.inc
!include FvmainCompactScratchEnd.fdf.inc
################################################################################