Create mrw-perl-tools recipe

The mrw-perl-tools recipe makes use of the Build.PL script in
phosphor-mrw-tools to determine which scripts and modules to install.
Build.PL is part of Perl's Module::Build installation method which is
executed by the cpan_build bbclass.

Change-Id: Ic5d51e8ec58b4450eeb27843b11332f556f3c35b
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/meta-phosphor/common/recipes-phosphor/mrw/mrw-devtree-native.bb b/meta-phosphor/common/recipes-phosphor/mrw/mrw-devtree-native.bb
deleted file mode 100644
index c94da30..0000000
--- a/meta-phosphor/common/recipes-phosphor/mrw/mrw-devtree-native.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-SUMMARY = "Phosphor Device Tree Generator"
-DESCRIPTION = "Script to generate the BMC device tree from the MRW XML"
-PR = "r1"
-
-S = "${WORKDIR}/git"
-
-inherit obmc-phosphor-license
-inherit native
-inherit mrw-rev
-
-DEPENDS += "yaml-tiny mrw-api-native"
-
-SRC_URI += "${MRW_TOOLS_SRC_URI}"
-SRCREV = "${MRW_TOOLS_SRCREV}"
-
-do_install() {
-    install -d ${D}${STAGING_BINDIR_NATIVE}
-    install -m 0755 gen_devtree.pl ${D}${STAGING_BINDIR_NATIVE}/gen_devtree.pl
-}
diff --git a/meta-phosphor/common/recipes-phosphor/mrw/mrw-perl-tools-native.bb b/meta-phosphor/common/recipes-phosphor/mrw/mrw-perl-tools-native.bb
new file mode 100644
index 0000000..f2cc509
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/mrw/mrw-perl-tools-native.bb
@@ -0,0 +1,13 @@
+SUMMARY = "OpenBMC MRW Perl Tools"
+DESCRIPTION = "OpenBMC Perl tools for the machine readable workbook"
+S = "${WORKDIR}/git"
+
+inherit obmc-phosphor-license
+inherit native
+inherit cpan_build
+inherit mrw-rev
+
+DEPENDS += "libmodule-build-perl-native mrw-api-native yaml-tiny"
+
+SRC_URI += "${MRW_TOOLS_SRC_URI}"
+SRCREV = "${MRW_TOOLS_SRCREV}"