diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-07-15 17:22:24 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-07-28 21:35:38 +0300 |
commit | 3db4ad7500af37a582d1d060df1f54033c6a4084 (patch) | |
tree | 063662d771304d5e5e547c2f56f00aa0aaaa721f | |
parent | f59b876c40e8df6e1aa89cf62c46e6598559f465 (diff) | |
download | openbmc-3db4ad7500af37a582d1d060df1f54033c6a4084.tar.xz |
classes: prepare some classes for native
Enable native recipes to inherit the following classes:
skeleton-python
skeleton-sdbus
skeleton-gdbus
dbus-dir
obmc-phosphor-dbus-service
Change-Id: I1d79ffc38792dd48016f09119fc8ace46a304a4b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r-- | meta-phosphor/classes/obmc-phosphor-dbus-service.bbclass | 2 | ||||
-rw-r--r-- | meta-phosphor/classes/skeleton-gdbus.bbclass | 8 | ||||
-rw-r--r-- | meta-phosphor/classes/skeleton-python.bbclass | 15 | ||||
-rw-r--r-- | meta-phosphor/classes/skeleton-sdbus.bbclass | 8 |
4 files changed, 25 insertions, 8 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-dbus-service.bbclass b/meta-phosphor/classes/obmc-phosphor-dbus-service.bbclass index 68a42ce37..4066c6c1a 100644 --- a/meta-phosphor/classes/obmc-phosphor-dbus-service.bbclass +++ b/meta-phosphor/classes/obmc-phosphor-dbus-service.bbclass @@ -30,7 +30,7 @@ inherit dbus-dir inherit obmc-phosphor-utils -RDEPENDS_${PN} += "dbus-perms" +RDEPENDS_${PN}_append_class-target = " dbus-perms" DBUS_PACKAGES ?= "${PN}" _INSTALL_DBUS_CONFIGS="" diff --git a/meta-phosphor/classes/skeleton-gdbus.bbclass b/meta-phosphor/classes/skeleton-gdbus.bbclass index 58df398f5..75bfc83a1 100644 --- a/meta-phosphor/classes/skeleton-gdbus.bbclass +++ b/meta-phosphor/classes/skeleton-gdbus.bbclass @@ -1,7 +1,11 @@ inherit skeleton -DEPENDS += "glib-2.0 obmc-libobmc-intf" +DEPENDS_append_class-target = " glib-2.0 obmc-libobmc-intf" -do_install_append() { +do_compile_class-native() { + : +} + +do_install_append_class-target() { oe_runmake install DESTDIR=${D} } diff --git a/meta-phosphor/classes/skeleton-python.bbclass b/meta-phosphor/classes/skeleton-python.bbclass index 5464e2df9..83fef5405 100644 --- a/meta-phosphor/classes/skeleton-python.bbclass +++ b/meta-phosphor/classes/skeleton-python.bbclass @@ -1,5 +1,14 @@ -inherit skeleton -inherit allarch inherit setuptools -DEPENDS += "python" +do_compile_class-native() { + : +} + +do_install_class-native() { + : +} + +DEPENDS_append_class-target = " python" + +inherit skeleton +inherit allarch diff --git a/meta-phosphor/classes/skeleton-sdbus.bbclass b/meta-phosphor/classes/skeleton-sdbus.bbclass index 627ce763f..d6a1eabec 100644 --- a/meta-phosphor/classes/skeleton-sdbus.bbclass +++ b/meta-phosphor/classes/skeleton-sdbus.bbclass @@ -1,7 +1,11 @@ inherit skeleton -DEPENDS += "systemd" +DEPENDS_append_class-target = " systemd" -do_install_append() { +do_compile_class-native() { + : +} + +do_install_append_class-target() { oe_runmake install DESTDIR=${D} } |