From: strongtz Date: 星期天, 17 Jan 2021 03:54:11 +0000 (+0000) Subject: Update build.sh to generate logo X-Git-Tag: v0.4~113 X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=9b3945c930ce428aa7f77e880b49165117c195ed;p=edk2-sdm845.git Update build.sh to generate logo --- diff --git a/build.sh b/build.sh index c459375..95c3f54 100755 --- a/build.sh +++ b/build.sh @@ -32,6 +32,7 @@ function _build(){ make -C "${_EDK2}/BaseTools" -j "$(nproc)"||exit "$?" # based on the instructions from edk2-platform rm -f "boot_${DEVICE}.img" uefi_img "uefi-${DEVICE}.img.gz" "uefi-${DEVICE}.img.gz-dtb" + python3 assets/generate-logo.py build -s -n 0 -a AARCH64 -t GCC5 -p "sdm845Pkg/${DEVICE}.dsc"||return "$?" gzip -c < workspace/Build/sdm845Pkg/DEBUG_GCC5/FV/SDM845PKG_UEFI.fd > "uefi-${DEVICE}.img.gz"||return "$?" cat "uefi-${DEVICE}.img.gz" "device_specific/${DEVICE}.dtb" > "uefi-${DEVICE}.img.gz-dtb"||return "$?" diff --git a/sdm845Pkg/Drivers/LogoDxe/Logo.bmp b/sdm845Pkg/Drivers/LogoDxe/Logo.bmp index 540dc1f..31d5761 100644 Binary files a/sdm845Pkg/Drivers/LogoDxe/Logo.bmp and b/sdm845Pkg/Drivers/LogoDxe/Logo.bmp differ