summaryrefslogtreecommitdiff
path: root/package
AgeCommit message (Collapse)Author
2010-05-10linux-fusion: add dependency on !BR2_KERNEL_noneThomas Petazzoni
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>
2010-05-09libgcrypt: specify where gpg-error-config isThomas Petazzoni
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>
2010-05-09hal: add dependency on host-libxml-parser-perlThomas Petazzoni
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>
2010-05-09gawk: remove CC overrideThomas Petazzoni
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>
2010-05-09gnuchess: add a patch to fix getline() conflictThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-09php: make sure either CLI or CGI is selectedThomas Petazzoni
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>
2010-05-08Merge branch 'squashfs-fixes' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard
2010-05-08Merge branch 'misc-fixes2' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard
2010-05-08Merge branch 'misc-fixes' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard
2010-05-08hostapd: Fix build with external toolchainGustavo Zacarias
Closes #1717 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-07squashfs3: fix build when zlib isn't available on the hostThomas Petazzoni
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>
2010-05-07squashfs: fix build when zlib isn't available on the hostThomas Petazzoni
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>
2010-05-07xlib_libX11: re-add a patch to fix the keysymdef issueThomas Petazzoni
When xlib_libX11 was bumped to 1.3.2 in commit 1d956c9190dafbe425e9e02255b540641e27f690, the keysymdef patch was dropped. However, this patch is still needed in order to be able to tell ./configure where the keysymdef header file is installed. The patch has been updated for 1.3.2. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-07libxcb: fix path to Python modulesThomas Petazzoni
When building libxcb, the variable XCBPROTO_XCBPYTHONDIR must point to the location where the Python modules needed to run the c_client.py program are installed. The path $(STAGING_DIR)/usr/lib/python2.6/site-packages was hardcoded. However, it doesn't work when the version of Python installed on the host is Python 2.5. Therefore, add a little bit of magic to compute the host Python version. We also verify that Python is available on the host, as we don't build it in Buildroot. Fixes bug #1531. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-07busybox: disable MTD utils in default configurationThomas Petazzoni
The MTD utils require MTD headers in the toolchain, and in several external toolchains, they are not present. In order to make the build work by default, let's disable the MTD Busybox applets in our default configuration. Fixes bug #1669 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-06customize: fix copy pathsLuca Ceresoli
Closes #849, #1135 customize.mk used to copy files with a wrong command, resulting in one directory level in excess. For example, source/etc/myfile would have produced /etc/etc/myfile in the target filesystem instead of /etc/myfile. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-06wpa_supplicant: Fix build with external toolchainGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-06Fix the computation of REAL_GNU_TARGET_NAMEThomas Petazzoni
When the selected C library is glibc, the C library shouldn't be mentionned in REAL_GNU_TARGET_NAME. In other words: arm-unknown-linux-uclibcgnueabi must be used for uClibc arm-unknown-linux-gnueabi must be used for glibc This fixes the build of GDB on the target, as reported by Quotient Remainder <quotientvremainder@gmail.com>. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-06pciutils: Fix cross compilingGustavo Zacarias
Closes #1705 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-06usbutils: fix recursive LIBUSB Kconfig issue and bump to 0.87Gustavo Zacarias
Closes #1699 [Peter: Use BR2_KERNEL_MIRROR] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-06package/sed: make HOST_SED_BINARY a simply expanded variable (:=)Peter Korsgaard
HOST_SED_BINARY is used 2 times during startup, and is relatively expensive to run, so make it a simple expanded variable (:=) rather than a recursively expanded one (=). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-06boa: use BOA_VERSION instead of spawning a shell/basename for build dirPeter Korsgaard
And as it is a recursive variable, this is done twice during startup. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-06Makefile.package.in: optimize UPPERCASE macroPeter Korsgaard
As noticed by Thomas, we call the UPPERCASE macro a lot, and it slows down startup quite a bit. Optimize it by implementing it in make, rather than forking a shell + tr. The implementation is heavily based on the 'up' macro from gmsl (http://gmsl.sf.net) With this in place, startup time is ~5 times lower. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-06xfonts: fix dependencies and build processThomas Petazzoni
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>
2010-05-06xapp_mkfontdir: enable for the hostThomas Petazzoni
When compiling xfonts, mkfontdir is needed for the host, therefore, enable it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-06Enable xapp_bdftopcf dependencies for the hostThomas Petazzoni
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>
2010-05-06xapp_bdftopcf: enable for the hostThomas Petazzoni
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>
2010-05-06xfont_font-util: enable host packageThomas Petazzoni
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>
2010-05-06Add staging libraries directories to -L in external caseThomas Petazzoni
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>
2010-05-06Add -rpath option for host package compilationThomas Petazzoni
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>
2010-05-05Remove gtk-doc documentations from targetPaulius Zaleckas
On my target rootfs it is installed documentation for: atk, cairo, gdk, gdk-pixbuf, gio, glib, gobject, gtk, pango It ocupies 34M of space. Configure option --disable-gtk-doc doesn't prevent installation of it. So we should remove them manually if documentation is disabled. [Peter: also remove manual rm's from hal/libxml2/libglade] Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-04hal: cleanup packagePeter Korsgaard
Closes #1525 Kconfig selects are not recursive, so ensure we select the dependencies of our dependencies as well. Cleanup target installation: - Remove tasks handled by the generic post-build cleanup - Hal doesn't install etc/rc.d, so don't try to delete it Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-04mplayer: disable parallel builds (make -jX)Peter Korsgaard
The build system races with itself when building the internal vidix stuff (x86 only), so use MAKE1. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-04usb_modeswitch: Bump to version 1.1.2Gustavo Zacarias
And correct kconfig dependency. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-04mplayer: internal copies of libdvdread/libdvdcss require largefile supportPeter Korsgaard
So disable when we don't have largefile support in toolchain. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03X11 OpenChrome driver depends on libxcompositePaulius Zaleckas
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03bzip2: fixup build after ea448fe (convert to gentargets, add host package, ↵Peter Korsgaard
bump version) Fix a few typos/mistakes introduced in commit ea448fe: - bzip2 soname is not the same as package version - It is PKG_INSTALL_STAGING, not PKG_STAGING_INSTALL - Typo: BZIP2_INSTALL_TARGET_CMDS, not B2IP_INSTALL_TARGET_CMDS Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03package: Add $(HOST_DIR)/usr/lib to LD_LIBRARY_PATH for host but not targetLionel Landwerlin
Some packages like icu requires to be compiled against the host system first to be able to compile against the target. This is due to the usage of self generated binaries by the package to build itself. When the generated tools also depends on generated libraries it is required to add the path to these libraries in the library path (LD_LIBRARY_PATH) especially for the configure step. Adding $(HOST_DIR)/usr/lib to LD_LIBRARY_PATH for target compilation might break the link step by mixing host libraries and target binaries. Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03ncurses: fix path to patch ncurses5-configLionel Landwerlin
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03linux-fusion: bump to 8.1.1Lionel Landwerlin
Also convert to generic package infrastructure Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03directfb: added directfb tests installation optionLionel Landwerlin
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03directfb: bump to 1.4.3Lionel Landwerlin
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03ncurses: convert to autotools infrastructureLionel Landwerlin
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03autoconf: Unverbosify autoreconf outputThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03Fix autotools configuration cache handlingThomas Petazzoni
It got broken by the introduction of the new autotools infrastructure based on the generic infrastructure. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03Remove BR2_GNU_TARGET_SUFFIX and compute GNU_TARGET_NAMEThomas Petazzoni
Instead of asking the user about the GNU target suffix, just compute it automatically from the other configuration options. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03Get rid of the code computing ROOTFS_SUFFIXThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03Get rid of KERNEL_CROSSThomas Petazzoni
In both internal and external toolchain cases, KERNEL_CROSS was defined to *exactly* the same value as TARGET_CROSS. It isn't modified anywhere, and is just used by kernel compilation and pcmcia compilation. Therefore, get rid of KERNEL_CROSS and use TARGET_CROSS instead. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03Commonalize the definition of TOOLCHAIN_DIRThomas Petazzoni
The definition of TOOLCHAIN_DIR is the same regardless of whether external or internal toolchains are used. Moreover, move its definition together with all the other *_DIR definitions. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02autotools: fix referencing to LIBTOOL_PATCH variableThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>