Skip to content

Commit 005d35b

Browse files
author
Valeriy Khorunzhin
committed
debug edk2
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
1 parent e77b507 commit 005d35b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

images/edk2/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ echo_dbg() {
9999

100100
# compiler
101101
CC_FLAGS="-t GCC5"
102-
CC_FLAGS="${CC_FLAGS} -b RELEASE" # use "-b DEBUG" to build debug version
102+
CC_FLAGS="${CC_FLAGS} -b DEBUG"
103103

104104
CC_FLAGS="${CC_FLAGS} --cmd-len=65536"
105105
CC_FLAGS="${CC_FLAGS} -D DEBUG_ON_SERIAL_PORT=TRUE" # output debug to serial console (only effective with -b DEBUG build)

images/edk2/werf.inc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ shell:
6868
- |
6969
cd /src
7070
71+
echo "123456"
72+
7173
echo "Git clone Edk2 repository..."
7274
git clone \
7375
--depth=1 $(cat /run/secrets/SOURCE_REPO)/{{ $gitRepoUrl }} \

0 commit comments

Comments
 (0)