The attached patch changes the PandaBoardPkg/build.sh script RELEASE or DEBUG parameter handling.
Before this patch, build.sh can be called thus: ./build.sh ./build.sh -b DEBUG ./build.sh RELEASE
This patch simplifies the way you pass the debug/release parameter into build.sh so that build scripts can simply pass DEBUG or RELEASE, without having to create a special case to add the "-b".
Eg. ./build.sh ./build.sh DEBUG ./build.sh RELEASE