summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/mrw/mrw-patch-native_git.bb
blob: 95bc0633e158e6a0890294f6e5b14e7188479fb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SUMMARY = "Phosphor machine readable workbook patching script"
DESCRIPTION = "Retrieve the script that can patch the MRW XML"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
DEPENDS += "python3-native python3-lxml-native"
SRCREV = "${MRW_TOOLS_SRCREV}"
PV = "1.0+git${SRCPV}"
PR = "r1"

SRC_URI += "${MRW_TOOLS_SRC_URI}"

S = "${WORKDIR}/git"

inherit mrw-rev
inherit native

do_install() {
    install -d ${D}${bindir}/obmc-mrw
    install -m 0755 patchxml.py ${D}${bindir}/obmc-mrw
}