summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* package: add green end sftp serverPeter Korsgaard2013-01-083-0/+44
| | | | | | | For sftp support in Dropbear or as an alternative for the built in sftp support in openssh (or to use standalone). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: fix double LINUX_APPEND_DTBPeter Korsgaard2013-01-081-1/+0
| | | | | | | Introduced by 5b33e0b6a (linux: handle new dtb location since 3.8-rc1 for appended dtbs). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* 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>
* argp-standlone: build position independent codeThomas Petazzoni2013-01-071-0/+3
| | | | | | | | | Even though argp-standalone is built as a static library, it might get linked in a shared library, so we must built it as position-independent code. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* perf: add kernel version checksThomas Petazzoni2013-01-071-0/+12
| | | | | | | | | | | | | | | | | | | perf is only available since kernel 2.6.31, so if we can't find tools/perf/Makefile, error out and tell the user about this. perf without libelf can only be built since kernel 3.7, so error out and tell the user about this if he's trying to build perf from a < 3.7 kernel without libelf. Unfortunately, those tests can only be build-time checks as we either need to know the real kernel version (i.e, using LINUX_VERSION would not be correct as it can be a Git commit ID, or Git tag), or have access to the kernel sources themselves. So we can't prevent those invalid situations at the configuration, we can only nicely tell the user at build time. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* perf: allow build against libelf when availableThomas Petazzoni2013-01-071-2/+6
| | | | | | | | Now that libelf is available thanks to elfutils (for glibc only), allow to build perf against it if available. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* perf: new packageThomas Petazzoni2013-01-073-0/+62
| | | | | | | | | | | | | | | | | | This patch adds a new package that allows to build the 'perf' userspace tool that comes in the tools/perf directory of the kernel sources. It is an alternative proposal to the one done by Kaiwan Billimoria <kaiwan.billimoria@gmail.com>, in that it creates the package in package/perf/. It therefore properly integrates with the Buildroot package infrastructure. Of course, the package depends on the Linux kernel to be built by Buildroot, in order to get Perf sources matching the version of the kernel that will be executed. 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-073-0/+65
| | | | | | | | | | | | | 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>
* docs/manual: update to mention the multiple patches supportThomas Petazzoni2013-01-071-7/+10
| | | | | | | | After the modification of the <pkg>_PATCH semantic, let's update the documentation accordingly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: support multiple patchesThomas Petazzoni2013-01-071-5/+12
| | | | | | | | | | | | With this commit, we extend the behaviour of the <pkg>_PATCH variable so that it now allows to list several patches to be downloaded and applied, and no longer just one patch. This will be useful for the elfutils package, and should anyway not break the existing behaviour for packages using just one patch. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libnspr: only pass --{enable,disable}-thumb2 on ARMPeter Korsgaard2013-01-071-0/+2
| | | | | | | | | Fixes http://autobuild.buildroot.net/results/dff3f851ee4c62067a0b231c683383ce8692b8b3 libnspr adds -marm to CFLAGS when passed --disable-thumb2, which is only recognized by ARM cross compilers, so only use when building for ARM. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* rpi-firmware: New packageMaxime Hadjinlian2013-01-064-0/+45
| | | | | | | | | Introducing a package to install pre-built binaries for the bootloader and the GPU firmware for the RaspberryPi board. [Peter: rename to rpi-firmware, add link to http://elinux.org/RPiconfig] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* rpi-userland: new packageMaxime Hadjinlian2013-01-065-0/+132
| | | | | | | | | Introducing a package to build the userland part of the Raspberry, needed by anyone who would want to build a rootfs for a RaspberryPi. [Peter: fixup Config.in (rename, move, arm dep, comment, white space)] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libcofi: new packageMaxime Hadjinlian2013-01-063-0/+29
| | | | | | | | | | replacement for memcpy and memset functionality This package was originally found at : https://github.com/huceke/buildroot-rbp By gimli <ebsi4711@gmail.com> [Peter: wrap help text] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* nspr version update 4.9.2 old patch removedAlexander Khryukin2013-01-063-92/+1
| | | | | | [Peter: upstream now provides nspr.pc] Signed-off-by: Alexander Khryukin <alexander@mezon.ru> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* oprofile: bump to version 0.9.8Jeremy Rosen2013-01-061-1/+5
| | | | | Signed-off-by: Jérémy Rosen <jeremy.rosen@openwide.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/liburcu: Requires threads supportMaxime Ripard2013-01-063-3/+15
| | | | | | | | Fixes http://autobuild.buildroot.org/results/eeb6a81588a12e5b572a4e5d27e001b3ae5eac49/build-end.log Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* inadyn: Needs MMUMaxime Ripard2013-01-061-0/+1
| | | | | | | | Fixes http://autobuild.buildroot.org/results/11d681a7f2c1d55a3d70573e9145aa231f6d4298/build-end.log Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libdvdnav: requires thread support in toolchainThomas Petazzoni2013-01-061-2/+3
| | | | | | | | | | | | | | libdvdnav requires thread support. The only package that depends on libdvdnav is mplayer, and it is an optional dependency, only activated when libdvdnav is enabled. So we don't have to push this thread support dependency to any other package. Fixes: http://autobuild.buildroot.org/results/54d6a737ae805ef1dbf77e5d11b4dd5366873ec0/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/dvb-apps: add option to install utilitiesYann E. MORIN2013-01-065-3/+41
| | | | | | | | | | | Previously, dvb-apps was a 'blind' package that would install only the transponders data files for use by external packages (namely tvheadend). Now, we add an option to also install the DVB utilities. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* system: simplify BR2_ROOTFS_SKELETON_DEFAULT handlingPeter Korsgaard2013-01-061-7/+1
| | | | | | No functional change. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target: add different methods to encode passwordsYann E. MORIN2013-01-062-1/+56
| | | | | | | | | | | Passwords can be encoded in different ways (from the weakest to the strongest): des, md5, sha-256, sha-512 Add a choice entry to select the method, defaulting to 'md5'. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* system: set root password only for default skeletonYann E. MORIN2013-01-062-21/+23
| | | | | | | | | | | | In case one is using a custom skeleton, the root pasword might already be set in this case, and should not be overriden. Just ask for (and set) the root password only for the default skeleton. Reported-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Peter Korsgaard <jacmet@uclibc.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sam-ba: select BR2_HOSTARCH_NEEDS_IA32_LIBSThomas Petazzoni2013-01-061-0/+1
| | | | | | | | sam-ba is a pre-built binary tool built for x86 Linux, so on x86-64, it requires the 32 bits compatibility libraries to be installed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: use BR2_HOSTARCH_NEEDS_IA32_LIBS where neededThomas Petazzoni2013-01-061-0/+25
| | | | | | | | | All supported pre-built external toolchains are built for x86 Linux, so we add the BR2_HOSTARCH_NEEDS_IA32_LIBS select. [Peter: microblaze toolchains are 64bit] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Infrastructure to warn the user about missing 32 bits librariesThomas Petazzoni2013-01-062-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many users trying to use external toolchains on x86-64 machines get a very confusing message: "Can't execute cross-compiler" They get this message because they forgot to install the 32 bits compatibility libraries that are needed to run binaries compiled for x86 on x86-64 machines. Since this is the case for both external toolchains and certain binary-only tools like SAM-BA, we add a new Kconfig option BR2_HOSTARCH_NEEDS_IA32_LIBS, that packages must select if they need the 32 bits compatibility libraries. When this option is enabled, dependencies.sh checks that the 32 bits dynamic library loader is present on the system, and if not, it stops and shows an error. The path and name of the 32 bits dynamic loader is hardcoded because it is very unlikely to change, as it would break the ABI for all binaries. Also, it is worth noting that the check will be done even if we're running on a 32 bits machine. This is harmless, as 32 bits machines necessarily have the 32 bits dynamic loader installed, so the error will never show up in this case. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: add dependency on BR2_HOST_ARCHThomas Petazzoni2013-01-061-0/+27
| | | | | | | | | The pre-build external toolchains are all built for x86, so they are only available if the build machine is a x86 or x86-64 machine. [Peter: microblaze toolchains are 64bit] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* pacakge/tvheadend: fix failures due to -WerrorYann E. MORIN2013-01-061-0/+44
| | | | | | | | | | | | (Partially) apply upstream patch 1334869bf0ea668e58e1c72daa3c09c1a95b5d81 to properly protect code-paths depending on execinfo.h (for backtrace(3)). Fixes: http://autobuild.buildroot.net/results/fe25485bde8894daff5bdf806eb4bb2fa776dc55/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Peter Korsgaard <jacmet@uclibc.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* efl/libevas: fix build of XCB backendThomas Petazzoni2013-01-061-0/+19
| | | | | | | | | Fixes: http://autobuild.buildroot.net/results/b2107dce84bbc24d9afae3c7b53d972043f6d073/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gstreamer: provide necessary config value for AArch64Thomas Petazzoni2013-01-061-0/+3
| | | | | | | | | | | Provide the as_cv_unaligned_access value for the AArch64 architecture. Fixes: http://autobuild.buildroot.net/results/5d6d76451a00d79e1bdfe87b6ced61807666cc48/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/crosstool-ng: fix show-tuple stdoutYann E. MORIN2013-01-061-0/+35
| | | | | | | | Upstream changeset d8bd17248789. Reported-by: Floris Bos <bos@je-eigen-domein.nl> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: handle new dtb location since 3.8-rc1 for appended dtbsPeter Korsgaard2013-01-061-2/+9
| | | | | | Similar to how we've done it for seperate dtbs (ef34705087b). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix installation of crosstool-ng libraries to targetFloris Bos2013-01-061-1/+1
| | | | | | | | | | | When using the crosstool-ng toolchain option, the libc libraries were not installed to target. Buildroot calls the show-tuple function to determine the directory to copy from, and it seems that outputs the result to stderr instead of stdout Signed-off-by: Floris Bos <bos@je-eigen-domein.nl> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: fixup after pthred-stubs renamePeter Korsgaard2013-01-062-2/+2
| | | | | | | Commit 5bd41d165 (pthread-stubs: rename to xlib_libpthread-stubs) renamed the pthread-stubs package but forgot to update the select statements. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xorg-release: ignore some X.org packagesThomas Petazzoni2013-01-051-0/+11
| | | | | | | | | | | | | | | | Following Gustavo's removal of two X.org drivers for old hardware unlikely to be used in embedded contexts, the xorg-release script now reports those two X.org packages as "to be added": they exist in X.org, but not in Buildroot. So, we add a small list, XORG_EXCEPTIONS, in our xorg-release script, to list the X.org packages we don't want to hear about. Of course, packages that exist in X.org, and that are not part of this exception list, and are not packaged in Buildroot are still listed as "to be added". Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* new package: libfribidiMikhail Boiko2013-01-053-0/+21
| | | | | | [Peter: moved under 'Text and terminal handling'] Signed-off-by: Mikhail Boiko <mikhailboiko85@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xdriver_xf86-video-sunffb: remove packageGustavo Zacarias2013-01-053-25/+0
| | | | | | | | | The FFB was an old SBUS video card used in Sun SPARC workstations from the 90s. Highly unlikely a target for buildroot. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xdriver_xf86-video-suncg6: remove packageGustavo Zacarias2013-01-053-22/+0
| | | | | | | | | The CG6 was an old SBUS video card used in Sun SPARC workstations from the 90s. Highly unlikely a target for buildroot. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* support/scripts: add xorg-release.py scriptThomas Petazzoni2013-01-051-0/+165
| | | | | | | | | | | This script generates a report on the packaging status of X.org releases in Buildroot. It does so by downloading the list of tarballs that are part of a given X.org release, and compare that with the packages that are available in Buildroot. [Peter: drop .py suffix, make executable] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xdriver_xf86-video-xgixp: remove packageThomas Petazzoni2013-01-053-48/+0
| | | | | | | | | This X.org driver has been removed from upstream X.org releases and is related to a very specific type of hardware that isn't likely to be used in a Buildroot context. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xdriver_xf86-video-xgi: remove packageThomas Petazzoni2013-01-053-26/+0
| | | | | | | | | This X.org driver has been removed from upstream X.org releases and is related to a very specific type of hardware that isn't likely to be used in a Buildroot context. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xdriver_xf86-video-tseng: remove packageThomas Petazzoni2013-01-053-24/+0
| | | | | | | | | This X.org driver has been removed from upstream X.org releases and is related to a very specific type of hardware that isn't likely to be used in a Buildroot context. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>