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