diff options
author | 綺麗な賢狼ホロ <KireinaHoro@users.noreply.github.com> | 2020-03-25 05:45:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-24 14:45:04 -0700 |
commit | 66b44bfbedda562a32e4a2cd0716afbf731b69cd (patch) | |
tree | 5d042e065f5fe332d68150babf99d3eaca4f65fc /riscv/dts.cc | |
parent | c9f2f4a8e8284f81147708e20d104d840807a3d6 (diff) | |
download | riscv-isa-sim-66b44bfbedda562a32e4a2cd0716afbf731b69cd.zip riscv-isa-sim-66b44bfbedda562a32e4a2cd0716afbf731b69cd.tar.gz riscv-isa-sim-66b44bfbedda562a32e4a2cd0716afbf731b69cd.tar.bz2 |
Allow PATH lookup for executing dtc (#432)
Diffstat (limited to 'riscv/dts.cc')
-rw-r--r-- | riscv/dts.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/dts.cc b/riscv/dts.cc index 246773e..5dbed86 100644 --- a/riscv/dts.cc +++ b/riscv/dts.cc @@ -127,7 +127,7 @@ std::string dts_compile(const std::string& dts) close(dts_pipe[1]); close(dtb_pipe[0]); close(dtb_pipe[1]); - execl(DTC, DTC, "-O", "dtb", 0); + execlp(DTC, DTC, "-O", "dtb", 0); std::cerr << "Failed to run " DTC ": " << strerror(errno) << std::endl; exit(1); } |