blob: 2945f2414cd5e2d64b06a38fd56cb26c8f1bb7a4 [file] [log] [blame]
Adriana Kobylak73609bb2020-06-18 15:05:40 -05001#include "config.h"
2
3#include "images.hpp"
4
5#include <iterator>
6#include <sstream>
7#include <string>
8#include <vector>
9
10namespace phosphor
11{
12namespace software
13{
14namespace image
15{
16
17std::vector<std::string> getOptionalImages()
18{
19 std::istringstream optionalImagesStr(OPTIONAL_IMAGES);
20 std::vector<std::string> optionalImages(
21 std::istream_iterator<std::string>{optionalImagesStr},
22 std::istream_iterator<std::string>());
23 return optionalImages;
24}
25
26} // namespace image
27} // namespace software
28} // namespace phosphor