Matt Spinler | 2332ef8 | 2016-08-25 13:04:09 -0500 | [diff] [blame] | 1 | SUMMARY = "Phosphor machine readable workbook patching script" |
| 2 | DESCRIPTION = "Retrieve the script that can patch the MRW XML" |
| 3 | PR = "r1" |
Patrick Venture | ef14250 | 2018-10-30 11:44:04 -0700 | [diff] [blame] | 4 | PV = "1.0+git${SRCPV}" |
Patrick Venture | c5975b6 | 2018-11-06 10:03:19 -0800 | [diff] [blame] | 5 | LICENSE = "Apache-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
Matt Spinler | 2332ef8 | 2016-08-25 13:04:09 -0500 | [diff] [blame] | 7 | |
| 8 | S = "${WORKDIR}/git" |
| 9 | |
Matt Spinler | 2332ef8 | 2016-08-25 13:04:09 -0500 | [diff] [blame] | 10 | inherit native |
Matt Spinler | de33cae | 2016-09-15 10:39:43 -0500 | [diff] [blame] | 11 | inherit mrw-rev |
Matt Spinler | 2332ef8 | 2016-08-25 13:04:09 -0500 | [diff] [blame] | 12 | |
Patrick Williams | 18f36a2 | 2020-04-08 09:55:25 -0500 | [diff] [blame^] | 13 | DEPENDS += "python3-native python3-lxml-native" |
Matt Spinler | 2332ef8 | 2016-08-25 13:04:09 -0500 | [diff] [blame] | 14 | |
Patrick Williams | 4f02a45 | 2016-10-31 15:46:40 -0500 | [diff] [blame] | 15 | SRC_URI += "${MRW_TOOLS_SRC_URI}" |
| 16 | SRCREV = "${MRW_TOOLS_SRCREV}" |
Matt Spinler | 2332ef8 | 2016-08-25 13:04:09 -0500 | [diff] [blame] | 17 | |
| 18 | do_install() { |
Matt Spinler | 471b885 | 2016-09-20 13:32:44 -0500 | [diff] [blame] | 19 | install -d ${D}${bindir}/obmc-mrw |
| 20 | install -m 0755 patchxml.py ${D}${bindir}/obmc-mrw |
Matt Spinler | 2332ef8 | 2016-08-25 13:04:09 -0500 | [diff] [blame] | 21 | } |