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