diff options
-rw-r--r-- | meta-phosphor/classes/config-in-skeleton.bbclass | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/meta-phosphor/classes/config-in-skeleton.bbclass b/meta-phosphor/classes/config-in-skeleton.bbclass deleted file mode 100644 index b767537244..0000000000 --- a/meta-phosphor/classes/config-in-skeleton.bbclass +++ /dev/null @@ -1,36 +0,0 @@ -# In general this class should only be used by board layers -# that keep their machine-readable-workbook in the skeleton repository. - -inherit allarch -inherit setuptools -inherit pythonnative -inherit skeleton-rev - -HOMEPAGE = "http://github.com/openbmc/skeleton" - -PROVIDES += "virtual/obmc-inventory-data" -RPROVIDES_${PN} += "virtual-obmc-inventory-data" - -DEPENDS += "python" -SRC_URI += "${SKELETON_URI};" -S = "${WORKDIR}/git/configs" - -python() { - machine = d.getVar('MACHINE', True).capitalize() + '.py' - d.setVar('_config_in_skeleton', machine) -} - -do_make_setup() { - cp ${S}/${_config_in_skeleton} \ - ${S}/obmc_system_config.py - cat <<EOF > ${S}/setup.py -from distutils.core import setup - -setup(name='${BPN}', - version='${PR}', - py_modules=['obmc_system_config'], - ) -EOF -} - -addtask make_setup after do_patch before do_configure |