blob: 1aee0136b61d8fcad2c221b0ffbffce0cdc69448 [file] [log] [blame]
Lei YU5e0dcb32019-08-02 18:04:34 +08001option('tests', type: 'feature', description: 'Build tests')
2option('oe-sdk', type: 'feature', description: 'Enable OE SDK')
Lei YU5f3584d2019-08-27 16:28:53 +08003option('examples', type: 'boolean', value: true, description: 'Build vendor-example')
Lei YU5e0dcb32019-08-02 18:04:34 +08004
Lei YUc4cfc6e2019-08-02 11:30:10 +08005option('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
Lei YU5e0dcb32019-08-02 18:04:34 +080015option('PSU_INVENTORY_PATH_BASE',
Lei YUc4cfc6e2019-08-02 11:30:10 +080016 type: 'string',
Lei YU5e0dcb32019-08-02 18:04:34 +080017 value: '/xyz/openbmc_project/inventory/system',
18 description: 'The base path for PSU inventory')
Lei YU5f3584d2019-08-27 16:28:53 +080019
Lei YU12c9f4c2019-09-11 15:08:15 +080020option('IMG_DIR',
21 type: 'string',
22 value: '/tmp/images',
23 description: 'The directory where downloaded or uploaded PSU images are placed and extracted')
Lei YU5f3584d2019-08-27 16:28:53 +080024
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 --getversion',
33 description: 'The command and arguments to get PSU version')
Lei YU12c9f4c2019-09-11 15:08:15 +080034
35# The PSU update service
36# It shall take a path containing the PSU image(s) as the input
37option('PSU_UPDATE_SERVICE',
38 type: 'string',
39 value: 'psu-update@.service',
40 description: 'The PSU update service')