summaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* package: remove useless arguments from AUTOTARGETSThomas Petazzoni2011-09-29586-662/+659
| | | | | | | | | | 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-29100-119/+117
| | | | | | | | | | 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: 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>
* 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>
* 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>
* New package: bluez-utilsYegor Yefremov2011-09-263-0/+82
| | | | | | | | | Bluetooth utils often used in embedded system, add it to package. [Peter: fix dbus dependency] Signed-off-by: Bob Liu <lliubbo@gmail.com> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* cifs-utils: bump versionPeter Korsgaard2011-09-261-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* cifs-utils: new packageThomas Petazzoni2011-09-263-0/+19
| | | | | | [Peter: fix Config.in] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* valgrind: workaround for segmentation fault on PowerPCBaruch Siach2011-09-261-0/+28
| | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* valgrind: fix build on Linux kernel 3.xBaruch Siach2011-09-261-0/+30
| | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kexec: tweak zlib option namePeter Korsgaard2011-09-261-1/+1
| | | | | | To match other _ZLIB options. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kexec: fix compilation with gcc 4.6Sven Neumann2011-09-261-0/+15
| | | | | | | | gcc 4.6 has stricter checks for invalid command-line options. Fix compilation by passing linker options with -Wl, Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sqlite: bump to version 3.7.8Sven Neumann2011-09-261-1/+1
| | | | | Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: add 1.19.2 tail fixPeter Korsgaard2011-09-261-0/+43
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* new package: ngrep (lightweight alternative to tcpdump)Wade Berrier2011-09-265-0/+73
| | | | | Signed-off-by: Wade Berrier <wberrier@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dbus: bump to 1.4.16Yegor Yefremov2011-09-261-2/+1
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* acpid: bump to 2.0.11Frederic Bassaler2011-09-251-1/+1
| | | | | | | acpid 2.0.6 does not compile? So bump to 2.0.11 Signed-off-by: Frederic Bassaler <frederic.bassaler@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* taglib: bump to 1.7Sven Neumann2011-09-253-4092/+17
| | | | | | | | | | | | | Bump the version of taglib to 1.7. This version does not any longer ship with a configure script so convert the package from autotargets to cmaketargets. The 1.7 version offers optional support for MP4 and WMA files. Expose these options in buildroot. [Peter: drop unneded dependencies, keep target install, fix Config.in indent] Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: add openocd supportJean-Christophe PLAGNIOL-VILLARD2011-09-217-0/+159
| | | | | | | | | | | | | with only the following Adapters - FTDI FT2xxx/FT4xxx - J-Link (Segger and Atmel SAM-ICE) - Versaloon-Link JTAG Adapter [Peter: Config.in tweaks] Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Patrice Vilchez <patrice.vilchez@atmel.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gtk2-theme-hicolor: remove useless definitionsThomas Petazzoni2011-09-201-6/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* bridge-utils: normalize package nameThomas Petazzoni2011-09-204-19/+19
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gtk2-themes: normalize package name and directoryThomas Petazzoni2011-09-204-3/+5
| | | | | | [Peter: fix directory argument of AUTOTARGETS macro] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sdl_net: normalize package to sdl_netThomas Petazzoni2011-09-202-4/+2
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libfuse: rename fuse to libfuseThomas Petazzoni2011-09-203-1/+1
| | | | | | | | | | We rename the package/fuse directory to package/libfuse to be consistent with the package name. This is needed for a future commit that will simplify the AUTOTARGETS macro by making assumptions on the directory name. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xenomai: install in /usrThomas Petazzoni2011-09-201-43/+11
| | | | | | | | | | | | | | | | By default, Xenomai installs everything with --prefix=/usr/xenomai, and passing --prefix=/usr doesn't work because installing Xenomai headers in /usr/include creates conflicts with other headers. However, passing --prefix=/usr and --includedir=/usr/include/xenomai just works fine. This allows to use the default configure command of the AUTOTARGETS infrastructure, and allows to install the Xenomai headers and libraries into more usual locations. Furthermore, it allows to remove the documentation/headers removal hooks, as well as the ld.so.conf hook since now everything is installed in standard locations. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* rtai: Install modules in /lib/modules/<version>/rtaiThomas Petazzoni2011-09-201-1/+1
| | | | | | | | | The /lib/modules/<version>/kernel/ is completely rewritten by the kernel module installation, so third party modules should be outside of this directory. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: add a PRE_PATCH_HOOKS hook pointThomas Petazzoni2011-09-201-0/+2
| | | | | | | | | This will be useful to integrate Xenomai and RTAI into Buildroot, so that they can patch the kernel before the normal patching process starts. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add support for the RTAI real-time extensionThomas Petazzoni2011-09-183-0/+23
| | | | | | [Peter: fix rtai Config.in] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: change ordering of stepsThomas Petazzoni2011-09-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, the dependency chain is : configure -> patch patch -> extract extract -> depends depends -> source + dependencies ready This is a problem for RTAI, as : * In linux/linux-ext-rtai.mk, we need the RTAI source code to be extracted/patched by the RTAI package, so we need to have a dependency on RTAI. * The RTAI package cannot have its configure step executed before the Linux kernel is built, because it needs the kernel source code to be extracted and configured. Therefore, we have a sort of circular dependency. We solve this circular dependency by having the RTAI kernel part depending on rtai-patch, and having the RTAI userspace part depending on the linux package. However, for this to work, we have to modify the dependency chain to: configure -> patch + depends patch -> extract extract -> source depends -> dependencies ready Which means that dependencies are guaranteed to be built not when the package is extracted, but when the package is configured. Which is technically more correct that what we were doing in the past. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xenomai: add support to keep or remove skinsThomas Petazzoni2011-09-182-0/+56
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xenomai: add support to keep or remove Analogy utilities and libsThomas Petazzoni2011-09-182-0/+19
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xenomai: add support to keep or remove RT-CAN utilitiesThomas Petazzoni2011-09-182-0/+16
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xenomai: add support to keep or remove testsuite programsThomas Petazzoni2011-09-182-0/+22
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add xenomai real-time Framework to buildrootThomas De Schampheleire2011-09-184-0/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Fixes by Thomas, including comments from Arnout: * Use AUTOTARGETS instead of GENTARGETS * Use $(KERNEL_ARCH) instead of $(BR2_ARCH) as argument to the prepare-kernel.sh script. This allows the arch name to be fixed with the usual sed expressions and the quotes to be stripped. * Add the --verbose option to prepare-kernel.sh. This allows to get some clear error message when no Xenomai patch has been found for the current kernel version. * Improve the help texts as suggested by Arnout, and remove the now useless README file. * Add a BR2_PACKAGE_XENOMAI_SMP option, instead of poking inside the kernel configuration to find out whether SMP is enabled or not. This cannot work because: 1) the kernel might be built outside of Buildroot and 2) if the kernel is built inside Buildroot, it is built *after* Xenomai, so the kernel configuration file is typically not yet present. * Simplify the ARM subarchitecture selection as suggested by Arnout. * Remove the documentation and development files according to Buildroot standards (using BR2_HAVE_DOCUMENTATION and BR2_HAVE_DEVFILES). * Simplify the /etc/ld.so.conf modification logic. ] [Peter: whitespace fixes] Signed-off-by: Benoit Mauduit <benoit.mauduit@openwide.fr> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>