summaryrefslogtreecommitdiff
path: root/BeagleBoardPkg/BeagleBoardPkg.dsc
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-01-28 23:45:38 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-01-28 23:45:38 +0000
commit8c3f387b270896178378ae5302ffa383d25632d7 (patch)
tree72bdabef96d5d4d3b7f845a0dc3824dacff76f29 /BeagleBoardPkg/BeagleBoardPkg.dsc
parent4a1db20fac1530bef90aebb358115c0e81c77fe0 (diff)
downloadedk2-8c3f387b270896178378ae5302ffa383d25632d7.zip
edk2-8c3f387b270896178378ae5302ffa383d25632d7.tar.gz
edk2-8c3f387b270896178378ae5302ffa383d25632d7.tar.bz2
Add support for a RELASE build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9858 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BeagleBoardPkg/BeagleBoardPkg.dsc')
-rw-r--r--BeagleBoardPkg/BeagleBoardPkg.dsc12
1 files changed, 4 insertions, 8 deletions
diff --git a/BeagleBoardPkg/BeagleBoardPkg.dsc b/BeagleBoardPkg/BeagleBoardPkg.dsc
index ee23520..5d11346 100644
--- a/BeagleBoardPkg/BeagleBoardPkg.dsc
+++ b/BeagleBoardPkg/BeagleBoardPkg.dsc
@@ -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
################################################################################
#