diff options
author | Mike Crowe <mac@mcrowe.com> | 2012-03-06 09:03:21 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-08 11:55:38 -0800 |
commit | a79bddde56f23b018f251aee9fd21f14076e14f1 (patch) | |
tree | 567afae8c8e57dca7edbd010888a9b990876031d /meta | |
parent | d4d74610f2557bf8a9e93805c994fe9fa467eb14 (diff) | |
download | poky-a79bddde56f23b018f251aee9fd21f14076e14f1.tar.gz |
valgrind: Support compilation without X11
Only depend on X libraries if the distribution has X support.
(From OE-Core rev: 8a4bc16b853f3d5092c588703eef0ccb6aeb6ba1)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind_3.7.0.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb index 9c53262c60..d7c7b244ee 100644 --- a/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb +++ b/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb | |||
@@ -6,8 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803 \ | |||
6 | file://include/pub_tool_basics.h;beginline=1;endline=29;md5=0ef036a7ddce4cdc738d65d63b3e8153 \ | 6 | file://include/pub_tool_basics.h;beginline=1;endline=29;md5=0ef036a7ddce4cdc738d65d63b3e8153 \ |
7 | file://include/valgrind.h;beginline=1;endline=56;md5=aee56014c1dd64260a59fd4df38752f6 \ | 7 | file://include/valgrind.h;beginline=1;endline=56;md5=aee56014c1dd64260a59fd4df38752f6 \ |
8 | file://COPYING.DOCS;md5=8fdeb5abdb235a08e76835f8f3260215" | 8 | file://COPYING.DOCS;md5=8fdeb5abdb235a08e76835f8f3260215" |
9 | DEPENDS = "virtual/libx11" | 9 | |
10 | PR = "r3" | 10 | X11DEPENDS = "virtual/libx11" |
11 | DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" | ||
12 | PR = "r4" | ||
11 | 13 | ||
12 | SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \ | 14 | SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \ |
13 | file://fix_issue_caused_by_ccache.patch \ | 15 | file://fix_issue_caused_by_ccache.patch \ |