From adbd84b439da9b16f498e1b813686ff29da4ff4f Mon Sep 17 00:00:00 2001 From: andrewfish Date: Sat, 30 Jan 2010 00:01:50 +0000 Subject: [PATCH] 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 --- BeagleBoardPkg/BeagleBoardPkg.dsc | 5 ++++- BeagleBoardPkg/build.sh | 2 +- 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 -- 2.39.2