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>
This commit is contained in:
Anuj Mittal
2018-07-10 16:41:40 +08:00
committed by Richard Purdie
parent 08c2f0581f
commit 6ebeeab6a6

View File

@@ -12,6 +12,7 @@ LICENSE = "GPLv2"
PR = "r9"
PACKAGECONFIG ??= "scripting tui libunwind"
PACKAGECONFIG[dwarf] = ",NO_DWARF=1"
PACKAGECONFIG[scripting] = ",NO_LIBPERL=1 NO_LIBPYTHON=1,perl python"
# gui support was added with kernel 3.6.35
# since 3.10 libnewt was replaced by slang
@@ -80,7 +81,7 @@ EXTRA_OEMAKE = '\
EXTRA_CFLAGS="-ldw" \
EXTRA_LDFLAGS="${PERF_EXTRA_LDFLAGS}" \
perfexecdir=${libexecdir} \
NO_GTK2=1 NO_DWARF=1 \
NO_GTK2=1 \
${PACKAGECONFIG_CONFARGS} \
'