diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2015-10-30 12:31:59 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-11-06 17:49:36 +0100 |
commit | 676e7016d6c2c19fc288913bd4222ee00d8c06ac (patch) | |
tree | fd048f0aa86e890fe9f055d0e020987ec4498b2a /meta-networking | |
parent | f3e73003d0bd244553a3c528e7f6035a23a93b78 (diff) | |
download | meta-openembedded-676e7016d6c2c19fc288913bd4222ee00d8c06ac.tar.gz |
netcf: use autotools-bootstrap.bbclass
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-support/netcf/netcf_git.bb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/meta-networking/recipes-support/netcf/netcf_git.bb b/meta-networking/recipes-support/netcf/netcf_git.bb index 8a8963e44f..26c738b2cc 100644 --- a/meta-networking/recipes-support/netcf/netcf_git.bb +++ b/meta-networking/recipes-support/netcf/netcf_git.bb | |||
@@ -16,19 +16,13 @@ DEPENDS += "augeas libnl libxslt libxml2 gnulib" | |||
16 | 16 | ||
17 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" |
18 | 18 | ||
19 | inherit gettext autotools-brokensep pkgconfig systemd | 19 | inherit gettext autotools-bootstrap pkgconfig systemd |
20 | 20 | ||
21 | EXTRA_OECONF_append_class-target = " --with-driver=redhat" | 21 | EXTRA_OECONF_append_class-target = " --with-driver=redhat" |
22 | 22 | ||
23 | PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)}" | 23 | PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)}" |
24 | PACKAGECONFIG[systemd] = "--with-sysinit=systemd,--with-sysinit=initscripts," | 24 | PACKAGECONFIG[systemd] = "--with-sysinit=systemd,--with-sysinit=initscripts," |
25 | 25 | ||
26 | do_configure_prepend() { | ||
27 | cd ${S} | ||
28 | rm -f .gitmodules | ||
29 | ./bootstrap --gnulib-srcdir=${STAGING_DATADIR}/gnulib | ||
30 | } | ||
31 | |||
32 | do_install_append() { | 26 | do_install_append() { |
33 | if ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 27 | if ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
34 | install -d ${D}${systemd_unitdir}/system | 28 | install -d ${D}${systemd_unitdir}/system |