1option('tests', type: 'feature', description: 'Build tests')
2option('oe-sdk', type: 'feature', value: 'disabled', description: 'Enable OE SDK')
3option('examples', type: 'boolean', value: true, description: 'Build vendor-example')
4
5option('MANIFEST_FILE',
6       type: 'string',
7       value: 'MANIFEST',
8       description: 'The path of the MANIFEST file')
9
10option('SOFTWARE_OBJPATH',
11       type: 'string',
12       value: '/xyz/openbmc_project/software',
13       description: 'The software manager Dbus root')
14
15option('PSU_INVENTORY_PATH_BASE',
16       type: 'string',
17       value: '/xyz/openbmc_project/inventory/system',
18       description: 'The base path for PSU inventory')
19
20option('IMG_DIR',
21       type: 'string',
22       value: '/tmp/images',
23       description: 'The directory where downloaded or uploaded PSU images are placed and extracted')
24
25# The PSU_VERSION_UTIL specifies an executable that accepts the PSU
26# inventory path as input, and output the version string, e.g
27#   psutils get-version /xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0
28# or in vendor-example
29#   get_version <some-psu-path>
30option('PSU_VERSION_UTIL',
31       type: 'string',
32       value: '/usr/bin/psutils --raw --get-version',
33       description: 'The command and arguments to get PSU version')
34
35# The PSU_VERSION_COMPARE_UTIL specifies an executable that accepts the PSU
36# versions as input, and outputs which version is the newest, e.g.
37#   psutils get-version 0001 0002 0003 # May output 0003
38# or in vendor-example
39#   get_latest_version 0001 0002 0003 # output 0003
40option('PSU_VERSION_COMPARE_UTIL',
41       type: 'string',
42       value: '/usr/bin/psutils --raw --compare',
43       description: 'The command and arguments to compare PSU versions')
44
45# The PSU update service
46# It shall take a path containing the PSU image(s) as the input
47option('PSU_UPDATE_SERVICE',
48       type: 'string',
49       value: 'psu-update@.service',
50       description: 'The PSU update service')
51
52option('IMG_DIR_PERSIST',
53       type: 'string',
54       value: '/var/lib/obmc/psu',
55       description: 'The writable directory to store updated PSU images persistently')
56
57option('IMG_DIR_BUILTIN',
58       type: 'string',
59       value: '/usr/share/obmc/psu',
60       description: 'The read-only directory where the built-in PSU images are stored')
61
62option('ALWAYS_USE_BUILTIN_IMG_DIR',
63    type: 'boolean',
64    value: false,
65    description: 'Only scan for PSU images in IMG_BUILTIN_DIR')
66