Lei YU | 5e0dcb3 | 2019-08-02 18:04:34 +0800 | [diff] [blame] | 1 | option('tests', type: 'feature', description: 'Build tests') |
| 2 | option('oe-sdk', type: 'feature', description: 'Enable OE SDK') |
Lei YU | 5f3584d | 2019-08-27 16:28:53 +0800 | [diff] [blame] | 3 | option('examples', type: 'boolean', value: true, description: 'Build vendor-example') |
Lei YU | 5e0dcb3 | 2019-08-02 18:04:34 +0800 | [diff] [blame] | 4 | |
Lei YU | c4cfc6e | 2019-08-02 11:30:10 +0800 | [diff] [blame] | 5 | option('MANIFEST_FILE', |
| 6 | type: 'string', |
| 7 | value: 'MANIFEST', |
| 8 | description: 'The path of the MANIFEST file') |
| 9 | |
| 10 | option('SOFTWARE_OBJPATH', |
| 11 | type: 'string', |
| 12 | value: '/xyz/openbmc_project/software', |
| 13 | description: 'The software manager Dbus root') |
| 14 | |
Lei YU | 5e0dcb3 | 2019-08-02 18:04:34 +0800 | [diff] [blame] | 15 | option('PSU_INVENTORY_PATH_BASE', |
Lei YU | c4cfc6e | 2019-08-02 11:30:10 +0800 | [diff] [blame] | 16 | type: 'string', |
Lei YU | 5e0dcb3 | 2019-08-02 18:04:34 +0800 | [diff] [blame] | 17 | value: '/xyz/openbmc_project/inventory/system', |
| 18 | description: 'The base path for PSU inventory') |
Lei YU | 5f3584d | 2019-08-27 16:28:53 +0800 | [diff] [blame] | 19 | |
| 20 | |
| 21 | # The PSU_VERSION_UTIL specifies an executable that accepts the PSU |
| 22 | # inventory path as input, and output the version string, e.g |
| 23 | # psutils get-version /xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0 |
| 24 | # or in vendor-example |
| 25 | # get-version <some-psu-path> |
| 26 | option('PSU_VERSION_UTIL', |
| 27 | type: 'string', |
| 28 | value: '/usr/bin/psutils --getversion', |
| 29 | description: 'The command and arguments to get PSU version') |