summaryrefslogtreecommitdiffstats
path: root/package/valgrind
Commit message (Collapse)AuthorAgeFilesLines
* valgrind: disable for mips32r6/mips32elr6Peter Seiderer2018-11-301-1/+3
| | | | | | | | | | | | | Fixes [1]: /tmp/ccD2Tule.s: Assembler messages: /tmp/ccD2Tule.s:682: Error: opcode not supported on this processor: mips32r6 (mips32r6) `movn $2,$4,$7' /tmp/ccD2Tule.s:2767: Error: opcode not supported on this processor: mips32r6 (mips32r6) `movn $2,$4,$7' [1] http://autobuild.buildroot.net/results/f0253d1ed11021d3e5914a5161360de3ef3d1641 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* valgrind: fix mips64 compilePeter Seiderer2018-11-282-0/+52
| | | | | | | | | | | | | | | Disable gcc march mips64r2 detection (use compile flags already set by buildroot only), avoids double setting like '-march=mips64 ... -march=mips64r2 -mabi=64'. Fixes [1]: error: '-mips64r2' conflicts with the other architecture options, which specify a mips64 processor [1] http://autobuild.buildroot.net/results/34f6e2352f1559f98c724fe5394db0035b42ddb1 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* valgrind: disable for mips64r6/mips64elr6Peter Seiderer2018-11-091-1/+4
| | | | | | | | | | | | | Fixes [1]: /tmp/ccBAUqbI.s: Assembler messages: /tmp/ccBAUqbI.s:622: Error: opcode not supported on this processor: mips64r6 (mips64r6) `movn $2,$4,$7' /tmp/ccBAUqbI.s:2607: Error: opcode not supported on this processor: mips64r6 (mips64r6) `movn $2,$4,$7' [1] http://autobuild.buildroot.net/results/dc52088222e9fbedcebffc1c39be6d2fecfffe5d Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* valgrind: fix uclibc c99 support detectionPeter Seiderer2018-10-281-0/+3
| | | | | | | | | | | | | | | | | | | | Fixes [1]: checking for /home/peko/autobuild/instance-0/output/host/bin/powerpc-linux-gcc option to accept ISO C99... unsupported configure: error: Valgrind relies on a C compiler supporting C99 with the following in the valgrind-3.14.0/config.log: configure:5517: checking for .../host/bin/powerpc-linux-gcc option to accept ISO C99 configure:5666: .../host/bin/powerpc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-stack-protector -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:55:9: error: unknown type name 'wchar_t' const wchar_t *name; ^~~~~~~ [1] http://autobuild.buildroot.net/results/b25013f785a11f07e8da3735741b96036712f42a Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* valgrind: bump version to 3.14.0Peter Seiderer2018-10-262-2/+8
| | | | | | | | | | | - new option: link-time optimisation For details see [1]. [1] http://valgrind.org/docs/manual/dist.news.html Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* arch: allow GCC target options to be optionally overwrittenMark Corbin2018-09-231-1/+1
| | | | | | | | | | | | | The BR2_GCC_TARGET_* configuration variables are copied to corresponding GCC_TARGET_* variables which may then be optionally modified or overwritten by architecture specific makefiles. All makefiles must use the new GCC_TARGET_* variables instead of the BR2_GCC_TARGET_* versions. Signed-off-by: Mark Corbin <mark.corbin@embecosm.com> [Thomas: simplify include of arch/arch.mk] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* valgrind: bump version to 3.13.0Peter Seiderer2018-04-173-105/+7
| | | | | | | | | | | | - update site - add license hash - remove 0004-Fixes-for-musl-libc.patch (applied upstream, see [1]) and corresponding autoreconf option [1] https://sourceware.org/git/?p=valgrind.git;a=commit;h=f8f1e9cb434cc97ce16586437407a6ac7e6a74a7 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* valgrind: allow selection on aarch64Anssi Hannula2018-04-151-0/+1
| | | | | | | | valgrind works fine on aarch64, so allow selecting it on that architecture. Signed-off-by: Anssi Hannula <anssi.hannula@bitwise.fi> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/valgrind: hide comment when arch is not supportedYann E. MORIN2017-08-111-5/+10
| | | | | | | | | | | | | | | | | | | | Currently, the comment that "valgrind needs shared libs" is not hidden when the architecture dependencies are not met, which can confuse some users (as recently seen on IRC). Fix that by introducing the traditional _ARCH_SUPPORTS option, and have the comment and the symbol depend on that. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Brandon Maier <brandon.maier@rockwellcollins.com> Cc: Jérôme Pouiller <jezz@sysmic.org> Cc: Peter Seiderer <ps.report@gmx.net> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Reviewed--by: Pedro Ribeiro <pedrib@gmail.com> Tested-by: Pedro Ribeiro <pedrib@gmail.com> [Arnout: put _ARCH_SUPPORTS at the top of the file] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package: use SPDX short identifier for GFDL family licensesRahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for GFDLv1.1/GFDLv1.2/GFDLv1.3 is GFDL-1.1/ GFDL-1.2/GFDL-1.3. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/GFDL(v)?([1]\.[1-3])(\+)?/GFDL-\2\3/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: improve license type listsDanomi Manchego2017-02-201-1/+1
| | | | | | | | | | | | | | | Make license type lists more uniform: * put content license applies to in parenthesis; ex: "GPLv2+ (programs)" * use commas to separate types listed without conjuction; ex: "GPLv2, LGPLv2" No attempt was made to validate the claimed licenses. This is just a tweak to increase uniformity of the _LICENSE variables. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [Thomas: replace semi-colons by commas in LIBURCU_LICENSE.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* valgrind: Force -fno-stack-protector in CFLAGSBrandon Maier2017-01-281-1/+10
| | | | | | | | | | Valgrind must be compiled with no stack protection. Valgrind defaults CFLAGS to -fno-stack-protector, but Buildroot's CFLAGS may override if SSP is enabled. Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com> Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* valgrind: do not use host mpiccJérôme Pouiller2016-11-091-1/+3
| | | | | | | | | | | | | | | | Valgrind may use 'mpicc' (from openmi project) to compile libmpiwrap-*.so. Without any option, it will detect and use 'mpicc' from host and generate libmpiwrap-*.so for host: $ file target/usr/lib/valgrind/libmpiwrap-arm-linux.so target/usr/lib/valgrind/libmpiwrap-arm-linux.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped We simply disable openmi support for valgrind. Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> [Thomas: refactor with other unconditional CONF_OPTS.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* valgrind: bump version to 3.12.0Peter Seiderer2016-10-263-139/+2
| | | | | | | | | | | | See [1] for release notes. - removed 0003-mips-replace-addi-with-addiu.patch (applied upstream, see [2]) [1] http://valgrind.org/docs/manual/dist.news.html [2] https://bugs.kde.org/show_bug.cgi?id=356112 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* valgrind: let the valgrind configure script detect TLS availabilityThomas Petazzoni2016-08-311-6/+0
| | | | | | | | | | | | | | | | | | | | Back in 2005, in commit a2c326396a43ecbc8d02c3d815d4010a7ba2e004 ("update valgrind to the latest and greatest"), an explicit --disable-tls option was added. More recently, in commit 31a3f4bd54e12b8d6de286ab8fb6d9651990e2f5 ("valgrind: enable tls support") changed this to be conditional on BR2_GCC_ENABLE_TLS. However, the configure script of valgrind is perfectly capable of detecting TLS support, even in a cross-compilation case: it tries to compile a program that uses __thread and sees if it works. Since we're about to modify how BR2_GCC_ENABLE_TLS is handled, we'd better remove its usage from packages, and valgrind is the only package using this config option. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* valgrind: disable for MIPS soft-floatVicente Olivert Riera2016-05-241-0/+1
| | | | | | | | | | | | | | | | | | | | | As stated here [1], recent changes on the MIPS binutils sources have made it necessary for GCC to pass the -msoft-float to the assembler. Due to that, valgrind fails to build for MIPS soft-float when using a version of binutils >= 2.25 because its using some hard-float instructions. However, we cannot just disable it for the soft-float and binutils >= 2.25 combination since external toolchains don't provide information about the binutils version they use. So, instead, we simply disable it for soft-float. 1: https://gcc.gnu.org/ml/gcc-patches/2014-08/msg00905.html Fixes: http://autobuild.buildroot.net/results/5f5/5f576c7f8d56058a19ed0e7ff4b1ec620bcafb65/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* valgrind: fix musl compilePeter Seiderer2016-02-132-0/+102
| | | | | | | | | | | | | | | | | | | | Add musl libc detection (based on suggestions by Romain Naour and Arnout Vandecappelle) and add some tweaks for musl support (based on OpenWRT patch [1]). Fixes ([2]): checking the glibc version... unsupported version configure: error: Valgrind requires glibc version 2.2 or later Patch suggested upstream (see [3]). [1] https://dev.openwrt.org/browser/trunk/package/devel/valgrind/patches/200-musl_fix.patch?rev=46302 [2] http://autobuild.buildroot.org/results/7b0/7b048ba58918f0a08498c61327fcf35a85a84837 [3] https://bugs.kde.org/show_bug.cgi?id=359202 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* valgrind: update 0003-mips-replace-addi-with-addiu.patchVicente Olivert Riera2015-12-171-0/+86
| | | | | | | | | | | | | | | This patch has been updated in the upstream bug report, so let's update it in Buildroot as well. It will fix the build issue for mips64r6: m_dispatch/dispatch-mips64-linux.S:199: Error: opcode not supported on this processor: mips64r6 (mips64r6) `daddi $13,$13,8' Fixes: http://autobuild.buildroot.net/results/6ca/6ca3a31d1542fbbb44238e296565b40d6afcd5fa/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* valgrind: add a patch to fix MIPS R6 by replacing ADDI with ADDIUVicente Olivert Riera2015-11-301-0/+51
| | | | | | | | | | | | | | | | | The ADDI instruction has been removed for MIPS R6, so valgrind fails to build for this revision level because it uses that assembly instruction. Using ADDIU instead fixes the problem. The patch has been sent upstream: https://bugs.kde.org/show_bug.cgi?id=356112 Fixes: http://autobuild.buildroot.net/results/488/488937704b3b6bae8daed7b24da8c740b56f4d84/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* valgrind: enable tls supportPeter Seiderer2015-11-021-1/+7
| | | | | | | | | Tested with example program from [1] with qemu_x86_64. [1] http://valgrind.10908.n7.nabble.com/Thread-local-storage-TLS-support-td40815.html Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* valgrind: bump version to 3.11.0Peter Seiderer2015-10-316-292/+24
| | | | | | | | | | | | | | | - rebase patch 0001-workaround-SIGSEGV-on-PPC.patch - remove upstream applied patches 0002-Fix-configure-for-Linux-kernel-4.0-rc1.patch 0004-configure.ac-Generalize-glibc-version-check.patch - rebase 0003-add-missing-ptrace-getsiginfo-on-powerpc.patch (convert to git patch format, rename to 0002-Define-PTRACE_GETSIGINFO-on-PowerPC-when-not-availab.patch) - remove legacy VALGRIND_AUTORECONF=YES (no more patch touching confgure.ac) - add '--disable-ubsan' for new undefined behaviour sanitiser option Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* valgrind: build for the right MIPS ISA revision levelVicente Olivert Riera2015-10-031-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | When Valgrind detects a 32-bit MIPS architecture, it forcibly adds -march=mips32 to CFLAGS; when it detects a 64-bit MIPS architecture, it forcibly adds -march=mips64. This causes Valgrind to be built always for the first ISA revision level (R1), even when the user has configured Buildroot for the second ISA revision level (R2). Since R2 is backwards compatible with R1, you can run a Valgrind built for R1 in an R2 core. This is why nobody noticed about this problem, or at least nobody complained. But, since (I hope) we will support R6 in Buildroot in the near future, this problem will become very important because R6 is not backwards compatible with R1 or R2, so building Valgrind for R1 when your target is R6 will result in a non-working Valgrind. Override the CFLAGS variable (which Valgrind appends to its CFLAGS) and pass the right -march option, so they take precedence over Valgrind's wrongfully detected value. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/valgrind: disable for static-only buildsBrendan Heading2015-09-131-0/+4
| | | | | | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/3b6/3b6f253f30afaee428ea0fc559be210dcec61dae http://autobuild.buildroot.net/results/60e/60e5a49360e2ee9482b4d548789f874a6502c429 http://autobuild.buildroot.net/results/5cc/5ccc2e48fa4deb90ab214c82e8921ec494555457 http://autobuild.buildroot.net/results/452/4524184b407bb6f9b55f8f85c8e0b475ff105420 Valgrind ordinarily works by preloading a shared object to replace malloc, free and friends. Some combinations of toolchain/libc allow this to build with -static, but others complain. Since it makes little sense to try to build this on a static-only system, this patch disables it on static platforms entirely. [Peter: move comment to top of file to fix menuconfig indentation] Signed-off-by: Brendan Heading <brendanheading@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* valgrind: install to stagingVicente Olivert Riera2015-07-021-0/+1
| | | | | | | | | | | | | | | This is necessary for some packages depending on valgrind, such as libdrm which will fail with an error like this one: checking for VALGRIND... no checking whether to enable Valgrind support... configure: error: Valgrind support required but not present package/pkg-generic.mk:146: recipe for target '/br/output/build/libdrm-2.4.62/.stamp_configured' failed Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* valgrind: backport support for glibc 2.20+Peter Korsgaard2015-06-101-0/+228
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/352/352d087bf5daed8ce2c7e2d61db2e75db9b069b9/ http://autobuild.buildroot.net/results/a2c/a2c46d35b1c1da45f4d136f5a2be926695695bd9/ Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* valgrind: Backport patch to fix build on 4.0 host kernelsChristian Artin2015-05-071-0/+48
| | | | | | | | | | | Valgrind fails to build when the host kernel is >=4.0. This patch backports the commit from upstream that fixes the kernel version verification. This verification is pointless for buildroot anyway, but it fixes the building process. [Peter: rename patch to 0002-* and add SoB, slightly reword commit msg] Signed-off-by: Christian Artin <christian@gridshowsystems.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* valgrind: Fix powerpc64le arch config nameerico.nunes2015-04-131-1/+1
| | | | | | | | | buildroot references powerpc64 little endian as "powerpc64le" and not "powerpc64el". The typo in the supported architectures list caused this package to be unavailable for powerpc64 little endian. Signed-off-by: Erico Nunes <erico.nunes@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove non-lfs enabler patchesGustavo Zacarias2015-04-011-71/+0
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* valgrind: rename ptrcheck to sgcheck like upstreamMike Williams2015-03-072-7/+7
| | | | | Signed-off-by: Mike Williams <mike@mikebwilliams.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/*: rename patches according to the new policyPeter Korsgaard2015-02-033-0/+0
| | | | | | | Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* valgrind: bump to version 3.10.1Gustavo Zacarias2014-11-263-5/+8
| | | | | | | | | | Add hash file and switch to a non-dead homepage. Enable for supported architectures: powerpc64 & powerpc64le. Even though aarch64 is supported it's still a bit rought resulting in build failures so don't enable it for now. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* valgrind: use the BR2_ARM_CPU_ARM* optionsThomas Petazzoni2014-11-062-6/+5
| | | | | | | | | | | Instead of using the exhaustive list of Cortex-A ARM cores, use BR2_ARM_CPU_ARMV7A instead. We also fix a wrong comment that said the Valgrind package could only be selected for Cortex-A8 and Cortex-A9, which was true a long time ago, but was no longer true since it was also enabled for all the other Cortex-A platforms. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* valgrind: add patch to fix build on PowerPC uClibcThomas Petazzoni2014-10-121-0/+28
| | | | | | | | | | | | | | | | uClibc on PowerPC forgot to define some PTRACE_* definitions. Even though the Buildroot uClibc package has a fix for this, it doesn't fix external uClibc toolchains that are not patched. Therefore this commit adds a patch to Valgrind to workaround the problem by defining PTRACE_GETSIGINFO to the appropriate value on PowerPC when it's not defined by the C library. Fixes: http://autobuild.buildroot.org/results/bc6/bc6be9aa1ad39201a1045a65c0c3eb1e968371f2/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* .mk files: bulk aligment and whitespace cleanup of assignmentsThomas De Schampheleire2014-10-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Buildroot coding style defines one space around make assignments and does not align the assignment symbols. This patch does a bulk fix of offending packages. The package infrastructures (or more in general assignments to calculated variable names, like $(2)_FOO) are not touched. Alignment of line continuation characters (\) is kept as-is. The sed command used to do this replacement is: find * -name "*.mk" | xargs sed -i \ -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*$#\1 \2#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*\([^\\]\+\)$#\1 \2 \3#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*\([^\\ \t]\+\s*\\\)\s*$#\1 \2 \3#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\(\s*\\\)#\1 \2\3#' Brief explanation of this command: ^\([A-Z0-9a-z_]\+\) a regular variable at the beginning of the line \([?:+]\?=\) any assignment character =, :=, ?=, += \([^\\]\+\) any string not containing a line continuation \([^\\ \t]\+\s*\\\) string, optional whitespace, followed by a line continuation character \(\s*\\\) optional whitespace, followed by a line continuation character Hence, the first subexpression handles empty assignments, the second handles regular assignments, the third handles regular assignments with line continuation, and the fourth empty assignments with line continuation. This expression was tested on following test text: (initial tab not included) FOO = spaces before FOO = spaces before and after FOO = tab before FOO = tab and spaces before FOO = tab after FOO = tab and spaces after FOO = spaces and tab after FOO = \ FOO = bar \ FOO = bar space \ FOO = \ GENIMAGE_DEPENDENCIES = host-pkgconf libconfuse FOO += spaces before FOO ?= spaces before and after FOO := FOO = FOO = FOO = FOO = $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C AT91BOOTSTRAP3_DEFCONFIG = \ AXEL_DISABLE_I18N=--i18n=0 After this bulk change, following manual fixups were done: - fix line continuation alignment in cegui06 and spice (the sed expression leaves the number of whitespace between the value and line continuation character intact, but the whitespace before that could have changed, causing misalignment. - qt5base was reverted, as this package uses extensive alignment which actually makes the code more readable. Finally, the end result was manually reviewed. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Cc: Yann E. Morin <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-2/+2
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* valgrind: allow building on more ARM systemsMike Williams2014-10-012-4/+5
| | | | | | Signed-off-by: Mike Williams <mike@mikebwilliams.com> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* valgrind: bump to version 3.10Jérôme Pouiller2014-09-236-195/+12
| | | | | | | | | | | | | | | | | | | Patches status: valgrind-0001-workaround-SIGSEGV-on-PPC: Don't know. In doubt, I prefer to keep it. valgrind-0002-don-t-enable-largefile-support-unconditionally-on-uC: Seems still necessary valgrind-0003-Add-replacement-for-a.out.h: Upstreamed valgrind-0004-remove-default-mips-flags: Upstreamed valgrind-0005-glibc-2.19: Upstream now support glibc up to 2.20 Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: remove the trailing slash sign from <PKG>_SITE variableJerzy Grzegorek2014-07-311-1/+1
| | | | | | | | | | | | Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* valgrind: fix build for glibc 2.19Gustavo Zacarias2014-06-191-0/+32
| | | | | | | | Fix build for glibc 2.19-based toolchains, fixes: http://autobuild.buildroot.net/results/be4/be4c033e2088c324f93fc70230f05d761108cfba/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: replace command install by $(INSTALL)Maxime Hadjinlian2014-06-081-1/+1
| | | | | | Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* valgrind: remove default flags -mips32 and -mips64 from Makefile.all.amVicente Olivert Riera2014-04-032-0/+94
| | | | | | | | | | | | | | | | | | | | | | During configuration of Valgrind we check does the compiler support -march=mips32 and -march=mips64. If compiler supports these flags we are using them as default flags for mips32 and mips64. "VALGRIND_AUTORECONF = YES" needs to be added to valgrind.mk because this patch modifies the configure.ac. Original upstream patch: https://github.com/svn2github/valgrind/commit/fdf6c5aea4671c3c43c90230510735d215dd1e1c Fixes: http://autobuild.buildroot.net/results/213/21352bcbe1b309fef0f996c275cdfcda08619d96/ [Thomas: add reference to the upstream patch into the patch itself, in addition to the commit log.] Reviewed-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* valgrind: Add support for MIPS architectureVicente Olivert Riera2014-03-291-1/+2
| | | | | | Reviewed-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* valgrind: bump to version 3.9.0Jérôme Pouiller2014-01-046-119/+54
| | | | | | | | | | | Drop some patches: - glibc 2.17 and 2.18 are now supported by upstream - coregrind/link_tool_exe_linux.in has been reworked and should now support ccache [Peter: drop unneeded AUTORECONF as configure.in no longer gets patched] Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* valgrind: add support for glibc 2.17 and 2.18Phil Eichinger2013-10-302-1/+51
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/f086e65aca220bc9a5869f8fc8c1dca4d87ada7d/ Signed-off-by: Phil Eichinger <phil@zankapfel.net> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* valgrind: bump to 3.8.1Thomas Petazzoni2013-01-017-322/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | Status of the patches: * valgrind-compiler-check.patch, no longer needed, merged upstream. * valgrind-dont-include-a-out-header.patch, kept, just refreshed * valgrind-fix-ccache-support.patch, adapted to the newer Valgrind release. * valgrind-largefile.patch, kept, just refreshed * valgrind-more-ioctls.patch, removed. Most of it was merged upstream. This patch was anyway a feature addition, so it shouldn't be kept in Buildroot. * valgrind-workaround-SIGSEGV-on-PPC.patch, kept as is, just refreshed. This bump also fixes the build failure we were experiencing with Valgrind 3.7.0 against recent Glibc versions. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* valgrind: rename patches without version in the filenameThomas Petazzoni2013-01-016-0/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* valgrind: add license infoArnout Vandecappelle (Essensium/Mind)2012-11-141-0/+3
| | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud