diff options
-rw-r--r-- | meta/packages/valgrind/files/makefile_fix.patch | 20 | ||||
-rw-r--r-- | meta/packages/valgrind/valgrind_3.2.1.bb | 17 |
2 files changed, 37 insertions, 0 deletions
diff --git a/meta/packages/valgrind/files/makefile_fix.patch b/meta/packages/valgrind/files/makefile_fix.patch new file mode 100644 index 0000000000..1a7bb4895a --- /dev/null +++ b/meta/packages/valgrind/files/makefile_fix.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | VEX/Makefile | 4 ++-- | ||
2 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
3 | |||
4 | Index: valgrind-3.2.1/VEX/Makefile | ||
5 | =================================================================== | ||
6 | --- valgrind-3.2.1.orig/VEX/Makefile 2006-08-28 14:39:42.000000000 +0100 | ||
7 | +++ valgrind-3.2.1/VEX/Makefile 2006-11-29 13:52:36.000000000 +0000 | ||
8 | @@ -64,10 +64,10 @@ PUB_INCLUDES = -Ipub | ||
9 | PRIV_INCLUDES = -Ipriv | ||
10 | |||
11 | |||
12 | -ifndef $(CC) | ||
13 | +ifndef CC | ||
14 | CC = gcc | ||
15 | endif | ||
16 | -ifndef $(AR) | ||
17 | +ifndef AR | ||
18 | AR = ar | ||
19 | endif | ||
20 | |||
diff --git a/meta/packages/valgrind/valgrind_3.2.1.bb b/meta/packages/valgrind/valgrind_3.2.1.bb new file mode 100644 index 0000000000..a03a290ef5 --- /dev/null +++ b/meta/packages/valgrind/valgrind_3.2.1.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | DESCRIPTION = "Valgrind memory debugger" | ||
2 | DEPENDS = "virtual/libx11" | ||
3 | HOMEPAGE = "http://www.valgrind.org/" | ||
4 | LICENSE = "GPL" | ||
5 | |||
6 | SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \ | ||
7 | file://makefile_fix.patch;patch=1" | ||
8 | |||
9 | S = "${WORKDIR}/valgrind-${PV}" | ||
10 | |||
11 | COMPATIBLE_HOST = 'i.86.*-linux' | ||
12 | |||
13 | inherit autotools | ||
14 | |||
15 | EXTRA_OECONF = "--enable-tls" | ||
16 | |||
17 | FILES = "${bindir}/bin" | ||