mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
buildman: Use out-env for environment output
At present the environment used by U-Boot is written to the 'env' directory. This is fine when the output directory is not the same as the source directory, but when it is (as with -w) it conflicts with the source directory of the same name. Rename 'env' to 'out-env' to fix this. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
88daaef19f
commit
166a98a426
2 changed files with 8 additions and 1 deletions
|
@ -333,7 +333,7 @@ class BuilderThread(threading.Thread):
|
|||
|
||||
# Write out the image and function size information and an objdump
|
||||
env = result.toolchain.MakeEnvironment(self.builder.full_path)
|
||||
with open(os.path.join(build_dir, 'env'), 'w') as fd:
|
||||
with open(os.path.join(build_dir, 'out-env'), 'w') as fd:
|
||||
for var in sorted(env.keys()):
|
||||
print('%s="%s"' % (var, env[var]), file=fd)
|
||||
lines = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue