mirror of https://github.com/acidanthera/audk.git
ArmPlatformPkg: Replace the macro $(BUILD_TARGETS) by $(TARGET) in DSC file
The $(BUILD_TARGETS) macro was used to make the difference between DEBUG and RELEASE builds. The $(TARGET) macro should be used instead. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11961 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
06a8973319
commit
4d900a638e
|
@ -28,7 +28,7 @@
|
||||||
FLASH_DEFINITION = ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-UniCore.fdf
|
FLASH_DEFINITION = ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-UniCore.fdf
|
||||||
|
|
||||||
[LibraryClasses.common]
|
[LibraryClasses.common]
|
||||||
!if $(BUILD_TARGETS) == RELEASE
|
!if $(TARGET) == RELEASE
|
||||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
||||||
UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
|
UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
|
||||||
!else
|
!else
|
||||||
|
@ -289,7 +289,11 @@
|
||||||
# CLEAR_MEMORY_ENABLED 0x08
|
# CLEAR_MEMORY_ENABLED 0x08
|
||||||
# ASSERT_BREAKPOINT_ENABLED 0x10
|
# ASSERT_BREAKPOINT_ENABLED 0x10
|
||||||
# ASSERT_DEADLOOP_ENABLED 0x20
|
# ASSERT_DEADLOOP_ENABLED 0x20
|
||||||
|
!if $(TARGET) == RELEASE
|
||||||
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
|
||||||
|
!else
|
||||||
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
|
||||||
|
!endif
|
||||||
|
|
||||||
# DEBUG_INIT 0x00000001 // Initialization
|
# DEBUG_INIT 0x00000001 // Initialization
|
||||||
# DEBUG_WARN 0x00000002 // Warnings
|
# DEBUG_WARN 0x00000002 // Warnings
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
FLASH_DEFINITION = ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-MPCore.fdf
|
FLASH_DEFINITION = ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-MPCore.fdf
|
||||||
|
|
||||||
[LibraryClasses.common]
|
[LibraryClasses.common]
|
||||||
!if $(BUILD_TARGETS) == RELEASE
|
!if $(TARGET) == RELEASE
|
||||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
||||||
UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
|
UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
|
||||||
!else
|
!else
|
||||||
|
@ -291,7 +291,11 @@
|
||||||
# CLEAR_MEMORY_ENABLED 0x08
|
# CLEAR_MEMORY_ENABLED 0x08
|
||||||
# ASSERT_BREAKPOINT_ENABLED 0x10
|
# ASSERT_BREAKPOINT_ENABLED 0x10
|
||||||
# ASSERT_DEADLOOP_ENABLED 0x20
|
# ASSERT_DEADLOOP_ENABLED 0x20
|
||||||
|
!if $(TARGET) == RELEASE
|
||||||
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
|
||||||
|
!else
|
||||||
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
|
||||||
|
!endif
|
||||||
|
|
||||||
# DEBUG_INIT 0x00000001 // Initialization
|
# DEBUG_INIT 0x00000001 // Initialization
|
||||||
# DEBUG_WARN 0x00000002 // Warnings
|
# DEBUG_WARN 0x00000002 // Warnings
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
FLASH_DEFINITION = ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA9x4.fdf
|
FLASH_DEFINITION = ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA9x4.fdf
|
||||||
|
|
||||||
[LibraryClasses.common]
|
[LibraryClasses.common]
|
||||||
!if $(BUILD_TARGETS) == RELEASE
|
!if $(TARGET) == RELEASE
|
||||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
||||||
UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
|
UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
|
||||||
!else
|
!else
|
||||||
|
@ -314,7 +314,11 @@
|
||||||
# CLEAR_MEMORY_ENABLED 0x08
|
# CLEAR_MEMORY_ENABLED 0x08
|
||||||
# ASSERT_BREAKPOINT_ENABLED 0x10
|
# ASSERT_BREAKPOINT_ENABLED 0x10
|
||||||
# ASSERT_DEADLOOP_ENABLED 0x20
|
# ASSERT_DEADLOOP_ENABLED 0x20
|
||||||
|
!if $(TARGET) == RELEASE
|
||||||
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
|
||||||
|
!else
|
||||||
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
|
||||||
|
!endif
|
||||||
|
|
||||||
# DEBUG_INIT 0x00000001 // Initialization
|
# DEBUG_INIT 0x00000001 // Initialization
|
||||||
# DEBUG_WARN 0x00000002 // Warnings
|
# DEBUG_WARN 0x00000002 // Warnings
|
||||||
|
|
Loading…
Reference in New Issue