payloads/edk2: Move printing the build options to a separate recipe
Move the code that prints the edk2 build options to it's own recipe so that it can be called for different targets. This change also fixes the print, as it accounts for recent switches such as `--pcd` and `-s`. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: Ie797ca26cd28eab0f633bd8dee5ec19634fcea99 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66354 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
This commit is contained in:
parent
c3d2e9c593
commit
175445b4bb
|
@ -150,18 +150,22 @@ checktools:
|
|||
exit 1; \
|
||||
fi
|
||||
|
||||
build: update logo checktools
|
||||
print:
|
||||
echo " ##### $(project_name) Build Summary #####"
|
||||
echo " Repository: $(CONFIG_EDK2_REPOSITORY)"
|
||||
echo " Branch: $(CONFIG_EDK2_TAG_OR_REV)"
|
||||
echo " $(BUILD_STR)" | \
|
||||
sed 's/-/\n /g' | sort | sed \
|
||||
sed -e 's/--/-/g' -e 's/-/\n /g' | sort | sed \
|
||||
-e 's/a /Architecture: /g' \
|
||||
-e 's/b /Release: /g' \
|
||||
-e 's/D /Option: /g' \
|
||||
-e 's/pcd /Pcd: /g' \
|
||||
-e 's/p /Payload: /g' \
|
||||
-e 's/q /Build: Quiet/' \
|
||||
-e 's/s /Build: Silent/' \
|
||||
-e 's/t /Toolchain: /'
|
||||
|
||||
build: update print logo checktools
|
||||
unset CC; $(MAKE) -C $(project_dir)/BaseTools 2>&1
|
||||
cd $(project_dir); \
|
||||
export EDK_TOOLS_PATH=$(project_dir)/BaseTools; \
|
||||
|
|
Loading…
Reference in New Issue