diff options
author | Matt Spinler <spinler@us.ibm.com> | 2017-01-18 23:22:07 +0300 |
---|---|---|
committer | Matt Spinler <spinler@us.ibm.com> | 2017-01-19 22:48:07 +0300 |
commit | 045ce8e078e638d05373391d6a259c20588a7762 (patch) | |
tree | 5e53c65434d112304550a3de3389d75f75f363c7 /meta-phosphor/common/recipes-phosphor/mrw | |
parent | 01854642b75d2587d649c61ede0a9bbc11ab6f51 (diff) | |
download | openbmc-045ce8e078e638d05373391d6a259c20588a7762.tar.xz |
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.bb | 19 | ||||
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/mrw/mrw-perl-tools-native.bb | 13 |
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}" |