summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/mrw
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2017-01-18 14:22:07 -0600
committerMatt Spinler <spinler@us.ibm.com>2017-01-19 13:48:07 -0600
commit045ce8e078e638d05373391d6a259c20588a7762 (patch)
tree5e53c65434d112304550a3de3389d75f75f363c7 /meta-phosphor/common/recipes-phosphor/mrw
parent01854642b75d2587d649c61ede0a9bbc11ab6f51 (diff)
downloadtalos-openbmc-045ce8e078e638d05373391d6a259c20588a7762.tar.gz
talos-openbmc-045ce8e078e638d05373391d6a259c20588a7762.zip
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>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/mrw')
-rw-r--r--meta-phosphor/common/recipes-phosphor/mrw/mrw-devtree-native.bb19
-rw-r--r--meta-phosphor/common/recipes-phosphor/mrw/mrw-perl-tools-native.bb13
2 files changed, 13 insertions, 19 deletions
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 c94da304c..000000000
--- 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 000000000..f2cc50992
--- /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}"
OpenPOWER on IntegriCloud