Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

Commit

Permalink
WhitleyOpenBoardPkg: Replace Python Interpreter Name
Browse files Browse the repository at this point in the history
Removes the assumption that the python interpreter will have the name
python.

Reviewed-by: Chasel Chiu <[email protected]>
Signed-off-by: Nate DeSimone <[email protected]
  • Loading branch information
nate-desimone committed Nov 29, 2023
1 parent 15e9fae commit 7528798
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Platform/Intel/WhitleyOpenBoardPkg/Aowanda/build_board.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Extensions for building Aowanda using build_bios.py
#
#
# Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2021 - 2023, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2022, American Megatrends International LLC. <BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
Expand Down Expand Up @@ -107,7 +107,7 @@ def pre_build_ex(config, functions):
if not os.path.exists(out_file_dir):
os.mkdir(out_file_dir)

command = ["python",
command = [sys.executable,
os.path.join(config["MIN_PACKAGE_TOOLS"], "AmlGenOffset", "AmlGenOffset.py"),
"-d", "--aml_filter", config["AML_FILTER"],
"-o", out_file_path,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Extensions for building JunctionCity using build_bios.py
#
#
# Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2021 - 2023, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2021, American Megatrends International LLC. <BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
Expand Down Expand Up @@ -107,7 +107,7 @@ def pre_build_ex(config, functions):
if not os.path.exists(out_file_dir):
os.mkdir(out_file_dir)

command = ["python",
command = [sys.executable,
os.path.join(config["MIN_PACKAGE_TOOLS"], "AmlGenOffset", "AmlGenOffset.py"),
"-d", "--aml_filter", config["AML_FILTER"],
"-o", out_file_path,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# @ build_board.py
# Extensions for building WilsonCityRvp using build_bios.py
#
# Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2021 - 2023, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#

Expand Down Expand Up @@ -105,7 +105,7 @@ def pre_build_ex(config, functions):
if not os.path.exists(out_file_dir):
os.mkdir(out_file_dir)

command = ["python",
command = [sys.executable,
os.path.join(config["MIN_PACKAGE_TOOLS"], "AmlGenOffset", "AmlGenOffset.py"),
"-d", "--aml_filter", config["AML_FILTER"],
"-o", out_file_path,
Expand Down

0 comments on commit 7528798

Please sign in to comment.