From: VictorX Hsu <victorx....@intel.com>

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4071

Provide a wrapper to wrap UniversalPayloadBuild.py

Cc: Guo Dong <guo.d...@intel.com>
Cc: James Lu <james...@intel.com>
Signed-off-by: VictorX Hsu <victorx....@intel.com>
---
 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 (#93986): https://edk2.groups.io/g/devel/message/93986
Mute This Topic: https://groups.io/mt/93800833/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to