mirror of
https://git.yoctoproject.org/poky
synced 2026-04-14 08:02:30 +02: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"
|
||||
|
||||
do_stage() {
|
||||
oe_runmake install
|
||||
autotools_stage_all
|
||||
do_install() {
|
||||
autotools_do_install
|
||||
|
||||
# for dbus-glib-native introspection generation
|
||||
install -d ${STAGING_DATADIR}/dbus
|
||||
install -m 0644 bus/session.conf ${STAGING_DATADIR}/dbus/session.conf
|
||||
install -d ${D}${datadir}/dbus/
|
||||
install -m 0644 bus/session.conf ${D}${datadir}/dbus/session.conf
|
||||
|
||||
# dbus-glib-native and dbus-glib need this xml file
|
||||
install -d ${STAGING_DATADIR_NATIVE}/dbus/
|
||||
cd ${S}
|
||||
./bus/dbus-daemon --introspect > ${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml
|
||||
}
|
||||
|
||||
do_install() {
|
||||
:
|
||||
./bus/dbus-daemon --introspect > ${D}${datadir}/dbus/dbus-bus-introspect.xml
|
||||
}
|
||||
|
||||
@@ -3,24 +3,18 @@ inherit native
|
||||
|
||||
DEPENDS = "glib-2.0-native libxml2-native expat-native"
|
||||
|
||||
PR = "r6"
|
||||
PR = "r7"
|
||||
|
||||
EXTRA_OECONF_X = "--without-x"
|
||||
|
||||
do_stage() {
|
||||
oe_runmake install
|
||||
autotools_stage_all
|
||||
do_install() {
|
||||
autotools_do_install
|
||||
|
||||
# for dbus-glib-native introspection generation
|
||||
install -d ${STAGING_DATADIR}/dbus
|
||||
install -m 0644 bus/session.conf ${STAGING_DATADIR}/dbus/session.conf
|
||||
install -d ${D}${datadir}/dbus/
|
||||
install -m 0644 bus/session.conf ${D}${datadir}/dbus/session.conf
|
||||
|
||||
# dbus-glib-native and dbus-glib need this xml file
|
||||
install -d ${STAGING_DATADIR_NATIVE}/dbus/
|
||||
cd ${S}
|
||||
./bus/dbus-daemon --introspect > ${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml
|
||||
}
|
||||
|
||||
do_install() {
|
||||
:
|
||||
./bus/dbus-daemon --introspect > ${D}${datadir}/dbus/dbus-bus-introspect.xml
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user