summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-01-30 00:01:50 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-01-30 00:01:50 +0000
commitadbd84b439da9b16f498e1b813686ff29da4ff4f (patch)
treedf2414c93ed5c6cb7b7d16de29252bf21d3b8eef
parent188e4e8444bdc69e2f6c65e90c35956eb01cd4b3 (diff)
downloadedk2-platforms-adbd84b439da9b16f498e1b813686ff29da4ff4f.tar.xz
Fixup RELEASE build to use some NULL libs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9869 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--BeagleBoardPkg/BeagleBoardPkg.dsc5
-rwxr-xr-xBeagleBoardPkg/build.sh2
2 files changed, 5 insertions, 2 deletions
diff --git a/BeagleBoardPkg/BeagleBoardPkg.dsc b/BeagleBoardPkg/BeagleBoardPkg.dsc
index 5d113465b7..d7716ebc13 100644
--- a/BeagleBoardPkg/BeagleBoardPkg.dsc
+++ b/BeagleBoardPkg/BeagleBoardPkg.dsc
@@ -32,8 +32,11 @@
[LibraryClasses.common]
+!if DEBUG_TARGET == RELEASE
+ DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
+!else
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
-# DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
+!endif
ArmLib|ArmPkg/Library/ArmLib/ArmCortexA/ArmCortexArmLib.inf
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
diff --git a/BeagleBoardPkg/build.sh b/BeagleBoardPkg/build.sh
index d777fe31d0..85ce46eb14 100755
--- a/BeagleBoardPkg/build.sh
+++ b/BeagleBoardPkg/build.sh
@@ -99,7 +99,7 @@ fi
# Build the edk2 BeagleBoard code
#
if [[ $TARGET == RELEASE ]]; then
- build -p $WORKSPACE/BeagleBoardPkg/BeagleBoardPkg.dsc -a ARM -t $TARGET_TOOLS -b $1 $2 $3 $4 $5 $6 $7 $8
+ build -p $WORKSPACE/BeagleBoardPkg/BeagleBoardPkg.dsc -a ARM -t $TARGET_TOOLS -b -D DEBUG_TARGET=RELEASE $1 $2 $3 $4 $5 $6 $7 $8
else
build -p $WORKSPACE/BeagleBoardPkg/BeagleBoardPkg.dsc -a ARM -t $TARGET_TOOLS -b $TARGET $1 $2 $3 $4 $5 $6 $7 $8
fi