summaryrefslogtreecommitdiff
path: root/rld-path.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-09-05 18:16:40 +1000
committerChris Johns <chrisj@rtems.org>2014-09-05 18:16:40 +1000
commit5679661069a8b9acaec26d61c8da797f0726506b (patch)
treeb3a8af2246ebbdfdd988a41a7c9658b374d0f165 /rld-path.h
parent566f389fb9f7f2b124e6055947c9edc8820107b6 (diff)
Add support for RTEMS BSP or user supplied CFLAGS. Remove march/mcpu.
Added support to read an RTEMS BSP pkgconfig file and ste the CC flags.
Diffstat (limited to 'rld-path.h')
-rw-r--r--rld-path.h22
1 files changed, 17 insertions, 5 deletions
diff --git a/rld-path.h b/rld-path.h
index d9bb991..f501fb4 100644
--- a/rld-path.h
+++ b/rld-path.h
@@ -77,14 +77,26 @@ namespace rld
paths& paths);
/**
- * Make a path by joining the parts with required separator.
+ * Make a path by joining the base and part with required separator.
*
- * @param path_ The path component to be joined.
- * @param file_ The file name to add to the path.
+ * @param base The path component to be joined.
+ * @param part The file name to add to the path.
* @param joined The joined path and file name with a path separator.
*/
- void path_join (const std::string& path_,
- const std::string& file_,
+ void path_join (const std::string& base,
+ const std::string& part,
+ std::string& joined);
+
+ /**
+ * Make a path by joining the parts with the base and the required
+ * separator.
+ *
+ * @param base The path component to be joined.
+ * @param parts The files to add to the path.
+ * @param joined The joined path and file name with a path separator.
+ */
+ void path_join (const std::string& base,
+ const paths& parts,
std::string& joined);
/**