diff options
author | Fahad Usman <fahad_usman@mentor.com> | 2012-12-12 16:26:12 +0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-17 17:24:54 +0000 |
commit | f023d0589815a0068435b711e723d21c9560e30d (patch) | |
tree | 512fcf90b652aff871d5d79bf53d67c4f793a543 /meta | |
parent | ec70f9ec3b14b99de5a70b86b4e096e941c9dbad (diff) | |
download | poky-f023d0589815a0068435b711e723d21c9560e30d.tar.gz |
iperf: pass in target path vars
(From OE-Core rev: accbcea94091800a90df0f5141990c110ff35ee5)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
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 <fahad_usman@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/perf/perf_3.4.bb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-kernel/perf/perf_3.4.bb b/meta/recipes-kernel/perf/perf_3.4.bb index 8d1b2324b3..e89a7c3ba4 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 = \ | |||
73 | EXTRA_OEMAKE += "\ | 73 | EXTRA_OEMAKE += "\ |
74 | 'CFLAGS=${CFLAGS}' \ | 74 | 'CFLAGS=${CFLAGS}' \ |
75 | 'LDFLAGS=${LDFLAGS} -lpthread -lrt -lelf -lm -lbfd' \ | 75 | 'LDFLAGS=${LDFLAGS} -lpthread -lrt -lelf -lm -lbfd' \ |
76 | \ | ||
77 | 'prefix=${prefix}' \ | ||
78 | 'bindir=${bindir}' \ | ||
79 | 'sharedir=${datadir}' \ | ||
80 | 'sysconfdir=${sysconfdir}' \ | ||
81 | 'perfexecdir=${libexecdir}/perf-core' \ | ||
82 | \ | ||
83 | 'ETC_PERFCONFIG=${@oe.path.relative(prefix, sysconfdir)}' \ | ||
84 | 'sharedir=${@oe.path.relative(prefix, datadir)}' \ | ||
85 | 'mandir=${@oe.path.relative(prefix, mandir)}' \ | ||
86 | 'infodir=${@oe.path.relative(prefix, infodir)}' \ | ||
76 | " | 87 | " |
77 | 88 | ||
78 | do_compile() { | 89 | do_compile() { |