mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
netcf: use autotools-bootstrap.bbclass
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
committed by
Martin Jansa
parent
f3e73003d0
commit
676e7016d6
@@ -16,19 +16,13 @@ DEPENDS += "augeas libnl libxslt libxml2 gnulib"
|
|||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
inherit gettext autotools-brokensep pkgconfig systemd
|
inherit gettext autotools-bootstrap pkgconfig systemd
|
||||||
|
|
||||||
EXTRA_OECONF_append_class-target = " --with-driver=redhat"
|
EXTRA_OECONF_append_class-target = " --with-driver=redhat"
|
||||||
|
|
||||||
PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)}"
|
PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)}"
|
||||||
PACKAGECONFIG[systemd] = "--with-sysinit=systemd,--with-sysinit=initscripts,"
|
PACKAGECONFIG[systemd] = "--with-sysinit=systemd,--with-sysinit=initscripts,"
|
||||||
|
|
||||||
do_configure_prepend() {
|
|
||||||
cd ${S}
|
|
||||||
rm -f .gitmodules
|
|
||||||
./bootstrap --gnulib-srcdir=${STAGING_DATADIR}/gnulib
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
if ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
if ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
||||||
install -d ${D}${systemd_unitdir}/system
|
install -d ${D}${systemd_unitdir}/system
|
||||||
|
|||||||
Reference in New Issue
Block a user