Matt Spinler | 1b8b904 | 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 | 5046fb0 | 2018-10-30 11:44:04 -0700 | [diff] [blame] | 4 | PV = "1.0+git${SRCPV}" |
Brad Bishop | edb390a | 2018-11-06 10:09:31 -0800 | [diff] [blame] | 5 | LICENSE = "Apache-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
Matt Spinler | 1b8b904 | 2016-08-25 13:04:09 -0500 | [diff] [blame] | 7 | |
| 8 | S = "${WORKDIR}/git" |
| 9 | |
Matt Spinler | b103a33 | 2016-09-15 10:39:43 -0500 | [diff] [blame] | 10 | inherit mrw-rev |
Joseph Reynolds | 79809ea | 2021-02-26 15:37:31 -0600 | [diff] [blame^] | 11 | inherit native |
Matt Spinler | 1b8b904 | 2016-08-25 13:04:09 -0500 | [diff] [blame] | 12 | |
Patrick Williams | ef7143d | 2020-04-08 09:55:25 -0500 | [diff] [blame] | 13 | DEPENDS += "python3-native python3-lxml-native" |
Matt Spinler | 1b8b904 | 2016-08-25 13:04:09 -0500 | [diff] [blame] | 14 | |
Patrick Williams | 87880c8 | 2016-10-31 15:46:40 -0500 | [diff] [blame] | 15 | SRC_URI += "${MRW_TOOLS_SRC_URI}" |
| 16 | SRCREV = "${MRW_TOOLS_SRCREV}" |
Matt Spinler | 1b8b904 | 2016-08-25 13:04:09 -0500 | [diff] [blame] | 17 | |
| 18 | do_install() { |
Matt Spinler | 98c33e3 | 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 | 1b8b904 | 2016-08-25 13:04:09 -0500 | [diff] [blame] | 21 | } |