diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2018-07-10 16:41:40 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-15 16:16:16 +0100 |
commit | 6ebeeab6a6d195f1637ebf8c386de477a94e5f26 (patch) | |
tree | 9aadf581aeafd0931229ad38083c37a7814bf8da /meta/recipes-kernel/perf | |
parent | 08c2f0581f7754470df86cf44953e60fc666f093 (diff) | |
download | poky-6ebeeab6a6d195f1637ebf8c386de477a94e5f26.tar.gz |
perf: add dwarf to PACKAGECONFIG
Enable perf to be built with DWARF support.
Fixes [YOCTO #3359]
(From OE-Core rev: bed3a67932a85d7528179b0a35c21e1b595b6ce7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/perf')
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index 90bbed25c7..2c6bbb42b9 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
@@ -12,6 +12,7 @@ LICENSE = "GPLv2" | |||
12 | PR = "r9" | 12 | PR = "r9" |
13 | 13 | ||
14 | PACKAGECONFIG ??= "scripting tui libunwind" | 14 | PACKAGECONFIG ??= "scripting tui libunwind" |
15 | PACKAGECONFIG[dwarf] = ",NO_DWARF=1" | ||
15 | PACKAGECONFIG[scripting] = ",NO_LIBPERL=1 NO_LIBPYTHON=1,perl python" | 16 | PACKAGECONFIG[scripting] = ",NO_LIBPERL=1 NO_LIBPYTHON=1,perl python" |
16 | # gui support was added with kernel 3.6.35 | 17 | # gui support was added with kernel 3.6.35 |
17 | # since 3.10 libnewt was replaced by slang | 18 | # since 3.10 libnewt was replaced by slang |
@@ -80,7 +81,7 @@ EXTRA_OEMAKE = '\ | |||
80 | EXTRA_CFLAGS="-ldw" \ | 81 | EXTRA_CFLAGS="-ldw" \ |
81 | EXTRA_LDFLAGS="${PERF_EXTRA_LDFLAGS}" \ | 82 | EXTRA_LDFLAGS="${PERF_EXTRA_LDFLAGS}" \ |
82 | perfexecdir=${libexecdir} \ | 83 | perfexecdir=${libexecdir} \ |
83 | NO_GTK2=1 NO_DWARF=1 \ | 84 | NO_GTK2=1 \ |
84 | ${PACKAGECONFIG_CONFARGS} \ | 85 | ${PACKAGECONFIG_CONFARGS} \ |
85 | ' | 86 | ' |
86 | 87 | ||