diff options
author | Chris Johns <chrisj@rtems.org> | 2014-09-05 18:16:40 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-09-05 18:16:40 +1000 |
commit | 5679661069a8b9acaec26d61c8da797f0726506b (patch) | |
tree | b3a8af2246ebbdfdd988a41a7c9658b374d0f165 /rld-path.h | |
parent | 566f389fb9f7f2b124e6055947c9edc8820107b6 (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.h | 22 |
1 files changed, 17 insertions, 5 deletions
@@ -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); /** |