diff options
author | Phil Blundell <philb@gnu.org> | 2012-09-26 11:18:29 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-18 12:13:34 +0100 |
commit | fda7103eb69ad7ded09273e546b324e299ea29f1 (patch) | |
tree | 7d5eda49b958f83f33ef9bd06e6f46ce38faf72a /meta/recipes-devtools | |
parent | 0aad4662769530ef3ea045b6ba1afec7cc3f3055 (diff) | |
download | poky-fda7103eb69ad7ded09273e546b324e299ea29f1.tar.gz |
strace: Don't package strace-graph
Commit 9c9ea24b115a9bb87df1323b5f185ce426262aec made strace depend on perl because the
strace-graph script needs it. However, this cost of the dependency is large (building
all of perl) and the value of the script is marginal. Let's just delete the script
instead and remove the dependency again.
If anybody wants strace-graph then it should be packaged in its own recipe and that one
can be made to depend on perl without disrupting the main strace package.
(From OE-Core rev: 2e887af1c81f9b373684180f61a7c25163ed0e2c)
Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/strace/strace_4.7.bb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/meta/recipes-devtools/strace/strace_4.7.bb b/meta/recipes-devtools/strace/strace_4.7.bb index 21dd47a811..e1a5e828ed 100644 --- a/meta/recipes-devtools/strace/strace_4.7.bb +++ b/meta/recipes-devtools/strace/strace_4.7.bb | |||
@@ -3,11 +3,7 @@ HOMEPAGE = "http://strace.sourceforge.net" | |||
3 | SECTION = "console/utils" | 3 | SECTION = "console/utils" |
4 | LICENSE = "BSD" | 4 | LICENSE = "BSD" |
5 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=124500c21e856f0912df29295ba104c7" | 5 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=124500c21e856f0912df29295ba104c7" |
6 | PR = "r1" | 6 | PR = "r2" |
7 | |||
8 | PACKAGES =+ "${PN}-graph " | ||
9 | FILES_${PN}-graph = "${bindir}/strace-graph" | ||
10 | RDEPENDS_${PN}-graph = "perl" | ||
11 | 7 | ||
12 | SRC_URI = "${SOURCEFORGE_MIRROR}/strace/strace-${PV}.tar.xz \ | 8 | SRC_URI = "${SOURCEFORGE_MIRROR}/strace/strace-${PV}.tar.xz \ |
13 | file://strace-eglibc-2.16.patch \ | 9 | file://strace-eglibc-2.16.patch \ |
@@ -20,4 +16,9 @@ inherit autotools | |||
20 | 16 | ||
21 | export INCLUDES = "-I. -I./linux" | 17 | export INCLUDES = "-I. -I./linux" |
22 | 18 | ||
19 | do_install_append() { | ||
20 | # We don't ship strace-graph here because it needs perl | ||
21 | rm ${D}${bindir}/strace-graph | ||
22 | } | ||
23 | |||
23 | BBCLASSEXTEND = "native" | 24 | BBCLASSEXTEND = "native" |