]> code.ossystems Code Review - openembedded-core.git/commitdiff
perf: add PACKAGECONFIG for systemtap
authorRoss Burton <ross.burton@intel.com>
Mon, 16 Jan 2017 13:42:47 +0000 (13:42 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jan 2017 22:45:43 +0000 (22:45 +0000)
Otherwise it's possible to race with systemtap headers being present during the autodetection and disappearing during the build:

tests/sdt.c:14:21: fatal error: sys/sdt.h: No such file or directory
 #include <sys/sdt.h>
                     ^
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-kernel/perf/perf.bb

index 8b5028ea4c87b7b21bc55e1848beb1cdf4142346..acbb1d90381cc93442688164e005564009282fbc 100644 (file)
@@ -20,6 +20,7 @@ PACKAGECONFIG[scripting] = ",NO_LIBPERL=1 NO_LIBPYTHON=1,perl python"
 PACKAGECONFIG[tui] = ",NO_NEWT=1,libnewt slang"
 PACKAGECONFIG[libunwind] = ",NO_LIBUNWIND=1 NO_LIBDW_DWARF_UNWIND=1,libunwind"
 PACKAGECONFIG[libnuma] = ",NO_LIBNUMA=1"
+PACKAGECONFIG[systemtap] = ",NO_SDT=1,systemtap"
 
 DEPENDS = " \
     virtual/${MLPREFIX}libc \