summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gdb: properly pass the PATH when building gdb for the hostThomas Petazzoni2012-11-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | When building gdb for the host, we properly pass the PATH (through HOST_CONFIGURE_OPTS) during the configure step, but we forget to do so for the compilation step. The result of this is that when the Crosstool-NG backend is used, gawk is built and installed in $(HOST_DIR), as a dependency of the crosstool-ng package. Then, the host gdb configure script detects this gawk binary ($(HOST_DIR) is in the PATH), and assumes gawk is available. Unfortunately, during the compilation step, it fails to find the expected gawk binary, because $(HOST_DIR) is no longer in the PATH. This causes the following build failure: http://autobuild.buildroot.org/results/067d0c2ea01673ba98ec11de2426f1ab92dac800/build-end.log In order to fix this, we simply call the compilation step of gdb for the host with $(HOST_MAKE_ENV), as it should have been done from the beginning. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* binutils: not available for the target on AArch64Thomas Petazzoni2012-11-282-0/+2
| | | | | | | | | Fixes: http://autobuild.buildroot.org/results/74082860f607cbd857654e9504f5f7e7ae47c0ac/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libpcap: fix static buildThomas Petazzoni2012-11-281-5/+10
| | | | | | | | | | | | | | | | | | | The libpcap package contained some interesting attempts to support a static-only build, but it was not working: http://autobuild.buildroot.org/results/01038d3b970092d894d2bae80679247e65722785/build-end.log In fact the configure.in of libpcap has provision to support --enable-shared/--disable-shared, but the generated configure script in the libpcap package has not been regenerated with the configure.in changes. So basically, enabling LIBPCAP_AUTORECONF=YES ensures that the configure script gets generated, which brings us a working --enable-shared / --disable-shared. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libdaemon: needs mmuGustavo Zacarias2012-11-285-0/+10
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* hiawatha: needs mmuGustavo Zacarias2012-11-281-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* manual: restructure 'Adding packages' chapterArnout Vandecappelle (Essensium/Mind)2012-11-271-2/+5
| | | | | | | | | | | The depends-on-vs-select part of the manual really deserves its own section title (especially because it is referred to and the xref gets a 'sinpara' in PDF if the section doesn't have a title). So restructure the surrounding sections to reduce the section nesting depth. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* manual: give example where _INSTALL_TARGET = NOArnout Vandecappelle (Essensium/Mind)2012-11-272-15/+15
| | | | | | | | | | | The tutorial for autotools-package and cmake-package currently gives the bad example of setting _INSTALL_TARGET to YES, which is the default. So change this into an example with _INSTALL_TARGET = NO, and explain in which case this is relevant. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* manual: more warnings to not use output/targetArnout Vandecappelle (Essensium/Mind)2012-11-271-1/+2
| | | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* manual: various fixesArnout Vandecappelle (Essensium/Mind)2012-11-2720-165/+193
| | | | | | | | | | Various consistency and correctness improvements. Also removing some sentences that are not or no longer relevant. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* manual: trivial fixesArnout Vandecappelle (Essensium/Mind)2012-11-2723-104/+122
| | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ocf-linux: tweak kernel patch for newer kernelsGustavo Zacarias2012-11-271-0/+2
| | | | | | | | | | | | | | Newer kernels had a slight change in the random number API so the OCF patchset requires a slight tweak to build and run properly. Affected kernels are, per series: >=3.0.41, >=3.2.29, >=3.4.9, >=3.5.2 and any newer version. The fix is applied by detecting the API change rather than guessing the kernel version. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* lcdproc: fix autobuild errorsSimon Dawson2012-11-261-1/+3
| | | | | | | | | | | | | | | | | | | The autobuilders are falling over building lcdproc, with failures like the following. http://autobuild.buildroot.net/results/622b7da10be751c725ba25eb40102269790b4b03/build-end.log As Thomas Petazzoni has pointed out, the compile command lines incorrectly contain host header and library search paths, such as the following. -I/home/peko/scratch/host/usr/include/freetype2 -L/home/peko/scratch/host/usr/lib -lfreetype This patch changes the lcdproc package to pass the freetype installation prefixes on the configure command line. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* directfb: needs threads supportPeter Korsgaard2012-11-232-0/+5
| | | | | | Fixes http://autobuild.buildroot.net/results/237aaf7b036a98867de1df47d39d01ec4137efd3 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Revert "libhid: disable on avr32"Peter Korsgaard2012-11-231-2/+1
| | | | | | | | This reverts commit 2424cc6783bbfb542f08cf1985b8c9ef18282161. Now that we have a timerfd fix for libusb, this can be reverted. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* AVR32: fix libusb buildMaxime Ripard2012-11-231-0/+4
| | | | | | | | | | | | | | | | The libc of the avr32 toolchains seem to lack the timerfd-associated functions. Pass --disable-timerfd to libusb configure script when building for avr32. Fixes most of the recent avr32 breakages, such as http://autobuild.buildroot.org/results/f418b6c0b026891c27467f61444b6eac8c105681 or http://autobuild.buildroot.org/results/1a9e571998bc0a40822dca84267abbdd969bab5e Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libecore: fix build with glibc >= 2.16Samuel Martin2012-11-231-0/+94
| | | | | Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* arptables: needs mmuGustavo Zacarias2012-11-231-0/+2
| | | | | | | | | arptables uses fork() and breaks on !mmu. Fixes http://autobuild.buildroot.net/results/fe18dd4a0b0d17404560abf3e4a332b58751f5cb/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump 3.6.x stable versionGustavo Zacarias2012-11-221-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 3.{0, 2, 4, 6}.x stable versionsGustavo Zacarias2012-11-222-4/+4
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* fs/common: Create initial console deviceMarkos Chandras2012-11-211-0/+2
| | | | | | | | | | | | | | | | | A /dev/console node must be present in rootfs when the Linux kernel boots otherwise the kernel will print the following warning: "Warning: unable to open an initial console" This is because when we use an initramfs the /dev directory is not populated at this point. This can cause problems when a program (e.g ldso with early debugging enabled) opens a standard file descriptor for read/write before these descriptors are actually created by the init process later on. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove unused barebox 2012.07 stringMaxime Ripard2012-11-211-1/+0
| | | | | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xtensa: fix target gdb build and 64-bit host side gdbChris Zankel2012-11-212-0/+41
| | | | | | | | | | Fix build breakage, use the version of the ptrace header file in asm instead of sys. Also, fix GDB running on 64 bit hosts. GDB was using unsigned long for 32-bit registers, but unsigned long is 64 bit on 64-bit hosts. Signed-off-by: Chris Zankel <chris@zankel.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xtensa: use uppercase for configurations and modified overlay structureChris Zankel2012-11-214-20/+24
| | | | | | | | | | | Except for architecture and processor names, buildroot uses capitalized configuration names, so change the macro names for xtensa to follow that standard. Change the overlay file to have a subdirectory for each component (gdb, binutils, gcc, etc.) to make it more future-prove. Signed-off-by: Chris Zankel <chris@zankel.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: fix link with tirpcArnout Vandecappelle2012-11-211-2/+7
| | | | | | | | | | | | | | | | | | | Busybox does partial linking of its modules before linking everything together into the binary. Those partial links are done without the standard libraries, but that also means -ltirpc can't be found. In addition, this probably fails horribly with static linking (untested). The problem is that the LDFLAGS are also used in the partial links. So instead, use CFLAGS_busybox, which is only used for the busybox link step. Also make sure that this is passed through the environment, not on the command line, so the busybox Makefile can still append to it. Fixes e.g. http://autobuild.buildroot.net/results/e8351e3ba86fdcdb2999548658271a6fde0526a9 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* cjson: fix copy/paste error in target installationDanomi Manchego2012-11-211-1/+1
| | | | | Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: Add BR2_TARGET_BAREBOX_2012_11Gregory Hermant2012-11-211-0/+1
| | | | | Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* news.html: add 2012.11-rc1 annoucement linkPeter Korsgaard2012-11-191-1/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Update for 2012.11-rc12012.11_rc1Peter Korsgaard2012-11-174-7/+19
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* CHANGES: update with recent changesPeter Korsgaard2012-11-171-12/+12
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dbus: uses fork(), requires MMUThomas Petazzoni2012-11-1711-0/+13
| | | | | | | | | | | | | | In order to solve http://autobuild.buildroot.org/results/34f6843137efda20626af72714c110280ec577d7/build-end.log, this patch makes the D-Bus package as well as all the packages that select the D-Bus package 'depends on BR2_USE_MMU'. In addition, for the specific case of gvfs, the missing BR2_TOOLCHAIN_HAS_THREADS dependency is added (threads are required by D-Bus, so they are also required by gvfs which selects D-Bus). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* attr: fix static buildThomas Petazzoni2012-11-171-0/+30
| | | | | | | | | Fixes: http://autobuild.buildroot.org/results/58a3d4113172813183d43fddc1248b35bd0c4994/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: fix C++ link issueThomas Petazzoni2012-11-171-0/+4
| | | | | | | | | | | | | The intl module is implemented in C++, but PHP fails to use g++ as the compiler for the final link. As a workaround, tell it to link with libstdc++. Fixes: http://autobuild.buildroot.org/results/13eefdf2121fa1aea7a844bbed8b6cbce3b45996/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gsl: fix build on !i386 uClibcThomas Petazzoni2012-11-171-0/+13
| | | | | | | | | | | | | uClibc pretends to implement <fenv.h> as it installs the header, but in practice, it only implements the functions for i386. This makes gsl unhappy as it detects fenv.h, but then cannot use the fenv functions. Fixes: http://autobuild.buildroot.org/results/732cc07faeca2a9098dc5106e8f654eb1323451a/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gnutls: fix build failure due to non-existing gets in recent C librariesThomas Petazzoni2012-11-171-0/+56
| | | | | | | | | Fixes: http://autobuild.buildroot.org/results/7414989c182f8fd5b3ac849b7897b8e15df0024f/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libatomic_ops: bump to version 7.2Thomas Petazzoni2012-11-171-1/+1
| | | | | | | | | | | | | The 1.2 we were using doesn't build on ARM Thumb platforms: http://autobuild.buildroot.org/results/94ef6be7dcb31021462e7313724217627d4b29df/build-end.log Moreover, the 7.2 version is the one used by Debian/Ubuntu, and it has been tested to build fine with the two packages that depend on libatomic_ops: libdrm and pulseaudio. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mesa3d: requires host-libxml2 and host-python to generate some filesVellemans Noel2012-11-172-1/+4
| | | | | | | | | | | | mesa3d now generates some C files at build time (related to the OpenGL API) from XML files. This generation process is done using Python scripts that require the libxml2 Python module. Patch based on the initial work of Will Wagner (Thanks Will). Signed-off-by: Vellemans Noel <noel.vellemans@visionbms.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libxml2: add support for building host library with python supportVellemans Noel2012-11-172-1/+12
| | | | | | | | | Patch based on the initial work of Will Wagner (Thanks Will). libxml2 host library with python support is required to build mesa3d (7.10.1) Signed-off-by: Vellemans Noel <noel.vellemans@visionbms.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* python: use default configure commands to get shared buildThomas Petazzoni2012-11-171-13/+1
| | | | | | | | | | | | | | | | | | | | Commit 3c90f754961c6d99059c0b6d0a66bc797a3c017b made Python use a special ./configure command in order to avoid --enable-shared --disable-static being passed, because it was causing issues when building certain modules for a 64 bits system. However, not having a shared libpython2.7 library for the host prevents the libxml2 Python binding to get built. So instead, we use the default configure command, but we add --enable-static which is needed for Python to build correctly. Note that we tested the build of Python on a 64 bits host as well as the build of Python for a 64 bits target, and both went fine, with all modules built properly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* CHANGES: update with recent changesPeter Korsgaard2012-11-171-31/+47
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* news.html: announce dev days report / next dev daysPeter Korsgaard2012-11-171-0/+15
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* lua: don't be fancy when creating shared libraryPeter Korsgaard2012-11-171-1/+1
| | | | | | | | | | | | | (Possibly) fixes #5354 The lua shared library patch was creating the shared library with -nostdlib -lgcc for some unknown reason, which most likely is the reason for the link issue reported in #5354. Fix it by dropping these arguments, so gcc gets to figure out itself what dependencies are needed. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* hiawatha: bump to version 8.6Gustavo Zacarias2012-11-171-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* polarssl: bump to version 1.2.0Gustavo Zacarias2012-11-172-10/+15
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* collectd: bump to version 5.1.1Gustavo Zacarias2012-11-171-1/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Allow to run severals post build scripts instead of only onePhilippe Reynes2012-11-172-7/+9
| | | | | | | | | Using severals post build scripts is usefull to share script between severals boards/projects. [Peter: fix trailing spaces in Config.in] Signed-off-by: Philippe Reynes <philippe.reynes@sagemcom.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* alsa-utils: bump to version 1.0.26Gustavo Zacarias2012-11-171-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* alsa-lib: bump to version 1.0.26Gustavo Zacarias2012-11-171-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Warn the user about the usage of output/target as the root filesystemThomas Petazzoni2012-11-173-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A very common mistake done by our users is that they use output/target/ directory as their root filesystem. Even though this is loudly documented in our Buildroot manual, people don't read documentation, so it is not sufficient. This patch adds a text file named output/target/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM which explains why output/target isn't appropriate to use as the root filesystem. The process is: * At the beginning of the build, right after the skeleton has been copied, support/misc/target-dir-warning.txt is copied to output/target/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM * In the filesystem images creation code, this file is removed before launching fakeroot, and restored right after that, so that this file is not present in the generated root filesystem images. Note that the file has not been added to the default skeleton for two reasons: * It would have annoying to have in our source tree a file named in capital letters inside system/skeleton/ * The proposed way works even if the user uses a custom skeleton. [Peter: fixed typo] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Juha Lumme <juha.lumme@gmail.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* lua-msgpack-native: fix fetchFrancois Perrad2012-11-171-3/+2
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mxs-bootloader: Barebox entry point symbol changed in 2012.08Maxime Ripard2012-11-171-1/+1
| | | | | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>