diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index ea8599a81c..bfd210cf2e 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
@@ -22,13 +22,13 @@ TUI_DEPENDS = "${@perf_feature_enabled('perf-tui', 'libnewt slang', '',d)}" | |||
22 | SCRIPTING_DEPENDS = "${@perf_feature_enabled('perf-scripting', 'perl python', '',d)}" | 22 | SCRIPTING_DEPENDS = "${@perf_feature_enabled('perf-scripting', 'perl python', '',d)}" |
23 | 23 | ||
24 | DEPENDS = "virtual/kernel \ | 24 | DEPENDS = "virtual/kernel \ |
25 | virtual/${MLPREFIX}libc \ | 25 | virtual/${MLPREFIX}libc \ |
26 | ${MLPREFIX}elfutils \ | 26 | ${MLPREFIX}elfutils \ |
27 | ${MLPREFIX}binutils \ | 27 | ${MLPREFIX}binutils \ |
28 | ${TUI_DEPENDS} \ | 28 | ${TUI_DEPENDS} \ |
29 | ${SCRIPTING_DEPENDS} \ | 29 | ${SCRIPTING_DEPENDS} \ |
30 | bison flex \ | 30 | bison flex \ |
31 | " | 31 | " |
32 | 32 | ||
33 | PROVIDES = "virtual/perf" | 33 | PROVIDES = "virtual/perf" |
34 | 34 | ||
@@ -68,28 +68,28 @@ TUI_DEFINES = "${@perf_feature_enabled('perf-tui', '', 'NO_NEWT=1',d)}" | |||
68 | # supported kernel. | 68 | # supported kernel. |
69 | LDFLAGS="-ldl -lutil" | 69 | LDFLAGS="-ldl -lutil" |
70 | 70 | ||
71 | EXTRA_OEMAKE = \ | 71 | EXTRA_OEMAKE = '\ |
72 | '-C ${S}/tools/perf \ | 72 | -C ${S}/tools/perf \ |
73 | O=${B} \ | 73 | O=${B} \ |
74 | CROSS_COMPILE=${TARGET_PREFIX} \ | 74 | CROSS_COMPILE=${TARGET_PREFIX} \ |
75 | ARCH=${ARCH} \ | 75 | ARCH=${ARCH} \ |
76 | CC="${CC}" \ | 76 | CC="${CC}" \ |
77 | AR="${AR}" \ | 77 | AR="${AR}" \ |
78 | perfexecdir=${libexecdir} \ | 78 | perfexecdir=${libexecdir} \ |
79 | NO_GTK2=1 ${TUI_DEFINES} NO_DWARF=1 NO_LIBUNWIND=1 ${SCRIPTING_DEFINES} \ | 79 | NO_GTK2=1 ${TUI_DEFINES} NO_DWARF=1 NO_LIBUNWIND=1 ${SCRIPTING_DEFINES} \ |
80 | ' | 80 | ' |
81 | 81 | ||
82 | EXTRA_OEMAKE += "\ | 82 | EXTRA_OEMAKE += "\ |
83 | 'prefix=${prefix}' \ | 83 | 'prefix=${prefix}' \ |
84 | 'bindir=${bindir}' \ | 84 | 'bindir=${bindir}' \ |
85 | 'sharedir=${datadir}' \ | 85 | 'sharedir=${datadir}' \ |
86 | 'sysconfdir=${sysconfdir}' \ | 86 | 'sysconfdir=${sysconfdir}' \ |
87 | 'perfexecdir=${libexecdir}/perf-core' \ | 87 | 'perfexecdir=${libexecdir}/perf-core' \ |
88 | \ | 88 | \ |
89 | 'ETC_PERFCONFIG=${@os.path.relpath(sysconfdir, prefix)}' \ | 89 | 'ETC_PERFCONFIG=${@os.path.relpath(sysconfdir, prefix)}' \ |
90 | 'sharedir=${@os.path.relpath(datadir, prefix)}' \ | 90 | 'sharedir=${@os.path.relpath(datadir, prefix)}' \ |
91 | 'mandir=${@os.path.relpath(mandir, prefix)}' \ | 91 | 'mandir=${@os.path.relpath(mandir, prefix)}' \ |
92 | 'infodir=${@os.path.relpath(infodir, prefix)}' \ | 92 | 'infodir=${@os.path.relpath(infodir, prefix)}' \ |
93 | " | 93 | " |
94 | 94 | ||
95 | PARALLEL_MAKE = "" | 95 | PARALLEL_MAKE = "" |