[edk2-devel] [PATCH] UefiPayloadPkg: Provide a wrapper for UniversalPayloadBuild.py

victorx.hsu@intel.com posted 1 patch 1 year, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/edk2 tags/patchew/b7f3458b4562236bb82721074baf80bad7632578.1663666086.git.victorx.hsu@intel.com
There is a newer version of this series
UefiPayloadPkg/UniversalPayloadBuild | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 UefiPayloadPkg/UniversalPayloadBuild
[edk2-devel] [PATCH] UefiPayloadPkg: Provide a wrapper for UniversalPayloadBuild.py
Posted by victorx.hsu@intel.com 1 year, 7 months ago
From: VictorX Hsu <victorx.hsu@intel.com>

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

Provide a wrapper to wrap UniversalPayloadBuild.py

Cc: Guo Dong <guo.dong@intel.com>
Cc: James Lu <james.lu@intel.com>
Signed-off-by: VictorX Hsu <victorx.hsu@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/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-