summaryrefslogtreecommitdiffstats
path: root/scripts/sensor_gen.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix dependencies on auto-generated codeVernon Mauery2019-05-141-2/+2
| | | | | | | | | | | | The sensor/entity/fru/inventory auto-generated cpp code should depend on the mako template, the generator python, and the yaml that it is built with. This modifies the autoconf to export the yaml and the automake to set the dependencies. Tested-by: modify one of the dependencies and watch it get rebuilt Change-Id: Iaab9585c202baf4506e0b7e62aa42a3bf2828ae4 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
* inventory: write sensor yaml parserRatan Gupta2017-03-151-0/+60
Write python-based parser for sensor.yaml. The parser generates sensor-gen.cpp,which is having a map of sensorid(key) and sensorinfo(value). Change-Id: I5aa2d2bc871ced06e5e4c164a67eeb5974031d5d Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
OpenPOWER on IntegriCloud