diff options
Diffstat (limited to 'meta/recipes-kernel/perf')
-rw-r--r-- | meta/recipes-kernel/perf/perf_3.4.bb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-kernel/perf/perf_3.4.bb b/meta/recipes-kernel/perf/perf_3.4.bb index e96552c2d5..ccb7425135 100644 --- a/meta/recipes-kernel/perf/perf_3.4.bb +++ b/meta/recipes-kernel/perf/perf_3.4.bb | |||
@@ -9,16 +9,19 @@ as well." | |||
9 | LICENSE = "GPLv2" | 9 | LICENSE = "GPLv2" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" |
11 | 11 | ||
12 | PR = "r2" | 12 | PR = "r3" |
13 | 13 | ||
14 | require perf.inc | 14 | require perf.inc |
15 | 15 | ||
16 | BUILDPERF_libc-uclibc = "no" | 16 | BUILDPERF_libc-uclibc = "no" |
17 | 17 | ||
18 | TUI_DEPENDS = "${@perf_feature_enabled('perf-tui', 'libnewt', '',d)}" | ||
19 | |||
18 | DEPENDS = "virtual/kernel \ | 20 | DEPENDS = "virtual/kernel \ |
19 | virtual/${MLPREFIX}libc \ | 21 | virtual/${MLPREFIX}libc \ |
20 | ${MLPREFIX}elfutils \ | 22 | ${MLPREFIX}elfutils \ |
21 | ${MLPREFIX}binutils \ | 23 | ${MLPREFIX}binutils \ |
24 | ${TUI_DEPENDS} \ | ||
22 | " | 25 | " |
23 | 26 | ||
24 | SCRIPTING_RDEPENDS = "${@perf_feature_enabled('perf-scripting', 'perl perl-modules python', '',d)}" | 27 | SCRIPTING_RDEPENDS = "${@perf_feature_enabled('perf-scripting', 'perl perl-modules python', '',d)}" |
@@ -47,6 +50,7 @@ S = "${STAGING_KERNEL_DIR}" | |||
47 | B = "${WORKDIR}/${BPN}-${PV}" | 50 | B = "${WORKDIR}/${BPN}-${PV}" |
48 | 51 | ||
49 | SCRIPTING_DEFINES = "${@perf_feature_enabled('perf-scripting', '', 'NO_LIBPERL=1 NO_LIBPYTHON=1',d)}" | 52 | SCRIPTING_DEFINES = "${@perf_feature_enabled('perf-scripting', '', 'NO_LIBPERL=1 NO_LIBPYTHON=1',d)}" |
53 | TUI_DEFINES = "${@perf_feature_enabled('perf-tui', '', 'NO_NEWT=1',d)}" | ||
50 | 54 | ||
51 | EXTRA_OEMAKE = \ | 55 | EXTRA_OEMAKE = \ |
52 | '-C ${S}/tools/perf \ | 56 | '-C ${S}/tools/perf \ |
@@ -56,7 +60,7 @@ EXTRA_OEMAKE = \ | |||
56 | CC="${CC}" \ | 60 | CC="${CC}" \ |
57 | AR="${AR}" \ | 61 | AR="${AR}" \ |
58 | prefix=/usr \ | 62 | prefix=/usr \ |
59 | NO_GTK2=1 NO_NEWT=1 NO_DWARF=1 ${SCRIPTING_DEFINES} \ | 63 | NO_GTK2=1 ${TUI_DEFINES} NO_DWARF=1 ${SCRIPTING_DEFINES} \ |
60 | ' | 64 | ' |
61 | 65 | ||
62 | do_compile() { | 66 | do_compile() { |