summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* dependencies: add function suitable-host-packageThomas De Schampheleire2012-02-091-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes, buildroot needs a certain host tool to do its job, e.g. tar. In many cases, we expect this tool to be present on the host system, but this is not always the case. Or maybe, the version on the host system is not suitable, and we need a more recent one. In some of these cases, instead of bailing out, buildroot could build the package first (but only if the existing system package is not suitable). To aid in detecting if a host package is suitable or not, this patch adds a function suitable-host-package. When called with parameter foo, it will execute check-host-foo.sh. This script should return either the path to the suitable host package, or the empty string if no suitable package can be found. The rules to determine whether something is suitable or not is left to check-host-foo.sh and depends on foo. An example usage of suitable-host-package is: DEPENDENCIES_HOST_PREREQ += $(if $(call suitable-host-package,foo),,host-foo) To avoid cluttering the existing dependencies.mk file, it includes any check-host-foo.mk file. These files can be used to hold appropriate dependency-related actions for foo. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> v1 Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/crosstool-ng: update to 1.13.4Yann E. MORIN2012-02-091-1/+1
| | | | | | | | Update to fix downloads from sourceforge (the 'mesh' network no longer works). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Makefile: fix old make check thinkoPeter Korsgaard2012-02-091-1/+1
| | | | | | So it doesn't fail with 3.81. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Makefile: change order of dirs and dependenciesThomas De Schampheleire2012-02-091-1/+1
| | | | | | | | | | | | If during the dependencies step, a package needs to be downloaded, the download directory already has to be present. If not, the file will be downloaded under the name 'dl' instead of in the directory 'dl'. This patch changes the order of dirs and dependencies in the world target to fix this. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dependencies: check minimal make version early onThomas De Schampheleire2012-02-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Although support/dependencies/dependencies.sh checks for the version of make, this script doesn't get a chance to run if make encounters a syntax error as a result of being too old. For example, the following syntax is only supported from make 3.81 onwards: ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y) include toolchain/toolchain-buildroot.mk else ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y) include toolchain/toolchain-external.mk else ifeq ($(BR2_TOOLCHAIN_CTNG),y) include toolchain/toolchain-crosstool-ng.mk endif This patch adds a check for the version of make very early in the Makefile, so that old make versions are handled gracefully. [Peter: simplify check] Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dependencies: move from toolchain/ to support/Thomas De Schampheleire2012-02-096-4/+3
| | | | | | | | | | As suggested by Arnout Vandecappelle, move toolchain/dependencies to support/dependencies, as it really is not toolchain-specific anymore. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: needs host-pkg-configFrederik Pasch2012-02-092-1/+2
| | | | | | Closes #4760 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libevas: X OpenGL backends needs modular X.org (for mesa)Peter Korsgaard2012-02-091-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump 3.2.x stable versionPeter Korsgaard2012-02-091-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 3.2.x stable versionPeter Korsgaard2012-02-091-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* iptables: fix build with 3.2 kernel headersPeter Korsgaard2012-02-091-0/+34
| | | | | | | | | | Based on upstream post-1.14.12.2 change. linux/if_packet.h changed to use the newly introduced __aligned_u64 type in 3.2, which iptables' embedded linux/types.h doesn't provide. Fix it by updating linux/types.h. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dependencies.sh: fix host g++ check when ccache is usedPeter Korsgaard2012-02-081-1/+1
| | | | | | Similar to how we do it for gcc. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* iptables: no need to autoreconfPeter Korsgaard2012-02-081-1/+0
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* udev: bump to 181 and other fixesYegor Yefremov2012-02-084-19/+35
| | | | | | | | | | | | | | | | | | | Changes: - Linux kernel requirement: 2.6.34 and above (devtmpfs is mandatory) (this also applies to the chosen toolchain, because of Kernel headers) - optional dependency on libusb and usbutils removed - added dependency on kmod - added dependency on util-linux for libblkid - install in /lib/udev instead of /usr/libexec/udev - udevd moved to /lib/udev - fixed path to pci.ids and usb.ids - persistent rules generator is disabled by default, so option is introduced to enable this option if desired [Peter: fix build on uClibc, Config.in tweaks] Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kmod: bump to 5Yegor Yefremov2012-02-081-1/+1
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libevas: SDL OpenGL backend needs modular X.org (for mesa)Peter Korsgaard2012-02-081-0/+4
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libevas: fix SDL GL backend buildPeter Korsgaard2012-02-082-4/+8
| | | | | | | | libeet is needed by all backends building the generic OpenGL support, and the configure script forgets to check / expand libeet CFLAGS/libs when the SDL GL backend is used. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libevas: SDL GL backend doesn't need glprotoPeter Korsgaard2012-02-081-1/+0
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sdl: fix X11 dependenciesPeter Korsgaard2012-02-082-1/+5
| | | | | | No need to build the entire X server to build SDL with X11 support. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libevas: software buffer backend doesn't need X11Peter Korsgaard2012-02-081-1/+0
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add package dstat (python script for system stats/profiling)Thomas De Schampheleire2012-02-073-0/+39
| | | | | | [Peter: depend on WCHAR as python needs it, fix white space] Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sdl: bump versionPeter Korsgaard2012-02-071-3/+4
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sdl: ensure mesa3d gets built before if enabled for opengl supportPeter Korsgaard2012-02-071-0/+4
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libevas: generic opengl option needs mesaPeter Korsgaard2012-02-072-0/+5
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libevas: x11 glx option needs Xrender, Xext and libeetPeter Korsgaard2012-02-072-1/+5
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* wpa_supplicant: add config option to enable support for WPSSven Neumann2012-02-072-0/+13
| | | | | Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libmodbus: bump to 3.0.2Yegor Yefremov2012-02-071-1/+1
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* make release: add html/text/pdf manual and create .tar.bz2 format as wellPeter Korsgaard2012-02-071-1/+8
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Makefile: GENDOC_INNER: don't create subdirs for generated manualsPeter Korsgaard2012-02-071-1/+1
| | | | | | The output files are generated directly in $(O)/docs/manual. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* manual: update download helper informationThomas De Schampheleire2012-02-061-16/+28
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: add 2012.02, remove 2011.11Jean-Christophe PLAGNIOL-VILLARD2012-02-061-6/+6
| | | | | | | And mark 2011.12 as deprecated. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libev: bump to 4.11Yegor Yefremov2012-02-061-1/+1
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* feh: bump to 2.3Yegor Yefremov2012-02-061-1/+1
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump 3.2.x stable versionPeter Korsgaard2012-02-061-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 3.0.x / 3.2.x stable versionsPeter Korsgaard2012-02-062-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mesa3d: fix buildPeter Korsgaard2012-02-061-5/+21
| | | | | | | | | | | | | | | | | We build mesa3d with dri support, which doesn't work with static builds, so disable it. From configure.ac: dri) # DRI must be shared, I think if test "$enable_static" = yes; then AC_MSG_ERROR([Can't use static libraries for DRI drivers]) fi At the same time fixup minor style issues (:= vs =, long lines). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mesa3d: don't depend on the X serverPeter Korsgaard2012-02-061-1/+0
| | | | | | | There's no particular reason why you shouldn't be able to build mesa without the X server (E.G. for remote X), so remove it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libvorbis: bump versionPeter Korsgaard2012-02-051-3/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* lttng-babeltrace: fix build on uClibc due to missing posix_fallocate()Thomas Petazzoni2012-02-051-0/+37
| | | | | | [Peter: add explicit #include <features.h> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* lttng-libust: add patch to fix build issue when C++ support is not availableThomas Petazzoni2012-02-052-0/+52
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* lttng-tools: make the dependency on lttng-libust optionalThomas Petazzoni2012-02-052-2/+11
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* lttng-libust: add the dependency on util-linuxThomas Petazzoni2012-02-052-1/+9
| | | | | | | | This dependency was missing in the initial addition of the package to Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* lttng-babeltrace: make sure WCHAR and LARGEFILE are enabledThomas Petazzoni2012-02-051-0/+8
| | | | | | | | Since lttng-babeltrace depends on util-linux and libglib2, we need to make sure WCHAR and LARGEFILE are enabled. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* lttng-tools: fix build on uClibc due to sync_file_range()Thomas Petazzoni2012-02-052-0/+89
| | | | | | | | Add a patch to use fdatasync() instead of sync_file_range() when the latter is not available. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* liburcu: add patch to fix build with uClibcThomas Petazzoni2012-02-051-0/+13
| | | | | | | | Under uClibc, defining _GNU_SOURCE is strictly needed to access the CPU_*() macros. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* CHANGES: #755 / #2299 closedPeter Korsgaard2012-02-031-0/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* crosstool-ng: bump versionPeter Korsgaard2012-02-031-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* CHANGES: #2617 / # 3691 closedPeter Korsgaard2012-02-031-0/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* at91bootstrap: allow specification of a custom patch directoryThomas Petazzoni2012-02-023-0/+19
| | | | | | | Fixes bug #4664. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* poco: the Zip module depends on XML, Net and Util modulesThomas Petazzoni2012-02-021-0/+3
| | | | | | | | | | | | | | | | | | Without this, in a configuration where the Zip module is selected but not the XML module, the build fails due to missing expat.h. This is because POCO builds the XML module as soon as the Zip module is enabled. This fixes the build breakage visible at: http://free-electrons.com/~thomas/buildroot/test-output-2011-12-02/test-920-output.bz2 with the configuration visible at: http://free-electrons.com/~thomas/buildroot/test-output-2011-12-02/test-920-config Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>