diff mbox series

[2/2] perf: add PACKAGECONFIG for systemtap

Message ID 1484574253-30817-2-git-send-email-ross.burton@intel.com
State Accepted
Commit 8aafed5f4757550f2ff688e1b8981e5e8e6e3428
Headers show
Series [1/2] perf: use PACKAGECONFIG instead of hand-rolled logic | expand

Commit Message

Ross Burton Jan. 16, 2017, 1:44 p.m. UTC
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>


Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/recipes-kernel/perf/perf.bb | 1 +
 1 file changed, 1 insertion(+)

-- 
2.8.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Bruce Ashfield Jan. 16, 2017, 2:18 p.m. UTC | #1
On 2017-01-16 8:44 AM, Ross Burton wrote:
> 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>

>

> Signed-off-by: Ross Burton <ross.burton@intel.com>


A deja-vu signed-off-by!

Bruce

> ---

>  meta/recipes-kernel/perf/perf.bb | 1 +

>  1 file changed, 1 insertion(+)

>

> diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb

> index 8b5028e..acbb1d9 100644

> --- a/meta/recipes-kernel/perf/perf.bb

> +++ b/meta/recipes-kernel/perf/perf.bb

> @@ -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 \

>


-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 8b5028e..acbb1d9 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -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 \