summaryrefslogtreecommitdiff
path: root/meta-phosphor/classes/mrw-xml.bbclass
AgeCommit message (Collapse)AuthorFilesLines
2019-10-17Variable to pass extra option to MRW parsersSantosh Puranik1-0/+2
This commit adds a variable to allow MRW parsers to be passed an option to skip targets that are broken or not fully defined in the MRW. Recipes that invoke the parsers can use this option as an indication to the parser script to ignore MRW errors. The option variable is empty by default, but layers can choose to override this as necessary. Tested: I tested by enabling this option in the meta-ibm rainier layer and verified that the right option is passed to the MRW parsers. (From meta-phosphor rev: fc77979764f7c8599a451f619630f8d7be2cc09b) Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com> Change-Id: I54b349597b30deb77a98af0686a67e03befe2429 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-01-30Use variables for MRW XML filename and pathMatt Spinler1-0/+2
Create an mrw-xml bbclass that has variables for the MRW XML filename and path to it. Then, changes all users of the MRW XML to inherit that class and use those variables. The filename will default to ${MACHINE}.xml if it hasn't already been set to something else, such as in a .conf file. This is done so that the file can be something other than ${MACHINE}.xml. Change-Id: Ia7021e5a5d5e7946829e58688250aa64250cb00e Signed-off-by: Matt Spinler <spinler@us.ibm.com>