Add support for a RELASE build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9858 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -32,12 +32,8 @@
|
||||
|
||||
|
||||
[LibraryClasses.common]
|
||||
!if TARGET_HACK == DEBUG
|
||||
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
||||
!else
|
||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
||||
!endif
|
||||
|
||||
# DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
||||
|
||||
ArmLib|ArmPkg/Library/ArmLib/ArmCortexA/ArmCortexArmLib.inf
|
||||
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
||||
@@ -169,10 +165,10 @@
|
||||
XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv6 -march=armv6
|
||||
XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv6
|
||||
XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv6
|
||||
XCODE:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
|
||||
|
||||
RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A8
|
||||
RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A8
|
||||
|
||||
RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A8
|
||||
RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
|
||||
|
||||
################################################################################
|
||||
#
|
||||
|
Reference in New Issue
Block a user