summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-27Create <tuple>/lib -> <sysroot>/lib symlink before installing cross gccThomas Petazzoni
This commit solves bug #1051. The problem in this bug in that WebKit compiles a sample C program, which uses WebKit. As WebKit is written in C++, even though the program it built with CROSS-gcc, it must be linked with libstdc++. However, CROSS-gcc can't find the libstdc++ has it's hidden inside <sysroot>/<tuple>/lib. Therefore, this commit creates a symbolic link <sysroot>/<tuple>/lib -> <sysroot>/lib before running the CROSS-gcc installation. While this may look like a hack, this is the solution used by both Crosstool-NG and OpenWRT. Moreover, with this symbolic link in place, I think bug #1741 may also be solved. The problem in this bug is that the linker tries to link against /lib/libc.so.0. This is due to the fact that the linker finds a libc.so script file in the original toolchain location and not inside the copy of the toolchain sysroot in $(STAGING_DIR). As the script file is found outside of the current toolchain sysroot, ld considers the script has non-sysrooted, and therefore doesn't prefix all paths found in the script file (such as /lib/libc.so.0) with the sysroot path, leading to the failure. So, in details, this commit : * Adds a BR2_ARCH_IS_64 invisible config knob that is used to know if the arch is a 64 bits architecture or not. * Creates the <sysroot>/<tuple>/lib -> <sysroot>/lib symbolic link, and the <sysroot>/<tuple>/lib64 -> <sysroot>/lib64 symbolic link if needed. * Fixes the external toolchain sysroot detection code so that the 'sed' replacement is done *after* the readlink -f evaluation. I have tested this by building ARM, x86 and x86_64 toolchains with Buildroot, and then use these toolchains as external toolchains to build a full X.org/Gtk/WebKit/Midori stack. I have also done a complete ARM Buildroot internal toolchain build with the same full X.org/Gtk/WebKit/Midori stack. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27webkit: Fix build failure on uClibcThomas Petazzoni
uClibc does not define pthread_getattr_np(), so we need to workaround this using a patch. Fixes bug #1405. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27webkit: the X11 variant needs libXtThomas Petazzoni
Fixes bug #829. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27midori: make sure it can't be selected if webkit can't be enabledThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27xserver: Add xkeyboard-config as a dependencyThomas Petazzoni
xkeyboard-config is required to install keymap files to the target, without which the X server does not start. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27xserver: tell the X server where fonts are installedThomas Petazzoni
All fonts are installed in /usr/share/fonts/X11 and not in /usr/lib/X11/fonts/ where the X server looks by default. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27xkeyboard-config: add dependency on host-xapp_xkbcompThomas Petazzoni
In order to get xkeyboard-config to build, it needs xkbcomp to be built on the host, i.e host-xapp_xkbcomp. In turn, xapp_xkbcomp needs xlib_libX11 and xlib_libxkbfile, which in turn need a few libraries. This commit adds all the relevant dependencies to build everything that is needed to get xkeyboard-config to build correctly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27libsoup: bump version to 2.31.2Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27cairo: bump to 1.8.10Thomas Petazzoni
This commit bumps Cairo to 1.8.10 and updates the DirectFB support patch. The work has been done by Lionel Landwerlin <llandwerlin@gmail.com>. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27icu: add quotes around TARGET_CXXThomas Petazzoni
Now that TARGET_CXX contains a --sysroot= option and therefore spaces, it needs to be used with quotes. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27midori: bump to 0.2.6Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27webkit: bump to webkitgtk 1.2.3Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27package: add libgail packageLionel Landwerlin
This package include a patch for directfb support. This patch has been proposed for upstream integration (https://bugzilla.gnome.org/show_bug.cgi?id=614199). Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-07-27pango: bump to 1.28Lionel Landwerlin
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-07-27atk: bump to 1.30Lionel Landwerlin
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-07-27libglib2: bump to 2.24.0Lionel Landwerlin
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-07-27Deprecate pcmcia and microwin packagesThomas Petazzoni
It isn't worth the effort to convert these packages to the new package infrastructure since they are deprecated. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-27setserial: convert to autotargets and fix manpages installThomas Petazzoni
Close #2269 [Peter: fix Makefile patch to not strip wrong file, rename hayes patch] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-27tftpd: convert to autotargetsThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26ltrace: convert to gentargets and bump to 0.5.3Thomas Petazzoni
[Peter: remove unneeded 0.5 USE_DEMANGLE patch] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26Makefile: fix ldconfig selection for internal toolchainsPeter Korsgaard
Commit ed0d45fdd (Choose host/target ldconfig based on availability) added a runtime check for a cross-ldconfig being available. Unfortunately this checks runs too early (at package/Makefile.in parsing time), so it always fails when using an internal toolchain as ldconfig isn't built yet. Fix it by moving the check to the only place it is used (target-finalize). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26iw: bump to 0.9.20 and migrate to gentargetsGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26qt: fix alsa-lib dependencyLuca Ceresoli
If BR2_PACKAGE_QT_AUDIO_BACKEND=y, QtMultimedia requires the audio backend to be already in staging in order to compile. The backend is system-dependent, but since buildroot builds Linux systems only, it is safe to assume that the it will always be ALSA. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26Improvements to the package conversion status scriptThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26u-boot: fix custom patch dir handlingOssy
Signed-off-by: Ossy <ossy1980@gmx.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26java: mark as brokenPeter Korsgaard
We haven't had any updates to the java packages in a long time, gcj in 4.3.x doesn't build, and 4.4.x is missing ecj1, so it cannot have many users. Mark it as broken and remove during the 2010.11 cycle, unless someone steps up to maintain it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26u-boot: add Marvell u-boot.kwb supportPeter Korsgaard
Marvell boards like the sheevaplug needs a special .kwb image format, so add an option for it similar to how we handle zImage/uImage/.. for the kernel. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26flex: fix configure cache issue with BR2_NEEDS_GETTEXTPeter Korsgaard
Flex doesn't NEED gettext/libintl, but it's configure script checks for it, so make sure those a built before flex, otherwise flex will populate tgt-config.cache with invalid values, breaking the build of other packages needing it (like libglib2). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26wireless_tools: Migrate to gentargets and fixesGustavo Zacarias
Rename it from wireless-tools to wireless_tools to match upstream. Make it install manpages. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26swfdec: fix build when no libglib2-dev package is installed on hostPeter Korsgaard
Make sure it uses the libglib2-host binaries we are building. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26busybox: bump 1.17.x versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26diffutils: fix build with uClibc 0.9.31Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-25gmpc: fix typoPeter Korsgaard
Fixes build with libSM support. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-24xserver-xorg: disable SDL kdrive serverPeter Korsgaard
Otherwise the build breaks if the SDL package is enabled, as xserver's configure script detects SDL support, but doesn't find our sdl-config script, so linking fails. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-23kconfig: implement KCONFIG_PROBABILITY for rand{,package}configPeter Korsgaard
rand{,package}config enables configuration options with 50% probability, which isn't always what we want in BR (because the "big" configs take a long time to build and limits the chance of a randconfig detecting a missing dependency), so introduce a KCONFIG_PROBABILITY environment variable to tweak the probability between 0 (all options off) and 100 (all options on). To use, simply set the environment variable before running make or pass it on the make command line - E.G. make randpackageconfig KCONFIG_PROBABILITY=10 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22package: mark libglib12/libgtk12/dillo as deprecatedPeter Korsgaard
gtk2 was released back in 2002, and gtk3 is almost ready - So deprecate the old gtk12 stack. Unless someone complains, expect it to be removed during the 2010.11 development cycle. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22busybox: fix cflagsGustavo Zacarias
Pass CFLAGS as env rather than opt to allow the build system to tweak them. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22busybox: additional 1.17.0 fixesPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22gst-plugins-good: udp plugin needs ipv6 supportPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22kconfig: make rand{,package}config fairPeter Korsgaard
Give each boolean symbol a 50% chance of getting enabled, rather than 67%. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22php: filter plugin depends on pcrePeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22webif: needs busybox (httpd)Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22thttpd: fix build, don't override CFLAGS at make timePeter Korsgaard
We already provide the correct CFLAGS/LDFLAGS at configure time, so don't pass them again at make time, as this then overrides the extra CFLAGS (defines) in the Makefile. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22mplayer: add optional sdl/freetype supportPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22mplayer: fix build after efb1d8d3f40 (Cleanup TARGET_CONFIGURE_OPTS)Peter Korsgaard
mplayer's configure script got confused by the equal sign (=) we now have in TARGET_CC because of --sysroot=<path>. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22gst-plugins-base: ensure <stdint.h> is usedPeter Korsgaard
Otherwise the build breaks with the emulation _stdint.h in gstfft.c. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22xavante: needs largefile support (for luafilesystem)Peter Korsgaard
And at the same time use select for the lua shared library dependency. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22cgilua: tweak Config.inPeter Korsgaard
Print a comment if largefile isn't available, and use select rather than depends for the lua shared library option. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22luafilesystem: tweak Config.inPeter Korsgaard
Print a comment if largefile isn't available, and use select rather than depends for the lua shared library option. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22wsapi: needs largefile support (for luafilesystem)Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>