From patchwork Wed Dec 12 11:26:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/2] iperf: pass in target path vars Date: Wed, 12 Dec 2012 11:26:12 -0000 From: Fahad Usman X-Patchwork-Id: 40801 Message-Id: <1355311572-10461-2-git-send-email-fahad_usman@mentor.com> To: openembedded-core@lists.openembedded.org Cc: Christopher Larson , Fahad Usman Signed-off-by: Christopher Larson the patch was imported from meta-mentor layer on yoctoproject git server http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id 71748b54694f4ffe2d598da71f641969df1417c0 slightly modified the patch to apply it on .bb file instead of .bbappend Signed-off-by: Fahad Usman --- meta/recipes-kernel/perf/perf_3.4.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/meta/recipes-kernel/perf/perf_3.4.bb b/meta/recipes-kernel/perf/perf_3.4.bb index 8d1b232..e89a7c3 100644 --- a/meta/recipes-kernel/perf/perf_3.4.bb +++ b/meta/recipes-kernel/perf/perf_3.4.bb @@ -73,6 +73,17 @@ EXTRA_OEMAKE = \ EXTRA_OEMAKE += "\ 'CFLAGS=${CFLAGS}' \ 'LDFLAGS=${LDFLAGS} -lpthread -lrt -lelf -lm -lbfd' \ + \ + 'prefix=${prefix}' \ + 'bindir=${bindir}' \ + 'sharedir=${datadir}' \ + 'sysconfdir=${sysconfdir}' \ + 'perfexecdir=${libexecdir}/perf-core' \ + \ + 'ETC_PERFCONFIG=${@oe.path.relative(prefix, sysconfdir)}' \ + 'sharedir=${@oe.path.relative(prefix, datadir)}' \ + 'mandir=${@oe.path.relative(prefix, mandir)}' \ + 'infodir=${@oe.path.relative(prefix, infodir)}' \ " do_compile() {