diff options
Diffstat (limited to 'meta-networking/recipes-support/netperf/netperf_git.bb')
-rw-r--r-- | meta-networking/recipes-support/netperf/netperf_git.bb | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/meta-networking/recipes-support/netperf/netperf_git.bb b/meta-networking/recipes-support/netperf/netperf_git.bb index 579a04b86f..4043da5621 100644 --- a/meta-networking/recipes-support/netperf/netperf_git.bb +++ b/meta-networking/recipes-support/netperf/netperf_git.bb | |||
@@ -15,11 +15,12 @@ SRC_URI = "git://github.com/HewlettPackard/netperf.git;branch=master;protocol=ht | |||
15 | file://0001-netlib.c-Move-including-sched.h-out-og-function.patch \ | 15 | file://0001-netlib.c-Move-including-sched.h-out-og-function.patch \ |
16 | file://0001-nettest_omni-Remove-duplicate-variable-definitions.patch \ | 16 | file://0001-nettest_omni-Remove-duplicate-variable-definitions.patch \ |
17 | file://netserver_permissions.patch \ | 17 | file://netserver_permissions.patch \ |
18 | file://0001-Makefile.am-add-ACLOCAL_AMFLAGS.patch \ | ||
19 | file://0001-Fix-too-many-arguments-error-occurring-in-gcc-15.patch \ | ||
18 | " | 20 | " |
19 | 21 | ||
20 | SRCREV = "3bc455b23f901dae377ca0a558e1e32aa56b31c4" | 22 | SRCREV = "3bc455b23f901dae377ca0a558e1e32aa56b31c4" |
21 | 23 | ||
22 | S = "${WORKDIR}/git" | ||
23 | 24 | ||
24 | inherit update-rc.d autotools texinfo systemd | 25 | inherit update-rc.d autotools texinfo systemd |
25 | 26 | ||
@@ -35,12 +36,6 @@ PACKAGECONFIG[sctp] = "--enable-sctp,--disable-sctp,lksctp-tools," | |||
35 | PACKAGECONFIG[intervals] = "--enable-intervals,--disable-intervals,," | 36 | PACKAGECONFIG[intervals] = "--enable-intervals,--disable-intervals,," |
36 | PACKAGECONFIG[histogram] = "--enable-histogram,--disable-histogram,," | 37 | PACKAGECONFIG[histogram] = "--enable-histogram,--disable-histogram,," |
37 | 38 | ||
38 | # autotools.bbclass attends to include m4 files with path depth <= 2 by | ||
39 | # "find ${S} -maxdepth 2 -name \*.m4", so move m4 files from m4/m4. | ||
40 | do_configure:prepend() { | ||
41 | test -d ${S}/m4/m4 && mv -f ${S}/m4/m4 ${S}/m4-files | ||
42 | } | ||
43 | |||
44 | do_install() { | 39 | do_install() { |
45 | sed -e 's#/usr/sbin/#${sbindir}/#g' -i ${UNPACKDIR}/init | 40 | sed -e 's#/usr/sbin/#${sbindir}/#g' -i ${UNPACKDIR}/init |
46 | install -d ${D}${sbindir} ${D}${bindir} ${D}${sysconfdir}/init.d ${D}${systemd_system_unitdir} | 41 | install -d ${D}${sbindir} ${D}${bindir} ${D}${sysconfdir}/init.d ${D}${systemd_system_unitdir} |
@@ -69,6 +64,6 @@ do_install() { | |||
69 | 64 | ||
70 | RRECOMMENDS:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'sctp', 'kernel-module-sctp', '', d)}" | 65 | RRECOMMENDS:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'sctp', 'kernel-module-sctp', '', d)}" |
71 | 66 | ||
72 | INITSCRIPT_NAME="netperf" | 67 | INITSCRIPT_NAME = "netperf" |
73 | INITSCRIPT_PARAMS="defaults" | 68 | INITSCRIPT_PARAMS = "defaults" |
74 | SYSTEMD_SERVICE:${PN} = "netserver.service" | 69 | SYSTEMD_SERVICE:${PN} = "netserver.service" |