mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
dbus-native: Convert to use do_install for staging
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -7,20 +7,14 @@ PR = "r6"
|
|||||||
|
|
||||||
EXTRA_OECONF_X = "--without-x"
|
EXTRA_OECONF_X = "--without-x"
|
||||||
|
|
||||||
do_stage() {
|
do_install() {
|
||||||
oe_runmake install
|
autotools_do_install
|
||||||
autotools_stage_all
|
|
||||||
|
|
||||||
# for dbus-glib-native introspection generation
|
# for dbus-glib-native introspection generation
|
||||||
install -d ${STAGING_DATADIR}/dbus
|
install -d ${D}${datadir}/dbus/
|
||||||
install -m 0644 bus/session.conf ${STAGING_DATADIR}/dbus/session.conf
|
install -m 0644 bus/session.conf ${D}${datadir}/dbus/session.conf
|
||||||
|
|
||||||
# dbus-glib-native and dbus-glib need this xml file
|
# dbus-glib-native and dbus-glib need this xml file
|
||||||
install -d ${STAGING_DATADIR_NATIVE}/dbus/
|
|
||||||
cd ${S}
|
cd ${S}
|
||||||
./bus/dbus-daemon --introspect > ${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml
|
./bus/dbus-daemon --introspect > ${D}${datadir}/dbus/dbus-bus-introspect.xml
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
:
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,24 +3,18 @@ inherit native
|
|||||||
|
|
||||||
DEPENDS = "glib-2.0-native libxml2-native expat-native"
|
DEPENDS = "glib-2.0-native libxml2-native expat-native"
|
||||||
|
|
||||||
PR = "r6"
|
PR = "r7"
|
||||||
|
|
||||||
EXTRA_OECONF_X = "--without-x"
|
EXTRA_OECONF_X = "--without-x"
|
||||||
|
|
||||||
do_stage() {
|
do_install() {
|
||||||
oe_runmake install
|
autotools_do_install
|
||||||
autotools_stage_all
|
|
||||||
|
|
||||||
# for dbus-glib-native introspection generation
|
# for dbus-glib-native introspection generation
|
||||||
install -d ${STAGING_DATADIR}/dbus
|
install -d ${D}${datadir}/dbus/
|
||||||
install -m 0644 bus/session.conf ${STAGING_DATADIR}/dbus/session.conf
|
install -m 0644 bus/session.conf ${D}${datadir}/dbus/session.conf
|
||||||
|
|
||||||
# dbus-glib-native and dbus-glib need this xml file
|
# dbus-glib-native and dbus-glib need this xml file
|
||||||
install -d ${STAGING_DATADIR_NATIVE}/dbus/
|
|
||||||
cd ${S}
|
cd ${S}
|
||||||
./bus/dbus-daemon --introspect > ${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml
|
./bus/dbus-daemon --introspect > ${D}${datadir}/dbus/dbus-bus-introspect.xml
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
:
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user