summaryrefslogtreecommitdiffstats
path: root/package/elfutils
Commit message (Collapse)AuthorAgeFilesLines
* elfutils: needs wcharPeter Korsgaard2013-01-071-0/+4
| | | | | | | | | elfutils contains a call to wmempcpy, which is only available when the toolchain has wchar support, so add the dependency. Also display a comment if the toolchain dependencies are not met. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* elfutils: make available on uClibc toolchainsThomas Petazzoni2013-01-071-8/+3
| | | | | | | | | We finally have all the pieces needed to allow the build of elfutils on uClibc. Only the libraries can be built, the programs remain available only for glibc/eglibc toolchains. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* elfutils: towards uClibc support: disable po buildThomas Petazzoni2013-01-071-0/+22
| | | | | | | | | | | | | Building the po/ directory complains that the scripts in there have been generated with gettext 0.17, while we use gettext 0.18 in Buildroot. Since we don't care that much about po files anyway, just disable the build of this directory. Heavily based from work done by Stefan Fröberg, but with many further modifications by Thomas Petazzoni. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* elfutils: towards uClibc support: FTS functionsThomas Petazzoni2013-01-071-0/+1307
| | | | | | | | | | | | | | | | | | | | | | | | | | | The fts_*() functions are optional in uClibc, and not compiled in our default configuration. The best option would be to migrate this elfutils code to the nftw family of functions, but it requires quite some work. So we have several options here: *) Enable fts_*() functions in our default uClibc configuration. Not nice since only one package needs them (the help text of uClibc for fts_*() functions explicitly mention that they have been added to be able to build elfutils). *) Use gnulib, but it is quite heavy to setup, requires modifications to configure.ac, and other things. *) Copy the fts function from uClibc into elfutils source code. This is the solution used below. uClibc is LGPL, and elfutils is LGPL/GPL, so there should not be any licensing issue. Of course, the fts_*() functions are only built if they are not already provided by the C library. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* elfutils: towards uClibc support: gettextThomas Petazzoni2013-01-072-0/+12
| | | | | | | | | | | elfutils is annoying: it needs gettext even if locale support is disabled... Heavily based from work done by Stefan Fröberg, but with many further modifications by Thomas Petazzoni. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* elfutils: towards uClibc support: requires largefileThomas Petazzoni2013-01-071-0/+1
| | | | | | | | elfutils unconditionally uses off64_t for example, so largefile is needed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* elfutils: towards uClibc support: solve memcpy problemThomas Petazzoni2013-01-071-0/+24
| | | | | | | | | | | elfutils uses some strange internal alias of memcpy in glibc, so workaround this when building with uClibc. Heavily based from work done by Stefan Fröberg, but with many further modifications by Thomas Petazzoni. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* elfutils: towards uClibc support: argp-standalone usageThomas Petazzoni2013-01-073-0/+100
| | | | | | | | | | | | | elfutils uses the argp family of functions, that isn't available in uClibc. So, we add a dependency on argp-standalone if building with uClibc, and modify elfutils source code to link against argp if needed. Heavily based from work done by Stefan Fröberg, but with many further modifications by Thomas Petazzoni. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* elfutils: make it possible to only install the librariesThomas Petazzoni2013-01-073-0/+66
| | | | | | | | | | | Add and use a --{enable,disable}-progs configuration option to selectively enable or disable the elfutils programs. Generally, on an embedded system, the libraries are more useful than the programs, and being able to not build the programs will make it easier to build the elfutils libraries on uClibc. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* elfutils: new packageStefan Fröberg2013-01-072-0/+64
This patch adds a a package for elfutils. For now, the package is glibc specific, as adding uClibc support for this package is quite tedious, and will therefore be done through followup patches. Heavily based from work done by Stefan Fröberg, but with many further modifications by Thomas Petazzoni. Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>