mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 22:54:51 +02:00
OvmfPkg: Increase default RELEASE build image size to 2MB
Fixes: https://github.com/tianocore/edk2/issues/47 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Cc: Bruce Cran <bruce@cran.org.uk> Cc: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Laszlo Ersek <lersek@redhat.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19775 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
d0b2d19082
commit
e3dca1859b
@ -15,6 +15,12 @@
|
|||||||
#
|
#
|
||||||
##
|
##
|
||||||
|
|
||||||
|
#
|
||||||
|
# Default flash size is 2MB.
|
||||||
|
#
|
||||||
|
# Defining FD_SIZE_1MB on the build command line can override this.
|
||||||
|
#
|
||||||
|
|
||||||
DEFINE BLOCK_SIZE = 0x1000
|
DEFINE BLOCK_SIZE = 0x1000
|
||||||
DEFINE VARS_SIZE = 0x20000
|
DEFINE VARS_SIZE = 0x20000
|
||||||
DEFINE VARS_BLOCKS = 0x20
|
DEFINE VARS_BLOCKS = 0x20
|
||||||
|
@ -15,19 +15,7 @@
|
|||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
#
|
|
||||||
# Default flash size for DEBUG build is 2MB. For RELEASE it is 1MB.
|
|
||||||
#
|
|
||||||
# Defining FD_SIZE_1MB or FD_SIZE_2MB on the build command line can
|
|
||||||
# override this.
|
|
||||||
#
|
|
||||||
[Defines]
|
[Defines]
|
||||||
!if $(TARGET) == RELEASE
|
|
||||||
!ifndef $(FD_SIZE_2MB)
|
|
||||||
DEFINE FD_SIZE_1MB=
|
|
||||||
!endif
|
|
||||||
!endif
|
|
||||||
|
|
||||||
!include OvmfPkg.fdf.inc
|
!include OvmfPkg.fdf.inc
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -15,19 +15,7 @@
|
|||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
#
|
|
||||||
# Default flash size for DEBUG build is 2MB. For RELEASE it is 1MB.
|
|
||||||
#
|
|
||||||
# Defining FD_SIZE_1MB or FD_SIZE_2MB on the build command line can
|
|
||||||
# override this.
|
|
||||||
#
|
|
||||||
[Defines]
|
[Defines]
|
||||||
!if $(TARGET) == RELEASE
|
|
||||||
!ifndef $(FD_SIZE_2MB)
|
|
||||||
DEFINE FD_SIZE_1MB=
|
|
||||||
!endif
|
|
||||||
!endif
|
|
||||||
|
|
||||||
!include OvmfPkg.fdf.inc
|
!include OvmfPkg.fdf.inc
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -15,19 +15,7 @@
|
|||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
#
|
|
||||||
# Default flash size for DEBUG build is 2MB. For RELEASE it is 1MB.
|
|
||||||
#
|
|
||||||
# Defining FD_SIZE_1MB or FD_SIZE_2MB on the build command line can
|
|
||||||
# override this.
|
|
||||||
#
|
|
||||||
[Defines]
|
[Defines]
|
||||||
!if $(TARGET) == RELEASE
|
|
||||||
!ifndef $(FD_SIZE_2MB)
|
|
||||||
DEFINE FD_SIZE_1MB=
|
|
||||||
!endif
|
|
||||||
!endif
|
|
||||||
|
|
||||||
!include OvmfPkg.fdf.inc
|
!include OvmfPkg.fdf.inc
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -231,8 +231,8 @@ longer.)
|
|||||||
- Install the drivers into a directory called Intel3.5 in your WORKSPACE.
|
- Install the drivers into a directory called Intel3.5 in your WORKSPACE.
|
||||||
|
|
||||||
- Include the driver in OVMF during the build:
|
- Include the driver in OVMF during the build:
|
||||||
- Add "-D E1000_ENABLE -D FD_SIZE_2MB" to your build command,
|
- Add "-D E1000_ENABLE" to your build command,
|
||||||
- For example: "build -D E1000_ENABLE -D FD_SIZE_2MB".
|
- For example: "build -D E1000_ENABLE".
|
||||||
|
|
||||||
* When a matching iPXE driver is configured for a NIC as described above, it
|
* When a matching iPXE driver is configured for a NIC as described above, it
|
||||||
takes priority over other drivers that could possibly drive the card too:
|
takes priority over other drivers that could possibly drive the card too:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user