summaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* libxcb: fix path to Python modulesThomas Petazzoni2010-05-071-1/+2
| | | | | | | | | | | | | | | | | | | 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>
* busybox: disable MTD utils in default configurationThomas Petazzoni2010-05-071-4/+4
| | | | | | | | | | | 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>
* customize: fix copy pathsLuca Ceresoli2010-05-061-1/+1
| | | | | | | | | | | 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>
* wpa_supplicant: Fix build with external toolchainGustavo Zacarias2010-05-061-0/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix the computation of REAL_GNU_TARGET_NAMEThomas Petazzoni2010-05-061-1/+1
| | | | | | | | | | | | | | 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>
* pciutils: Fix cross compilingGustavo Zacarias2010-05-062-0/+7
| | | | | | | Closes #1705 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* usbutils: fix recursive LIBUSB Kconfig issue and bump to 0.87Gustavo Zacarias2010-05-062-2/+6
| | | | | | | | Closes #1699 [Peter: Use BR2_KERNEL_MIRROR] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/sed: make HOST_SED_BINARY a simply expanded variable (:=)Peter Korsgaard2010-05-061-1/+1
| | | | | | | | 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>
* boa: use BOA_VERSION instead of spawning a shell/basename for build dirPeter Korsgaard2010-05-061-1/+1
| | | | | | And as it is a recursive variable, this is done twice during startup. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Makefile.package.in: optimize UPPERCASE macroPeter Korsgaard2010-05-061-1/+15
| | | | | | | | | | | | | 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>
* Remove gtk-doc documentations from targetPaulius Zaleckas2010-05-053-6/+2
| | | | | | | | | | | | | 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>
* hal: cleanup packagePeter Korsgaard2010-05-042-8/+6
| | | | | | | | | | | | | 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>
* mplayer: disable parallel builds (make -jX)Peter Korsgaard2010-05-041-1/+1
| | | | | | | 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>
* usb_modeswitch: Bump to version 1.1.2Gustavo Zacarias2010-05-044-36/+34
| | | | | | | And correct kconfig dependency. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mplayer: internal copies of libdvdread/libdvdcss require largefile supportPeter Korsgaard2010-05-042-1/+4
| | | | | | So disable when we don't have largefile support in toolchain. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* X11 OpenChrome driver depends on libxcompositePaulius Zaleckas2010-05-032-1/+14
| | | | | Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* bzip2: fixup build after ea448fe (convert to gentargets, add host package, ↵Peter Korsgaard2010-05-031-11/+12
| | | | | | | | | | | | 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>
* package: Add $(HOST_DIR)/usr/lib to LD_LIBRARY_PATH for host but not targetLionel Landwerlin2010-05-031-3/+4
| | | | | | | | | | | | | | | | | 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>
* ncurses: fix path to patch ncurses5-configLionel Landwerlin2010-05-031-2/+2
| | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux-fusion: bump to 8.1.1Lionel Landwerlin2010-05-032-143/+30
| | | | | | | | 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>
* directfb: added directfb tests installation optionLionel Landwerlin2010-05-032-1/+11
| | | | | | 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>
* directfb: bump to 1.4.3Lionel Landwerlin2010-05-032-34/+1
| | | | | | 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>
* ncurses: convert to autotools infrastructureLionel Landwerlin2010-05-031-121/+67
| | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* autoconf: Unverbosify autoreconf outputThomas Petazzoni2010-05-031-1/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix autotools configuration cache handlingThomas Petazzoni2010-05-031-1/+1
| | | | | | | | 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>
* Remove BR2_GNU_TARGET_SUFFIX and compute GNU_TARGET_NAMEThomas Petazzoni2010-05-031-4/+17
| | | | | | | | 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>
* Get rid of the code computing ROOTFS_SUFFIXThomas Petazzoni2010-05-031-8/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Get rid of KERNEL_CROSSThomas Petazzoni2010-05-032-3/+1
| | | | | | | | | | | | 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>
* Commonalize the definition of TOOLCHAIN_DIRThomas Petazzoni2010-05-031-2/+0
| | | | | | | | | 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>
* autotools: fix referencing to LIBTOOL_PATCH variableThomas Petazzoni2010-05-021-1/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: remove useless HOST_*_LIBTOOL_PATCHThomas Petazzoni2010-05-029-10/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* autotools: inherit LIBTOOL_PATCH for host packagesThomas Petazzoni2010-05-021-1/+8
| | | | | | | | When FOO_LIBTOOL_PATCH is defined, assume that the same value should be used for HOST_FOO_LIBTOOL_PATCH. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* openssl: convert to the generic infrastructureThomas Petazzoni2010-05-021-34/+51
| | | | | | | | OpenSSL is not using the autotools as its build system. Therefore, we must use the generic infrastructure instead of the autotools one. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libxslt: fix host compilationThomas Petazzoni2010-05-021-1/+2
| | | | | | | | | | | | | | | | Do not build against libgcrypt on the host, since we don't build libgcrypt ourself, and it might fail even when libgcrypt is installed on the host: ...configure... checking for libgcrypt-config... /usr/bin/libgcrypt-config Crypto extensions will be available. ...build... gcc: /usr/lib/libgcrypt.so: No such file or directory Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* autotools: fix autoreconf checkThomas Petazzoni2010-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | The autoreconf check was incorrect, missing a $ sign to properly reference a package-specific variable. There was no visible effect until now since : * The existing syntax allowed to access the value defined in the package specific .mk file, so when AUTORECONF was set to YES by a package, it was working. * The default value in Makefile.autotools.in was NO. In fact, when a package .mkf file wasn't defining the AUTORECONF variable, the Makefile.autotools.in test was testing the empty string against 'YES', which was false, leading to the AUTORECONF not being done, which was the desired effect. However, in a later patch, we intend to change this default value. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* lua: fix pkgconfig installationPeter Korsgaard2010-05-021-1/+1
| | | | | | | install -D needs the destination filename, not just it's directory, otherwise we end up with a pkgconfig file instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* autoconf: add AUTOCONF variable settingLionel Landwerlin2010-05-021-1/+1
| | | | | | 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>
* autoconf: add missing AUTOMAKE variable settingLionel Landwerlin2010-05-022-2/+2
| | | | | | 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>
* autoconf: add AUTOHEADER variableLionel Landwerlin2010-05-021-2/+3
| | | | | | | | | autoheader is used by autoreconf, therefor we need to give the right path to this tools for host/target autoreconfiguration. 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>
* libtool: added LIBTOOLIZE variable to point on $(HOST_DIR)/usr/bin/libtoolizeLionel Landwerlin2010-05-021-0/+1
| | | | | | 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>
* package: Force copy of .la files at the post install hook (readonly files ↵Lionel Landwerlin2010-05-021-1/+1
| | | | | | | might be problematic) Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: add PKG_CONF_ENV variables to host packagesLionel Landwerlin2010-05-021-0/+1
| | | | | | 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>
* tslib: fix plugin linkingLuca Ceresoli2010-05-011-0/+48
| | | | | | | | | Fixes error: "Couldnt load module pthres" and similar. Original patch: svn://svn.berlios.de/tslib/trunk@56. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* haserl: Add lua optionGustavo Zacarias2010-05-012-3/+14
| | | | | | | Closes #719 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* lua: Migrate to gentargets and improve itGustavo Zacarias2010-05-018-69/+392
| | | | | | | | | | Closes #803 Based on initial patch by rvpaasen@t3i.nl [Peter: lua/luac needs liblua.so.* on target] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Make Mesa3D optional for X11Darius Augulis2010-05-0115-5/+20
| | | | | | | [Peter: XF86DRIPROTO should only be selected if mesa is enabled] Signed-off-by: Darius Augulis <augulis.darius@gmail.com> Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xda_xcursor-themes: depends on libXcursorDarius Augulis2010-05-012-3/+4
| | | | | | | | While at it convert spaces to TABs Signed-off-by: Darius Augulis <augulis.darius@gmail.com> Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xlib_libXtst: depends on libXiPaulius Zaleckas2010-05-012-2/+8
| | | | | Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix build of matchbox-keyboard and matchbox-wmDarius Augulis2010-05-012-1/+6
| | | | | | | | | | | These packages have buggy configure script. It adds -L/lib flag for linker and thus wrong libraries are linked in. Workaround this issue by setting expat=yes in configure environment. Signed-off-by: Darius Augulis <augulis.darius@gmail.com> Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: 1.16.1 fixes for ash and cpioPeter Korsgaard2010-05-013-5/+90
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>