mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
netcf: use autotools-bootstrap.bbclass
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
parent
f3e73003d0
commit
676e7016d6
|
|
@ -16,19 +16,13 @@ DEPENDS += "augeas libnl libxslt libxml2 gnulib"
|
|||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit gettext autotools-brokensep pkgconfig systemd
|
||||
inherit gettext autotools-bootstrap pkgconfig systemd
|
||||
|
||||
EXTRA_OECONF_append_class-target = " --with-driver=redhat"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)}"
|
||||
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() {
|
||||
if ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user