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