summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index b99d808a..045190d1 100644
--- a/utils.h
+++ b/utils.h
@@ -193,6 +193,10 @@ bool GetFilesystemSizeFromFD(int fd,
int* out_block_count,
int* out_block_size);
+// Returns the path of the passed |command| on the board. This uses the
+// environment variable SYSROOT to determine the path to the command on the
+// board instead of the path on the running environment.
+std::string GetPathOnBoard(const std::string& command);
// Returns a human-readable string with the file format based on magic constants
// on the header of the file.