[PATCH openbmc 3/6] Add skeleton classes
OpenBMC Patches
openbmc-patches at stwcx.xyz
Fri Jul 1 03:50:30 AEST 2016
From: Brad Bishop <bradleyb at fuzziesquirrel.com>
A number of classes to be used by recipes pointing to the skeleton
project.
Signed-off-by: Brad Bishop <bradleyb at fuzziesquirrel.com>
---
meta-phosphor/classes/skeleton-gdbus.bbclass | 7 +++++++
meta-phosphor/classes/skeleton-python.bbclass | 5 +++++
meta-phosphor/classes/skeleton-sdbus.bbclass | 7 +++++++
meta-phosphor/classes/skeleton.bbclass | 7 +++++++
4 files changed, 26 insertions(+)
create mode 100644 meta-phosphor/classes/skeleton-gdbus.bbclass
create mode 100644 meta-phosphor/classes/skeleton-python.bbclass
create mode 100644 meta-phosphor/classes/skeleton-sdbus.bbclass
create mode 100644 meta-phosphor/classes/skeleton.bbclass
diff --git a/meta-phosphor/classes/skeleton-gdbus.bbclass b/meta-phosphor/classes/skeleton-gdbus.bbclass
new file mode 100644
index 0000000..58df398
--- /dev/null
+++ b/meta-phosphor/classes/skeleton-gdbus.bbclass
@@ -0,0 +1,7 @@
+inherit skeleton
+
+DEPENDS += "glib-2.0 obmc-libobmc-intf"
+
+do_install_append() {
+ oe_runmake install DESTDIR=${D}
+}
diff --git a/meta-phosphor/classes/skeleton-python.bbclass b/meta-phosphor/classes/skeleton-python.bbclass
new file mode 100644
index 0000000..5464e2d
--- /dev/null
+++ b/meta-phosphor/classes/skeleton-python.bbclass
@@ -0,0 +1,5 @@
+inherit skeleton
+inherit allarch
+inherit setuptools
+
+DEPENDS += "python"
diff --git a/meta-phosphor/classes/skeleton-sdbus.bbclass b/meta-phosphor/classes/skeleton-sdbus.bbclass
new file mode 100644
index 0000000..627ce76
--- /dev/null
+++ b/meta-phosphor/classes/skeleton-sdbus.bbclass
@@ -0,0 +1,7 @@
+inherit skeleton
+
+DEPENDS += "systemd"
+
+do_install_append() {
+ oe_runmake install DESTDIR=${D}
+}
diff --git a/meta-phosphor/classes/skeleton.bbclass b/meta-phosphor/classes/skeleton.bbclass
new file mode 100644
index 0000000..72b26fb
--- /dev/null
+++ b/meta-phosphor/classes/skeleton.bbclass
@@ -0,0 +1,7 @@
+inherit obmc-phosphor-license
+
+HOMEPAGE = "http://github.com/openbmc/skeleton"
+
+SRCREV ??= "a194b9d150b9a8d35f757bae356083cbf0d1dfd8"
+SRC_URI += "git://github.com/openbmc/skeleton"
+S = "${WORKDIR}/git/${SKELETON_DIR}"
--
2.9.0
More information about the openbmc
mailing list