summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* startup-notification: add dependency on xlib_libX11Thomas Petazzoni2010-05-202-0/+3
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lmbench: needs BR2_INET_RPCThomas Petazzoni2010-05-201-0/+5
| | | | | | | This package uses several pmap_*() functions in the C library, that are only available if the C library has RPC support. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* iconv: disallow selection when BR2_ENABLE_LOCALE is enabledThomas Petazzoni2010-05-201-0/+1
| | | | | | | | | | | | | A C library compiled with locale support already has an iconv() implementation. In that case, libiconv is useless. Therefore, disallow the selection of libiconv when the configuration says that the toolchain has locale support. This fixes build issues similar to the one we had with gettext: libiconv headers are installed, but -liconv is not added because the ./configure script detects that the C library supports iconv. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* external toolchain: check BR2_INSTALL_LIBSTDCPPThomas Petazzoni2010-05-201-0/+12
| | | | | | | | Verify that the value of BR2_INSTALL_LIBSTDCPP set by the user in the Buildroot configuration really matches the external toolchain capabilities by checking that a C++ cross-compiler is available. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gettext: make only available if BR2_NEEDS_GETTEXT is setThomas Petazzoni2010-05-201-0/+2
| | | | | | | | This allows to make sure that an user, or a randpackageconfig, will not select the gettext or libintl package when using an external toolchain based on glibc/eglibc. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ltrace: fix build failureThomas Petazzoni2010-05-201-2/+1
| | | | | | | | | ltrace failed to build because of missing arguments to gcc to find the header files. This is due to the fact that the existing ltrace.mk was setting CC and LD at build time to incorrect values. Keeping the values set at configure time is just the right thing to do. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libcgicc: fix package after autotools infrastructure conversionThomas Petazzoni2010-05-202-0/+2
| | | | | | | | The patch had an incorrect name, and the libtool patch was applied while it shouldn't, and the package wasn't autoreconfed while the patch changes some Makefile.am files. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libcap: fix build failureThomas Petazzoni2010-05-201-2/+2
| | | | | | | | On a x86-64 host, libcap tried to install things in $(STAGING_DIR)/lib64 and $(TARGET_DIR)/lib64. Therefore, pass lib= and prefix=, as required by the strange build system used by libcap. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Make all package using gettext rely on BR2_NEEDS_GETTEXTThomas Petazzoni2010-05-2024-41/+34
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Add a BR2_NEEDS_GETTEXT optionThomas Petazzoni2010-05-201-0/+8
| | | | | | | | | | | | | | | | | | | | | | | When using an external toolchain that uses the glibc or eglibc C libraries, compiling a separate gettext and libintl is not needed and is even a source of confusion, causing build failures. These build failures are due to the fact that when libintl is compiled, it replaces the C library libintl.h by its own, which does #define gettext libintl_gettext. Then, when packages want to use gettext, autoconf realize that gettext is available in the C library and therefore do not add -lintl to the LDFLAGS, causing the build failure because the program has been compiled to use libintl_gettext but this function is not available. Therefore, we should only use gettext if a uClibc internal toolchain or a uClibc external toolchain. If an external glibc toolchain is used, gettext shouldn't be used. In order to implement that, we introduce the BR2_NEEDS_GETTEXT option, which is hidden to the user, and whose value is computed automatically from the rest of the configuration. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mtd-utils: buildsystem is broken with parallel make (regarding libubi)Peter Korsgaard2010-05-192-5/+5
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* avahi: fix build on uclibc 0.9.31 without ipv6 supportPeter Korsgaard2010-05-182-1/+148
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Config: terminate version number stringPeter Korsgaard2010-05-171-1/+1
| | | | | Reported-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target/linux: bump 2.6.32 and 2.6.33 versionsH Hartley Sweeten2010-05-162-6/+6
| | | | | | | | New versions of the 2.6.32 and 2.6.33 kernel were released today and it is suggested that all users should upgrade. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: 1.16.1 fixes for dhcpd and sedPeter Korsgaard2010-05-163-7/+63
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 2.6.32.x / 2.6.33.x stable versionsPeter Korsgaard2010-05-163-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Config.in: past 2010.05-rc2Peter Korsgaard2010-05-162-1/+5
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* update for 2010.05-rc22010.05_rc2Peter Korsgaard2010-05-114-5/+16
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* CHANGES: add updated packages from Thomas' build-fixes branchPeter Korsgaard2010-05-111-4/+5
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge branch 'build-fixes' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard2010-05-1111-17/+90
|\
| * shared-mime-info: missing dependency on host-intltoolThomas Petazzoni2010-05-101-1/+1
| | | | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * ltp-testsuite: mark as brokenThomas Petazzoni2010-05-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | The install step, done with fakeroot, tries to install things in /opt: make[2]: Entering directory `/home/test/buildroot/output.ctng-arm-eglibc-2010-05-07-19-39-56/target/root/ltp-full-20090630/lib' install -D -m 644 libltp.a //opt/ltp/lib/libltp.a install: cannot create directory //opt/ltp: Permission denied make[2]: *** [install] Error 1 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * sed: bump to 4.2.1 to fix build failureThomas Petazzoni2010-05-101-2/+2
| | | | | | | | | | | | | | Version 4.1.5 fails to build due to the infamous getline() conflict issue. 4.2.1 doesn't have this problem. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * vlc: mark as brokenThomas Petazzoni2010-05-101-0/+3
| | | | | | | | | | | | | | | | | | Before 2010.02, VLC didn't build, because it didn't pass the appropriate --disable- options according to the libraries available in Buildroot. Now, 2010.05 is going to be released, and no one bothered to fix VLC. Therefore, let's mark VLC as broken. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * linux-fusion: add dependency on !BR2_KERNEL_noneThomas Petazzoni2010-05-102-0/+2
| | | | | | | | | | | | | | | | | | | | | | linux-fusion is composed of a kernel module, and linux-fusion.mk uses several variable definitions that only exist when Buildroot compiles a kernel. We also add the same dependency to BR2_PACKAGE_DIRECTFB_MULTI, which relies on linux-fusion. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * libgcrypt: specify where gpg-error-config isThomas Petazzoni2010-05-091-1/+2
| | | | | | | | | | | | | | libgcrypt depends on libgpg-error, but it needs to know where the gpg-error-config utility is. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * hal: add dependency on host-libxml-parser-perlThomas Petazzoni2010-05-091-1/+1
| | | | | | | | | | | | | | hal integrates its own version of intltool tools, but they require libxml-parser-perl to be installed on the host. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * gawk: remove CC overrideThomas Petazzoni2010-05-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | For some unknown reason, gawk.mk was overriding CC to $(TARGET_CC) at build time, while it had already been set at configure time to "$(TARGET_CC) $(TARGET_CFLAGS)" which is already the good value. Setting it to just $(TARGET_CC) breaks the compilation with external toolchains because we must pass the --sysroot option. But anyway, this was incorrect as we were loosing some CFLAGS set by Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * gnuchess: add a patch to fix getline() conflictThomas Petazzoni2010-05-091-0/+48
| | | | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * php: make sure either CLI or CGI is selectedThomas Petazzoni2010-05-091-10/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When neither CLI nor CGI is selected, PHP's configure script fails with: checking whether to build CGI binary... configure: error: No SAPIs selected. Of couse, the help text of the options says that at least one of them should be selected, but when doing testing with randpackageconfig, noone is reading these help texts. Therefore, based on the suggestion of Yann E. Morin, modify the Config.in organization so that at least one of the option is selected. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | libnl: include limits.h to fix build failureThomas Petazzoni2010-05-112-1/+20
| | | | | | | | | | | | | | | | | | | | Fixes the ULONG_MAX definition problem: In file included from cache.c:43: ../include/netlink-local.h: In function '__str2type':../include/netlink-local.h:218: error: 'ULONG_MAX' undeclared (first use in this function) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | netplug: disable -Werror to fix build failureThomas Petazzoni2010-05-112-4/+27
| | | | | | | | | | | | | | | | | | | | | | | | netplug uses nested functions, and gcc generates a warning that is turned into an error: cc1: warnings being treated as errors if_info.c: In function 'ifsm_scriptdone': if_info.c:289: error: generating trampoline in object (requires executable stack) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | less: depends on cursesThomas Petazzoni2010-05-112-1/+2
| | | | | | | | | | | | | | | | | | | | | | The less package already selects BR2_PACKAGE_CURSES, but it fails to depend on it in the makefile. Therefore, there are cases where less gets built before curses, and the build fails: checking for working terminal libraries... Cannot find terminal libraries - configure failed Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | hostapd: use internal crypto libraryThomas Petazzoni2010-05-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | When OpenSSL is not enabled, hostapd relies on an internal library. However, this library must be enabled, otherwise the compilation of hostapd fails with: /home/test/ctng-arm-eglibc/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.3.4/../../../../arm-unknown-linux-gnueabi/bin/ld: cannot find -ltommath Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | xvkbd: bump versionPaul Jones2010-05-113-3/+4
| | | | | | | | | | | | | | And fix dependencies while we're at it. Signed-off-by: Paul Jones <paul@pauljones.id.au> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | libxcb: relax host-python regexpPeter Korsgaard2010-05-101-1/+1
| | | | | | | | | | | | | | | | Some python versions print x.y rather than x.y.z as version number, so make regexp more robust. Reported-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | package/games/vice: removePeter Korsgaard2010-05-106-45/+2
|/ | | | | | Has been marked broken since Nov 2009, so removing as announced. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge branch 'squashfs-fixes' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard2010-05-083-5/+14
|\
| * squashfs3: fix build when zlib isn't available on the hostThomas Petazzoni2010-05-072-4/+13
| | | | | | | | | | | | | | We need to pass CFLAGS and LDFLAGS, and to rename the patch so that it actually gets applied. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * squashfs: fix build when zlib isn't available on the hostThomas Petazzoni2010-05-071-1/+1
| | | | | | | | | | | | | | Pass CFLAGS and LDFLAGS so that when building squashfs, it finds the zlib installed in $(HOST_DIR). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | CHANGES: #1531 and #1669 are now resolvedPeter Korsgaard2010-05-081-0/+2
| | | | | | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | CHANGES: update with changes from misc-fixes2Peter Korsgaard2010-05-081-3/+5
| | | | | | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | Merge branch 'misc-fixes2' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard2010-05-0846-137/+132
|\ \
| * | xfonts: fix dependencies and build processThomas Petazzoni2010-05-0636-108/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of assuming that mkfontdir and mkfontscale are available on the development system, use the one installed in $(HOST_DIR). The FCCACHE variable is removed, because, for some reason, the installation process of xfonts disables the call to fc-cache when a DESTDIR is passed. See the definition of XORG_FONT_FCCACHE in aclocal.m4 in font packages: AC_DEFUN([XORG_FONT_FCCACHE],[ AC_PATH_PROG(FCCACHE, fc-cache) FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"' if test x"$FCCACHE" = x ; then RUN_FCCACHE="${FCCACHE_WARN}" else RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else' RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)" fi AC_SUBST([RUN_FCCACHE]) ]) In addition to this, we update the font dependencies to include font-utils for the host, mkfontdir for the host, mkfontscale for the host and bdftopcf for the host. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * | xapp_mkfontdir: enable for the hostThomas Petazzoni2010-05-061-0/+2
| | | | | | | | | | | | | | | | | | | | | When compiling xfonts, mkfontdir is needed for the host, therefore, enable it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * | Enable xapp_bdftopcf dependencies for the hostThomas Petazzoni2010-05-065-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that xapp_bdftopcf is enabled on the host, we also need its dependencies to be available for the host. The dependency of host-xapp_bdftopcf is host-xlib_libXfont, which itself depends on a bunch of other packages. Some of them were already available for the host, some not (xfont_encodings, xlib_xtrans, xproto_fontcacheproto, xproto_fontsproto) and are therefore added by this patch. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * | xapp_bdftopcf: enable for the hostThomas Petazzoni2010-05-061-0/+2
| | | | | | | | | | | | | | | | | | | | | Compiling xfonts require having bdftopcf installed on the host. Therefore, enable host support for this package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * | xfont_font-util: enable host packageThomas Petazzoni2010-05-062-29/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When compiling xfonts, host utilities like bdftopcf or ucs2any, part of xfont_font-util are needed. Until now, xfont_font-util was installing ugly symbolic links, assuming that these tools were available on the development machine. This patch enables the host package for xfont_font-util, removes the post-install.sh script, and keeps only the useful part of this script in a post install hook. host-xfont_font-util will be used later by xfont packages. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * | Add staging libraries directories to -L in external caseThomas Petazzoni2010-05-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | In order to solve issues of libtool trying to link target components against host libraries, it seems that specifying -L$(STAGING_DIR)/lib and -L$(STAGING_DIR)/usr/lib works. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * | Add -rpath option for host package compilationThomas Petazzoni2010-05-061-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In c1b6242fdcf2cff7ebf09fec4cc1be58963e8427, we added $(HOST_DIR)/usr/lib to LD_LIBRARY_PATH when building target packages, because the build of target packages sometimes require host tools installed in $(HOST_DIR)/usr/bin which themselves require host libaries installed in $(HOST_DIR)/usr/lib. Unfortunately, this solution didn't work, as libtool then tried to link target binaries against host libraries. So $(HOST_DIR)/usr/lib got removed from LD_LIBRARY_PATH in 0d1830b07db4ebfd14e77a258de6fb391e57e960. However, this meant that we went back to the previous situation, in which host tools used during compilation of target components might require host libraries. An example : make[2]: Entering directory `/home/test/buildroot/output.ctng-arm-eglibc-2010-05-04-12-41-00/build/xfont_font-adobe-100dpi-1.0.1' /home/test/buildroot/output.ctng-arm-eglibc-2010-05-04-12-41-00/host/usr/bin/mkfontdir /home/test/buildroot/output.ctng-arm-eglibc-2010-05-04-12-41-00/target/usr/share/fonts/X11/100dpi /home/test/buildroot/output.ctng-arm-eglibc-2010-05-04-12-41-00/host/usr/bin/mkfontscale: error while loading shared libraries: libfontenc.so.1: cannot open shared object file: No such file or directory Therefore, we try another solution: make sure that host binaries are linked with an -rpath option, so that $(HOST_DIR)/usr/lib doesn't need to be in LD_LIBRARY_PATH for them to find their libraries. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>