summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* libusb-compat: fixup libusb-config script similarly to other *-config scriptsPeter Korsgaard2011-01-311-0/+8
| | | | | | So programs using this don't end up looking for host includes / libraries. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* x11vnc: needs libXtPeter Korsgaard2011-01-312-1/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xfont_font-util: remove mapfiles workaroundPeter Korsgaard2011-01-301-8/+0
| | | | | | | Not needed (in fact breaks the build) now pkg-config --variable= does the right thing. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* documentation: mention we can't use the distro toolchain as externalThomas Petazzoni2011-01-301-0/+9
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Use <code> instead of <pre> to improve formattingThomas Petazzoni2011-01-301-2/+2
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove more or less inexact option concerning custom target skeletonThomas Petazzoni2011-01-301-4/+0
| | | | | | | | | We discourage the addition of custom target skeleton into the official Buildroot tree, so let's not encourage users to do this in the documentation. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Update documentation about external toolchainThomas Petazzoni2011-01-301-22/+39
| | | | | | | | | Reword the documentation on external toolchain to take into account the new features added since 2010.11 concerning external toolchain profiles. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Explain why we don't support ELDK toolchains.Thomas Petazzoni2011-01-301-0/+25
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* pkg-config: rework --with-sysroot patch so it doesn't break target buildPeter Korsgaard2011-01-301-12/+20
| | | | | | | | | | | We don't currently autoreconf pkg-config for the target as we don't need --with-sysroot support, which means PKG_CONFIG_SYSROOT=NULL wasn't passed, breaking the build. Fix it by reworking the patch to only pass this if --with-sysroot is given, and handle the not set case in main.c. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dnsmasq: remove dbus cflags manglingPeter Korsgaard2011-01-301-2/+0
| | | | | | | Get rid of cflags workaround now that we always use sysroot, and pkg-config --cflags dbus-1 thus returns the correct value. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* iproute2: fix build on configs without ipv6 supportPeter Korsgaard2011-01-302-4/+94
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ntp: bump to version 4.2.6p3 and fix glibc build failureGustavo Zacarias2011-01-303-1/+24
| | | | | | | | | Bump to version 4.2.6p3 and fix a build failure with external toolchains that use certain glibc versions as point out by speakman on IRC. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Daniel Nyström <daniel.nystrom@timeterminal.se> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libcuefile: convert to cmaketargets infrastructureGustavo Zacarias2011-01-301-25/+6
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* pkg-config: add --with-sysroot option for compiled in default sysroot settingPeter Korsgaard2011-01-303-2/+74
| | | | | | | | | | | | | Similar to the --with-pc-path option. It works just like the existing PKG_CONFIG_SYSROOT_DIR environment variable, but compiled in. The environment variable overrides this default setting if set. This way we don't need to pass PKG_CONFIG_SYSROOT_DIR in the environment when building for the target, and it is easier to reuse pkg-config outside BR (E.G. for the SDK) without having to setup special environment variables. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* pkg-config: prefix sysroot to path variablesPeter Korsgaard2011-01-291-0/+27
| | | | | | | | Fixes gst-plugins-bad build, if gstreamer is installed on host with xml support, as it uses pkg-config --variable=includedir to find gstconfig.h, and hence ends up looking at the host version. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* pkg-config: bump versionPeter Korsgaard2011-01-292-35/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: bump versionPeter Korsgaard2011-01-291-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* iproute2: ensure it gets built after busybox if both enabledPeter Korsgaard2011-01-281-0/+6
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* CHANGES: update with recent changesPeter Korsgaard2011-01-281-15/+43
| | | | | | Thanks to Thomas for input. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dbus-python: fix build after python upgradePeter Korsgaard2011-01-281-2/+2
| | | | | | Point it at host-python, and ensure it gets built in advance. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libxcb: use correct python variablePeter Korsgaard2011-01-281-1/+1
| | | | | | Directory is /usr/lib/python$(PYTHON_VERSION_MAJOR). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libxcb: use host-python and fix dependenciesPeter Korsgaard2011-01-271-4/+8
| | | | | | | | | Now that we have a proper host-python package, use that one instead of whatever might be available on the build host. Also don't overwrite the host-python package version variable and fix dependency list (xcb-proto is needed for the host). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* host-python: enable expat supportPeter Korsgaard2011-01-271-1/+3
| | | | | | | Some packages (like libxcb) need xml support in host-python in order to build (.py file tries to import xml.etree.cElementTree). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xcb-proto: needs python for the hostPeter Korsgaard2011-01-271-0/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* cdrkit: convert to CMAKETARGETS infrastructureBjørn Forsman2011-01-261-57/+9
| | | | | | Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* doc: add CMAKETARGETS documentationBjørn Forsman2011-01-261-4/+147
| | | | | | Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add CMAKETARGETS infrastructure for CMake packagesBjørn Forsman2011-01-262-0/+198
| | | | | | | | | | | The CMAKETARGETS infrastructure makes adding CMake-based packages to Buildroot easy. It uses the same set of variables as the autotools infrastructure, except for autoreconf and libtool stuff which is not needed. Usage: just call CMAKETARGETS instead of AUTOTARGETS. Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Makefile: generate CMake toolchain-file in $(O)Bjørn Forsman2011-01-262-1/+24
| | | | | | | | | | A CMake toolchain-file makes it easy to develop CMake-based packages outside of Buildroot. Just give the toolchain-file to CMake via the -DCMAKE_TOOLCHAIN_FILE=... option. Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* lzo: build shared library for host and targetPeter Korsgaard2011-01-261-0/+2
| | | | | | Based on patch by Michael J. Hammel. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: disable call to ldconfigThomas Petazzoni2011-01-261-3/+3
| | | | | | | | | | | By default, zlib installation procedure calls ldconfig, which takes time uselessly. ldconfig is only useful if you install libraries on the host (in directories listed in /etc/ld.so.conf, or in /usr/lib or /lib), so calling it after installing libraries in $(STAGING_DIR), $(TARGET_DIR) or $(HOST_DIR) is just a lenghty no-op. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* autoconf: don't append -dirty to version number if built in buildroot git treePeter Korsgaard2011-01-261-0/+30
| | | | | | | | | Autoconf would append -dirty to it's version number, causing build breakage with packages explicitly requesting autoconf 2.65, if built in a subdir of a git tree with uncommitted changes. This is a relatively common situation when developing on BR. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Use 'sysroot' rather than 'sys-root' for the sysroot/staging_dirPeter Korsgaard2011-01-262-1/+36
| | | | | | | | | | As pointed out on the list, using sysroot rather than sys-root is less confusing, as this is how it is referred to in the GCC manual. So rather than changing BR, patch ct-ng to use sysroot instead. The next ct-ng release will use 'sysroot' as well by default. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: handle long term support kernels, bump 2.6.35Peter Korsgaard2011-01-263-1/+10
| | | | | | 2.6.34 was (erroneously) already updated earlier. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: get rid of deprecated 2.6.32 / 2.6.33 versionsPeter Korsgaard2011-01-263-130/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: fix python upgrade falloutPeter Korsgaard2011-01-263-3/+3
| | | | | | | A number of packages depended on the libpython make target for python support, which no longer exist. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sysvinint: bump Debian patchPeter Korsgaard2011-01-261-1/+1
| | | | | | -13 patch no longer available on the Debian mirrors. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* lvm2: use official release location as arranged with upstreamPeter Korsgaard2011-01-261-1/+1
| | | | | | | See http://www.redhat.com/archives/lvm-devel/2011-January/msg00002.html for details. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* lvm2: bump version to 2.02.79 (.78 was pulled by Redhat)Heiko Zuerker2011-01-261-1/+1
| | | | | Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* crosstool-ng: don't remove installation directory before installingPeter Korsgaard2011-01-251-0/+37
| | | | | | | | | crosstool-ng would normally delete its installation directory before installing the toolchain to ensure it wouldn't get confused by an earlier build. Now that we're installing directly into HOST_DIR/usr, this doesn't work very well - So get rid of the rm's. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge branch 'for-2011.02/python-bump' of ↵Peter Korsgaard2011-01-2542-406/+1802
|\ | | | | | | git://git.busybox.net/~tpetazzoni/git/buildroot
| * python-mad: new packageThomas Petazzoni2011-01-253-0/+51
| | | | | | | | | | | | | | | | | | | | | | python-mad is a Python binding for the MAD library, a high-quality integer-only MPEG decoder. This package has been introduced as a test to make sure that third-party Python modules that rely on a C extension can properly be built against the Python infrastructure of Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * python-serial: new packageThomas Petazzoni2011-01-253-0/+30
| | | | | | | | | | | | | | | | | | | | python-serial is a Python library to access serial ports. This package has originally been introduced to test that third-party pure Python modules (that do not use C extensions) build properly against the Buildroot Python infrastructure. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * Remove .py or .pyc depending on Python configurationThomas Petazzoni2011-01-251-0/+6
| | | | | | | | | | | | | | We do this at a global level since several packages can install Python modules. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * python: convert to autotargets, bump to 2.7.1, many improvementsThomas Petazzoni2011-01-2534-510/+1671
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit does a number of changes and improvements to the Python interpreter package : * It converts the .mk file to the AUTOTARGETS infrastructure. Even though Python uses only autoconf and not automake, the AUTOTARGETS is a fairly good fit for the Python interpreter, so we make use of it. * It bumps the version to 2.7.1. As this is a minor release compared to 2.7, there are no particular changes needed because of this bump. All changes done to the package are cleanups and improvements unrelated to the version bump. * It uses the system libffi. Until now, Python was building its own libffi (a library used by interprets to build code that makes function call at runtime). Using the Python internal libffi was not working as Python was not passing the appropriate arguments down to libffi ./configure script. And it sounded better to use a system-wide libffi, that could potentially be used by other packages as well. This libffi is needed for the ctypes Python module. * Remove all "depends on BR2_PACKAGE_PYTHON" by moving all Python-related options under a "if BR2_PACKAGE_PYTHON ... endif" condition. * Make the installation of pre-compiled Python modules (.pyc) the default, since they are smaller and do not need to be compiled on the target. It is still possible to install uncompiled modules, or both the uncompiled and pre-compiled versions. * The options to select the set of Python modules to compile has been moved to a submenu. * The codecscjk (Japanese, Korean and Chinese codecs) module is no longer enabled by default. * The commented options for gdbm and nis in Python have been removed. Those were not supported, so let's get rid of unused code. * The option for the tkinker module in Python has been removed, since we don't have a package for Tk in Buildroot. * Options for the bzip2, sqlite and zlib modules have been added, since those modules have external dependencies. * The set of patches has been completely reworked and extended, with more fine-grained patches and newer functionalities. The patches are split in two categories: - Patches that make various modifications to the Python build system to support cross-compilation or make some minor modifications. Those patches are numbered from 0 to 100. - Patches that add configuration options to the Python build system in order to enable/disable the compilation of Python extensions or modules (test modules, pydoc, lib2to3, sqlite, tk, curses, expat, codecs-cjk, nis, unicodedata, database modules, ssl, bzip2, zlib). These patches are numbered from 100 to 200. All features of the previous four patches are preserved, but they are organized differently and the patches have been renamed. This makes it difficult to see the differences from the existing patches. * The host Python interpreter is now installed in $(HOST_DIR), since it is used to build third party Python modules. * The BR2_PACKAGE_PYTHON_DEV option is removed since BR2_HAVE_DEVFILES already does the necessary work. * The "make -i install" workaround introduced by Maxime Ripard is no longer needed. It was caused by the compilation of the tests that required the unicodedata module (which wasn't built in the host Python interpreter). Since we no longer compile the Python tests, the problem doesn't exist anymore and we can avoid this "-i" option. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * autotools: allow host package to use <pkg>_MAKE_ENV and <pkg>_MAKEThomas Petazzoni2011-01-251-1/+1
| | | | | | | | | | | | This will be needed by the Python interpreter package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * libffi: new packageThomas Petazzoni2011-01-253-0/+43
| | | | | | | | | | | | | | | | | | | | | | libffi is needed by the Python interpreter. The libffi library provides a portable, high level programming interface to various calling conventions. This allows a programmer to call any function specified by a call interface description at run-time. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * python: Fix make install (Workaround python's bug #1669349)Maxime Ripard2011-01-251-1/+9
| | | | | | | | Signed-off-by: Maxime Ripard <ripard@archos.com>
| * python: Add the needed patches to compile python2.7 in buildroot.Maxime Ripard2011-01-252-0/+57
| | | | | | | | Signed-off-by: Maxime Ripard <ripard@archos.com>
| * python: Port the python2.4 patches to 2.7Maxime Ripard2011-01-258-197/+237
| | | | | | | | Signed-off-by: Maxime Ripard <ripard@archos.com>
| * python: Move to version 2.7Maxime Ripard2011-01-251-2/+2
| | | | | | | | | | Signed-off-by: Maxime Ripard <ripard@archos.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>