Skip to content

Commit

Permalink
scripts: modify TARGET to DBEUG of EDK II
Browse files Browse the repository at this point in the history
In the development phase, modify compilation TARGET to DEBUG from RELEASE to
show more debug information when running EDK II.

Signed-off-by: Jingyu Li <[email protected]>
  • Loading branch information
jingyu-li98 authored and xingxg2022 committed Nov 15, 2024
1 parent abab01e commit a26da89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/envsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -500,8 +500,8 @@ function build_rv_edk2()
git checkout devel-${CHIP}
popd

TARGET=RELEASE
build -a RISCV64 -t GCC5 -b $TARGET -D X64EMU_ENABLE -p Platform/Sophgo/${CHIP^^}Pkg/${CHIP^^}.dsc
TARGET=DEBUG
build -a RISCV64 -t GCC5 -b $TARGET -p Platform/Sophgo/${CHIP^^}Pkg/${CHIP^^}.dsc

mkdir -p $RV_FIRMWARE_INSTALL_DIR

Expand Down

0 comments on commit a26da89

Please sign in to comment.