diff options
author | Simon Glass <sjg@chromium.org> | 2019-07-20 12:23:49 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2019-07-29 09:38:06 -0600 |
commit | a004f29464d14f3535ed8db22e5dfed02c8fc9d8 (patch) | |
tree | 0451f714cdca079bad5d1d99e08d26b32b45fe80 /tools/gen_eth_addr.c | |
parent | 02fd463cfeeb3ec693539885dbc58e0439d3b4de (diff) |
binman: Tidy up _SetupDtb() to use its own temporary file
At present EnsureCompiled() uses an file from the 'output' directory (in
the tools module) when compiling the device tree. This is fine in most
cases, allowing useful inspection of the output files from binman.
However in functional tests, _SetupDtb() creates an output directory and
immediately removes it afterwards. This serves no benefit and just
confuses things, since the 'official' output directory is supposed to be
created and destroyed in control.Binman().
Add a new parameter for the optional temporary directory to use, and use a
separate temporary directory in _SetupDtb().
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/gen_eth_addr.c')
0 files changed, 0 insertions, 0 deletions