diff mbox

[oe,meta-networking] netperf: fix S!=B issues

Message ID 1398845392-22825-1-git-send-email-koen.kooi@linaro.org
State Accepted
Commit b78c07ceb9d2a49fb5ff1c29d7d5c7d6b4bab0de
Headers show

Commit Message

Koen Kooi April 30, 2014, 8:09 a.m. UTC
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
---
 meta-networking/recipes-support/netperf/netperf_2.6.0.bb | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
diff mbox

Patch

diff --git a/meta-networking/recipes-support/netperf/netperf_2.6.0.bb b/meta-networking/recipes-support/netperf/netperf_2.6.0.bb
index 45760ad..7124b02 100644
--- a/meta-networking/recipes-support/netperf/netperf_2.6.0.bb
+++ b/meta-networking/recipes-support/netperf/netperf_2.6.0.bb
@@ -30,7 +30,7 @@  CFLAGS_append = "${@base_contains('DISTRO_FEATURES', 'largefile', \
 # autotools.bbclass attends to include m4 files with path depth <= 2 by
 # "find ${S} -maxdepth 2 -name \*.m4", so move m4 files from m4/m4.
 do_configure_prepend() {
-    test -d m4/m4 && mv -f m4/m4 m4-files
+    test -d ${S}/m4/m4 && mv -f ${S}/m4/m4 ${S}/m4-files
 }
 
 do_install() {
@@ -43,18 +43,18 @@  do_install() {
 
     # man
     install -d ${D}${mandir}/man1/
-    install -m 0644 doc/netserver.man ${D}${mandir}/man1/netserver.1
-    install -m 0644 doc/netperf.man ${D}${mandir}/man1/netperf.1
+    install -m 0644 ${S}/doc/netserver.man ${D}${mandir}/man1/netserver.1
+    install -m 0644 ${S}/doc/netperf.man ${D}${mandir}/man1/netperf.1
 
     # move scripts to examples directory
     install -d ${D}${docdir}/netperf/examples
-    install -m 0644 doc/examples/*_script ${D}${docdir}/netperf/examples/
+    install -m 0644 ${S}/doc/examples/*_script ${D}${docdir}/netperf/examples/
 
     # docs ..
-    install -m 0644 COPYING ${D}${docdir}/netperf
-    install -m 0644 Release_Notes ${D}${docdir}/netperf
-    install -m 0644 README ${D}${docdir}/netperf
-    install -m 0644 doc/netperf_old.ps ${D}${docdir}/netperf
+    install -m 0644 ${S}/COPYING ${D}${docdir}/netperf
+    install -m 0644 ${S}/Release_Notes ${D}${docdir}/netperf
+    install -m 0644 ${S}/README ${D}${docdir}/netperf
+    install -m 0644 ${S}/doc/netperf_old.ps ${D}${docdir}/netperf
 }
 
 INITSCRIPT_NAME="netperf"