meta-phosphor: rename mrw-native to git
The mrw-native recipe pulls its source from git, therefore
rename it per OE norms.
Tested: Built witherspoon image which includes mrw.
Tested: Verified palmetto system builds.
(From meta-phosphor rev: e076f373111e3de9c575ee19bdb13fc4edbb763c)
Change-Id: I3daec60c4acf5b49af8bd74d1f72455551aa0820
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-phosphor/recipes-phosphor/mrw/mrw-native_git.bb b/meta-phosphor/recipes-phosphor/mrw/mrw-native_git.bb
new file mode 100644
index 0000000..8fbf31e
--- /dev/null
+++ b/meta-phosphor/recipes-phosphor/mrw/mrw-native_git.bb
@@ -0,0 +1,21 @@
+SUMMARY = "Phosphor OpenBMC machine readable workbook"
+DESCRIPTION = "Pulls down system specific data"
+PR = "r1"
+PV = "1.0+git${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+inherit obmc-phosphor-license
+inherit obmc-xmlpatch
+inherit native
+inherit mrw-xml
+
+PHOSPHOR_MRW_URI ?= "http://missing-mrw-uri"
+SRC_URI += "${PHOSPHOR_MRW_URI}"
+SRCREV = "${PHOSPHOR_MRW_REV}"
+
+do_install() {
+ install -d ${D}/${mrw_datadir}
+ install -m 0644 ${MRW_XML} ${D}/${mrw_datadir}
+}
+