Reviewed-by: Guo Dong <[email protected]>
-----Original Message----- From: Hsu, VictorX <[email protected]> Sent: Tuesday, September 20, 2022 7:19 PM To: [email protected] Cc: Hsu, VictorX <[email protected]>; Dong, Guo <[email protected]>; Lu, James <[email protected]> Subject: [PATCH] UefiPayloadPkg: Provide a wrapper for UniversalPayloadBuild.py From: VictorX Hsu <[email protected]> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4071 Provide a wrapper to wrap UniversalPayloadBuild.py Cc: Guo Dong <[email protected]> Cc: James Lu <[email protected]> Signed-off-by: VictorX Hsu <[email protected]> --- UefiPayloadPkg/UniversalPayloadBuild | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 UefiPayloadPkg/UniversalPayloadBuild diff --git a/UefiPayloadPkg/UniversalPayloadBuild b/UefiPayloadPkg/UniversalPayloadBuild new file mode 100644 index 0000000000..fc3c2aadc9 --- /dev/null +++ b/UefiPayloadPkg/UniversalPayloadBuild @@ -0,0 +1,14 @@ +#!/bin/bash +# +# Copyright (c) 2022, Intel Corporation. All rights reserved.<BR> +# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# + +if command -v ${PYTHON_COMMAND} >/dev/null 2>&1; then + echo python_exe=${PYTHON_COMMAND} +fi + +upl_bldfile_path=${BASH_SOURCE:-$0} +echo "upl_bldfile_path=$upl_bldfile_path" +exec "${python_exe:-python}" "$upl_bldfile_path.py" "$@" -- 2.28.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#94039): https://edk2.groups.io/g/devel/message/94039 Mute This Topic: https://groups.io/mt/93800833/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
