Commit Graph

46 Commits

Author SHA1 Message Date
Thomas Petazzoni
ed7b3362ad valgrind: fix build on PowerPC/uClibc
Fixes build failures like
http://autobuild.buildroot.org/results/112fa7c56e1e31c9a81d5f27394f58789e36bfec/build-end.log.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-06 11:49:19 +02:00
Thomas De Schampheleire
6a996469e2 valgrind: allow selecting which tools to install
The full valgrind installation takes more than 20 MB, while one typically does
not use all of its tools. This patch adds extra config options to select which
tools to install.

[Peter: Don't default experimental tools to 'y' as suggested by Arnout]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-04-05 18:19:54 +02:00
Thomas Petazzoni
bea251c696 valgrind: bump to 3.7.0 and fix build with ccache
After bumping to 3.7.0, the valgrind-3.6.1-configure-support-linux-3.patch is
no longer necessary since it was added upstream. The
valgrind-3.7.0-compiler-check.patch patch is added to fix a compiler version
check issue (patch taken from the upstream Subversion repository). The
valgrind-3.7.0-fix-ccache-support.patch is added to fix the build process when
ccache is used.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-02 15:08:11 +01:00
Thomas Petazzoni
300f9c9c9d package: remove useless arguments from AUTOTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29 23:12:27 +02:00
Baruch Siach
6bad62cb78 valgrind: workaround for segmentation fault on PowerPC
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-26 22:24:18 +02:00
Baruch Siach
49b058c8e7 valgrind: fix build on Linux kernel 3.x
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-26 22:23:54 +02:00
Thomas Petazzoni
afabcb6381 valgrind: bump to 3.6.1 and add support for ARMv7
We removed the shell script that wrapped valgrind (not nice to install
such non-standard things), and will let the user use the uclibc.supp
suppression file if needed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11 23:23:17 +02:00
Peter Korsgaard
0346e90a8b valgrind: broken on ppc
Valgrind 3.2.3 needs linux/a.out.h, which hasn't been exported on ppc
since 2.6.28.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-26 22:48:01 +02:00
Peter Korsgaard
59c8e4de91 valgrind: fix build without largefile support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 22:15:04 +02:00
Peter Korsgaard
3fdf0bffb8 buildroot: silence ./configure step when building with 'make -s'
We have been passing -q to ./configure when using 'make -s' for
packages using Makefile.autotools.in for some time. Do the same
for packages using autotools, but not using the
Makefile.autotools.in infrastructure, taking care to not do it
for packages with hand written configure scripts.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-01 21:24:42 +02:00
Peter Korsgaard
4a7bfd2775 package/: convert to DOWNLOAD helper 2009-01-16 11:42:52 +00:00
Peter Korsgaard
ac1d92c425 package/: get rid of unneeded $(strip ..) 2008-12-08 08:15:27 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Peter Korsgaard
654d98a010 valgrind: don't remove TARGET_DIR/usr/lib/pkgconfig
There's no need for removing the pkgconfig files in valgrind.mk
as that is now handled by the generic BR2_HAVE_DEVFILES.
2008-07-01 19:09:50 +00:00
Peter Korsgaard
a5ac61715b buildroot: s/depends/depends on/
The new kconfig is more strict regarding depends/depends on, so fixup
the tree.
2008-06-19 19:06:25 +00:00
Peter Korsgaard
62b1c6a1c2 valgrind: don't add pkgconfig files to target 2008-06-15 20:44:10 +00:00
Peter Korsgaard
1d141bcfd1 valgrind: there is no vgskin_none.so anymore, use coregrind/valgrind instead 2008-06-15 20:44:05 +00:00
Peter Korsgaard
01da93b218 valgrind: needs kernel headers (and doesn't respect CFLAGS) 2008-06-15 19:17:23 +00:00
Peter Korsgaard
dfe689229d buildroot: cleanup <package>-clean targets.
Based on input from Arndt Kritzner & Bernhard Fischer.
2008-03-27 15:42:42 +00:00
Bernhard Reutner-Fischer
14a71561a3 - just use the strip binary to avoid confusing libtool (quotes)
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-10-01 16:15:31 +00:00
Bernhard Reutner-Fischer
6c6cb06709 - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* toolchain/*/*.mk */Makefile.in -l) 2007-08-21 19:20:18 +00:00
Ulf Samuelsson
e4ead9c13c Remove switches if sstrip is run 2007-08-21 01:53:57 +00:00
Peter Korsgaard
6adb205522 Remove configure cruft 2007-07-05 15:55:23 +00:00
Bernhard Reutner-Fischer
74d518dc2a - add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGS
- use TARGET_CONFIGURE_ARGS where appropriate.
2007-06-27 12:01:27 +00:00
Peter Korsgaard
8ca4af140c Version bump. Thanks to Michael Benedict 2007-04-03 15:36:16 +00:00
Eric Andersen
15177a6e95 yet more LDFLAGS handling fixups 2007-03-14 03:12:22 +00:00
Eric Andersen
85d7f6f05f fixup package LDFLAGS handling 2007-03-13 22:59:59 +00:00
Eric Andersen
732d94d25f fixup a whole steaming pile of insanity. When packages are configured,
they should be configured with --prefix=/usr and we then need to use
make DESTDIR=$(STAGING_DIR) install to get things installed into the
staging directory.  The current situation for many packages, which use
--prefix=$(STAGING_DIR) results in the staging_dir paths getting compiled
into the binary itself.

This also adds in a pile of libtool fixups.  Between broken pkgconfig,
broken libtool handling, and broken --prefix settings, its a wonder
things have worked as well as they have up till now.
 -Erik
2007-01-14 03:52:21 +00:00
Bernhard Reutner-Fischer
6e2823c1fa - add and use BR2_BZCAT config option. 2006-11-17 15:43:51 +00:00
Peter Korsgaard
388e17a855 Valgrind works on PPC and AMD64 as well nowadays.
Use Kconfig to ensure valgrind can only be enabled on supported archs.
2006-09-25 08:48:47 +00:00
Peter Korsgaard
283c9b35bc Bump version 2006-09-25 07:27:46 +00:00
Eric Andersen
28e220f7a0 update valgrind to the latest and greatest, forward port my patches.
Mental note: submit upstream
2006-08-10 20:21:33 +00:00
Mike Frysinger
dfebda0014 remove extra space after touch 2005-11-24 06:53:24 +00:00
Eric Andersen
b904ce1778 Rather than adjusting the way ldso allocates memory, for the
time being simply add a series of suppressions to make valgrind
ignore all memory mmaped by uClibc's ldso.
2005-08-08 11:48:35 +00:00
Eric Andersen
a2c326396a update valgrind to the latest and greatest 2005-07-22 09:49:20 +00:00
Eric Andersen
369864cf10 be a bit more consistant with naming, always escape wildcards 2005-06-24 08:36:13 +00:00
Eric Andersen
bca6ae25ab make valgrind compile with newer kernel headers 2005-02-19 02:49:43 +00:00
Eric Andersen
d06645d8ed There is no need to have a separate 'Makefile.in' file in the
general case, therefore, combine the toplevel Makefile options
such as setting TARGETS into the per-package *.mk file
2005-02-10 03:06:39 +00:00
Eric Andersen
76adf60ddb Update version and patch for ioctls I happen to use 2005-01-23 11:31:48 +00:00
Mike Frysinger
0333aa2d67 merge help descriptions written by Tom Cameron 2004-12-24 09:39:23 +00:00
Eric Andersen
12c460a016 fix valgrind dependancies 2004-10-15 02:27:38 +00:00
Eric Andersen
bb05a9ad46 Make the TAR_VERBOSITY option a bit more sane 2004-10-09 21:19:47 +00:00
Mike Frysinger
3a7b488366 use $(TAR_VERBOSITY) 2004-10-09 19:05:40 +00:00
Eric Andersen
f694016136 final step in buildroot facelift 2004-10-09 06:13:40 +00:00
Eric Andersen
44eedc5c44 facelift step number two 2004-10-09 02:49:33 +00:00
Eric Andersen
73f7be8290 Remove the old 'make' directory, and populate the new 'package'
directory.
2004-10-09 01:24:28 +00:00