Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buildtap.py: Allow to use environment variable for paths #145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
buildtap.py: Allow to use environment variable for paths
Edit paths.py automatically before build is more complicated than
use environment variables to determine the proper path.

Signed-off-by: Kostiantyn Kostiuk <[email protected]>
  • Loading branch information
kostyanf14 committed Jun 29, 2021
commit 886137c1dffb4f403b7885e5e844fcd0d6e32dea
4 changes: 2 additions & 2 deletions buildtap.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ def __init__(self, opt):

if opt.sdk == "ewdk":
# path to EWDK
self.ewdk_path = paths.EWDK
self.ewdk_path = os.getenv('EWDK', paths.EWDK)
self.ewdk_cmd = os.path.join(self.ewdk_path, "BuildEnv", "SetupBuildEnv.cmd")

# path to makensis
self.makensis = os.path.join(paths.NSIS, 'makensis.exe')
self.makensis = os.path.join(os.getenv('NSIS', paths.NSIS), 'makensis.exe')

# Driver Kit build system strings
# This driver builds for a specific set of architectures.
Expand Down