summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* pkg-stats: update grep tests for package typeH Hartley Sweeten2011-10-051-6/+6
| | | | | | | | | | | | | | | | | Update the grep tests used to determine the package type. The package name and directory are now worked out magically due to: package: add helper functions to get package name and directory magically Because of this the extra arguments were removed by patches: package: remove useless arguments from GENTARGETS package: remove useless arguments from AUTOTARGETS package: remove useless arguments from CMAKETARGETS Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gst-plugins-bad: fix bzip2 typoPeter Korsgaard2011-10-051-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mpg123: tweak audio module selectionPeter Korsgaard2011-10-051-3/+19
| | | | | | Fix build if host has libarts-dev, and add optional sdl+portaudio support. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* imagemagick: add optional fftw supportPeter Korsgaard2011-10-051-0/+9
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Revert "gst-plugins-base: disable parallel build"Peter Korsgaard2011-10-031-2/+0
| | | | | | | This reverts commit 54b60ba6aa0ff1b6c851e704bc36945ca052b2b3. As requested by Sven. Not needed as we now have fixed the testchannels issue.
* binutils: build host version staticallyPeter Korsgaard2011-10-021-0/+1
| | | | | | | | | | | | | Otherwise we end up with libbfd/libopcodes in host/usr/$BUILD/$TARGET/lib, used by the binaries. Unfortunately it also adds rpaths, which first look in the build directory before here, causing trouble if the toolchain is used outside BR (E.G. for a SDK) and the build directory location reused for another incompatible build (E.G. another ARCH), as the binutils binaries then end up using the wrong libs. Fix it by linking statically instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gst-plugins-base: fix build by disabling testchannels examplePeter Korsgaard2011-10-021-0/+26
| | | | | | Testchannels doesn't build because it forgets to link with libgstinterfaces. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mpd: fixup sample configGustavo Zacarias2011-10-021-1/+1
| | | | | | | | Fix sample mpd.conf so that the playlists directory lives inside the main mpd data directory. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* smartmontools: bump to version 5.41Gustavo Zacarias2011-10-021-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mpg123: bump to version 1.13.4Gustavo Zacarias2011-10-021-1/+1
| | | | | | | | Bump mpg123 to version 1.13.4, fixes for very long files (endless streams). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: fix bootloader buildingThomas Petazzoni2011-10-021-1/+1
| | | | | | | | | | | | | | | | The changes in e055aea216cff4d12cf55eab2e35ca1459edaa91 and 0849e8193ef429f29945b8c2a54eafc8635e0969 have broken the bootloader support. This is because the 'pkgparentdir' macro returns the string 'boot/' for bootloaders, while the GENTARGETS_INNER macro was testing this against 'boot' to know if the configuration option to check for this package is BR2_PACKAGE_* or BR2_TARGET_*. So, instead of testing against 'boot', we test against 'boot/'. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gst-plugins-bad: add more config optionsSven Neumann2011-09-302-0/+29
| | | | | | | | The recent update added some new plugins. This commit makes them selectable in buildroot. Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gst-plugins-base: disable parallel buildSven Neumann2011-09-301-0/+2
| | | | | | | | Parallel builds sometimes break when audio/testchannels is compiled before the gstinterfaces library. Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mpd: ffmpeg needs ipv6, so add proper dependenciesPeter Korsgaard2011-09-301-0/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gnutls: bump to version 2.10.5Sven Neumann2011-09-301-1/+1
| | | | | Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: normalize output of 'make external-deps'Thomas Petazzoni2011-09-301-3/+3
| | | | | | | | | | | | | For wget-downloaded packages, only the tarball name was displayed, while for svn/git/bzr packages, the complete repository URL was shown. As discussed on the list, what we want for 'make external-deps' is only the tarball name even for git/svn/bzr downloads. For local packages, we of course keep the full path since it's the only information that we can provide. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mcookie: fix Config.in indentationPeter Korsgaard2011-09-301-3/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mcookie: convert to the GENTARGETS infrastructureThomas Petazzoni2011-09-301-11/+13
| | | | | | [Peter: fix missing newline at eof] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* whetstone: use the <pkg>_EXTRACT_CMDS mechanismThomas Petazzoni2011-09-301-6/+4
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dhrystone: use the <pkg>_EXTRACT_CMDS mechanismThomas Petazzoni2011-09-301-7/+5
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Makefile.package.in: SVN/BZR/GIT: don't append $(QUIET)Peter Korsgaard2011-09-301-3/+3
| | | | | | svn/bzr/git commands don't accept the -q option for quiet operation. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add support for local packages through 'file://' pseudo-protocolDavid Wagner2011-09-302-3/+22
| | | | | | | | | | | | | | | | | | | | This can be used this way : <pkg>_VERSION = 42 <pkg>_SITE = file:///some/local/directory <pkg>_SOURCE = mypkg-$(<pkg>_VERSION).tar.bz2 Can be useful to integrate a home-made project or for testing purposes. The default command to retrieve files is 'cp' but 'rsync' could also be used. Through sshfs, it should also be possible to get non-public remote files on a ssh server. [ Thomas Petazzoni: use $(PKG)_SITE and $(PKG)_SOURCE variables instead of $(1) and $(2) ] [ Peter: don't append $(QUIET), cp doesn't handle -q] Signed-off-by: David Wagner <david.wagner@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from CMAKETARGETSThomas Petazzoni2011-09-296-12/+10
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS 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>
* package: remove useless arguments from AUTOTARGETSThomas Petazzoni2011-09-29587-663/+660
| | | | | | | | | | 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>
* package: remove useless arguments from GENTARGETSThomas Petazzoni2011-09-29107-126/+124
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS 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>
* package: add helper functions to get package name and directory magicallyThomas Petazzoni2011-09-291-0/+18
| | | | | | | | | | | | | | | | | | | This commit adds the functions "pkgname" and "pkgdir", which can then be used to automatically find the name of the package and the directory of the package which does the call to GENTARGETS/AUTOTARGETS/CMAKETARGETS. These functions use the $(MAKEFILE_LIST) variable, which make automatically makes available, and which contains the list of included Makefiles, with the current Makefile being last. Thanks to this variable and a little bit of string manipulation, we can easily find out automatically the package name and the directory it is part of. These functions are used in later commits to simplify the GENTARGETS, AUTOTARGETS and CMAKETARGETS calls. [Peter: Rename to pkgmakefile->pkgdir, pkgdir->pkgparentdir as that's what it is] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: implement a 'local' site methodThomas Petazzoni2011-09-291-0/+6
| | | | | | | | | | | | | | | | | | | | | | The new override source directory mechanism allows to tell Buildroot to use a particular directory as the source directory for a package. However, this mechanism works with a local override makefile and not directly within the package recipe itself. For some use cases, it might be desirable to write a package recipe which always refers to a local source directory (and not a http, git, svn or bazaar download). This commit makes this possible by adding the 'local' site method. It allows to write package recipes as follows: MYPKG_SITE = /tmp/mypkg-source-code MYPKG_SITE_METHOD = local [...] $(eval $(call GENTARGETS,package,mypkg)) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: add <pkg>-rebuild and <pkg>-reconfigureThomas Petazzoni2011-09-291-0/+16
| | | | | | | | | | | | | | | | We are often asked "how can I restart the build of a package ?" or "how can I restart the build of package from the configure part ?". Obviously, tweaking with stamp files is possible, but not very user friendly. Therefore this patch adds two new per-package targets: <pkg>-rebuild and <pkg>-reconfigure. They will remove the right stamp files and restart the complete build process (by using the 'all' target, so that not only the package is reconfigured, recompiled and reinstalled, but the root filesystem images are also regenerated). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: add configuration option to specify a local override fileThomas Petazzoni2011-09-292-0/+17
| | | | | | | | | | | | | | | | | The user can now create a custom local override file to override the source directory for various packages. An example override file: ZLIB_OVERRIDE_SRCDIR = /tmp/zlib STRACE_OVERRIDE_SRCDIR = /opt/strace-4.5.20 would tell Buildroot to use the zlib and strace source code from the specified directories, instead of download, extracting and patching the code has done usually by Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: enhance infrastructure to support source dir overrideThomas Petazzoni2011-09-291-2/+52
| | | | | | | | | | | | | | | | | | | When a variable <pkg>_OVERRIDE_SRCDIR is defined, then Buildroot will no longer try to download, extract and patch the package. It will simply use the value of this variable as the source directory for the package. The contents of the package sources will be rsynced to the package build directory in $(O)/build/pkg-version/. This can be used to tell Buildroot that the sources for a given package are inside some directory that you control, and which can be versioned in Git/SVN, or handled in whichever way you want. Those <pkg>_OVERRIDE_SRCDIR variables will be defined by a local makefile included by Buildroot, which will be handled in a later commit. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gst-plugins-bad: audioparsers plugin is moved to -goodPeter Korsgaard2011-09-292-9/+0
| | | | | | Thanks to Sven for noticing. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gst-plugins-bad: bump versionPeter Korsgaard2011-09-292-59/+186
| | | | | | And sort options alphabetically. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gst-plugins-ugly: bump versionPeter Korsgaard2011-09-291-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gst-plugins-good: bump versionPeter Korsgaard2011-09-292-10/+19
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gst-plugins-base: bump versionPeter Korsgaard2011-09-291-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gstreamer: bump versionPeter Korsgaard2011-09-291-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gst-plugins-good: sort plug-ins alphabeticallySven Neumann2011-09-292-36/+36
| | | | | Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qemu/x86: enable alsa/hda support in kernelPeter Korsgaard2011-09-291-0/+3
| | | | | | For easy sound testing using qemu-system-i386 -soundhw hda Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qemu_x86_defconfig: use 3.0.4 linux kernelPeter Korsgaard2011-09-292-10/+3
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libtool: install into stagingPeter Korsgaard2011-09-291-0/+1
| | | | | | | libtool provides libltdl, so install it into staging to make it usable by other packages. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: add fftw libraryPeter Korsgaard2011-09-283-0/+23
| | | | | | fftw is a library for fast fourier transforms. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: add json-c libraryPeter Korsgaard2011-09-283-0/+23
| | | | | | json-c is a JSON library written in C. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libroxml: bump versionPeter Korsgaard2011-09-272-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ncurses: fix host build breakageGustavo Zacarias2011-09-271-1/+1
| | | | | | | | Disable GPM support for host ncurses build since it sometimes breaks the build. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* fs/initramfs: refactor with fs/cpioArnout Vandecappelle (Essensium/Mind)2011-09-275-250/+25
| | | | | | | | | | An initramfs is in fact the same as a cpio archive, but embedded in the kernel. So instead of duplicating the cpio infrastructure, we can simply build images/rootfs.cpio and link that into the kernel. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* cpio: fix boot with dynamic /devArnout Vandecappelle (Essensium/Mind)2011-09-272-5/+26
| | | | | | | | | | | | Devtmpfs doesn't get automounted by the kernel when an initramfs is used. Since cpio archives are used almost exclusively as an initramfs, the same fix should be applied to it as for the initramfs. Cfr. commit 424888e47431db738f5f9b3c6392435bfce7a842 and 10a130f91e5b947e2d2558443ff09b1686eac273. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* rsync: bump to 3.0.9Yegor Yefremov2011-09-271-4/+3
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: bump to 2.28.8Sven Neumann2011-09-271-1/+1
| | | | | Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gstreamer: add option to disable gst_debug tracing functionalityPeter Korsgaard2011-09-272-1/+12
| | | | | | | Shrinks gst library sizes with ~1MB (depending on the amount of plugins enabled). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* CHANGES: update with recent changesPeter Korsgaard2011-09-261-13/+13
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>