summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-01-30pkg-config: add --with-sysroot option for compiled in default sysroot settingPeter Korsgaard
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>
2011-01-29pkg-config: prefix sysroot to path variablesPeter Korsgaard
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>
2011-01-29pkg-config: bump versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-29mtd: bump versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-28iproute2: ensure it gets built after busybox if both enabledPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-28CHANGES: update with recent changesPeter Korsgaard
Thanks to Thomas for input. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-28dbus-python: fix build after python upgradePeter Korsgaard
Point it at host-python, and ensure it gets built in advance. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-28libxcb: use correct python variablePeter Korsgaard
Directory is /usr/lib/python$(PYTHON_VERSION_MAJOR). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-27libxcb: use host-python and fix dependenciesPeter Korsgaard
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>
2011-01-27host-python: enable expat supportPeter Korsgaard
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>
2011-01-27xcb-proto: needs python for the hostPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26cdrkit: convert to CMAKETARGETS infrastructureBjørn Forsman
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>
2011-01-26doc: add CMAKETARGETS documentationBjørn Forsman
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>
2011-01-26Add CMAKETARGETS infrastructure for CMake packagesBjørn Forsman
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>
2011-01-26Makefile: generate CMake toolchain-file in $(O)Bjørn Forsman
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>
2011-01-26lzo: build shared library for host and targetPeter Korsgaard
Based on patch by Michael J. Hammel. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26zlib: disable call to ldconfigThomas Petazzoni
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>
2011-01-26autoconf: don't append -dirty to version number if built in buildroot git treePeter Korsgaard
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>
2011-01-26Use 'sysroot' rather than 'sys-root' for the sysroot/staging_dirPeter Korsgaard
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>
2011-01-26kernel-headers: handle long term support kernels, bump 2.6.35Peter Korsgaard
2.6.34 was (erroneously) already updated earlier. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26kernel-headers: get rid of deprecated 2.6.32 / 2.6.33 versionsPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26package: fix python upgrade falloutPeter Korsgaard
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>
2011-01-26sysvinint: bump Debian patchPeter Korsgaard
-13 patch no longer available on the Debian mirrors. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26lvm2: use official release location as arranged with upstreamPeter Korsgaard
See http://www.redhat.com/archives/lvm-devel/2011-January/msg00002.html for details. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26lvm2: bump version to 2.02.79 (.78 was pulled by Redhat)Heiko Zuerker
Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-25crosstool-ng: don't remove installation directory before installingPeter Korsgaard
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>
2011-01-25Merge branch 'for-2011.02/python-bump' of ↵Peter Korsgaard
git://git.busybox.net/~tpetazzoni/git/buildroot
2011-01-25tcpdump, libpcap: simplify and fix ac_cv_linux_versThomas Petazzoni
For some reason, tcpdump and libpcap need to have some information about the kernel version being used. This information is passed using the ac_cv_linux_vers autoconf variable. However, the current value is determined using BR2_DEFAULT_KERNEL_HEADERS which is only defined when an internal Buildroot toolchain is used. So it would break with an external toolchain or the Crosstool-NG backend. According to Mike Frysinger at http://lists.busybox.net/pipermail/buildroot/2011-January/040861.html, this value is only used to determine if the kernel version is 0.x, 1.x or 2.x, so passing ac_cv_linux_vers=2 is sufficient since Buildroot only supports the 2.6 kernel anyway. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-25crosstool-ng: install toolchain into HOST_DIR like the internal toolchainPeter Korsgaard
Simplifies code and helps us when we add SDK support in the future. With this we no longer need to copy headers/libraries to STAGING_DIR either. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-25crosstool-ng: Use same naming convention as internal toolchainsPeter Korsgaard
Use unknown for the vendor part of the tuple, and add $arch-linux- symlinks, similar to how it's done for the internal toolchain, rather than using buildroot_ctng and unknown symlinks. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-25package/Makefile.in: Fix LIBC calculation for internal ct-ng toolchainsPeter Korsgaard
Use uclibc for internal ct-ng toolchains configured with uClibc as well. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-25Use sys-root rather than sysroot for the sysroot/staging_dirPeter Korsgaard
The name of the sysroot directory is arbitrary, but as ct-ng uses sys-root, let's use that as well for consistency. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-25python-mad: new packageThomas Petazzoni
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>
2011-01-25python-serial: new packageThomas Petazzoni
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>
2011-01-25Remove .py or .pyc depending on Python configurationThomas Petazzoni
We do this at a global level since several packages can install Python modules. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2011-01-25python: convert to autotargets, bump to 2.7.1, many improvementsThomas Petazzoni
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>
2011-01-25autotools: allow host package to use <pkg>_MAKE_ENV and <pkg>_MAKEThomas Petazzoni
This will be needed by the Python interpreter package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2011-01-25libffi: new packageThomas Petazzoni
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>
2011-01-25python: Fix make install (Workaround python's bug #1669349)Maxime Ripard
Signed-off-by: Maxime Ripard <ripard@archos.com>
2011-01-25python: Add the needed patches to compile python2.7 in buildroot.Maxime Ripard
Signed-off-by: Maxime Ripard <ripard@archos.com>
2011-01-25python: Port the python2.4 patches to 2.7Maxime Ripard
Signed-off-by: Maxime Ripard <ripard@archos.com>
2011-01-25python: Move to version 2.7Maxime Ripard
Signed-off-by: Maxime Ripard <ripard@archos.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2011-01-24sshfs: adjust make dependencies to match KconfigPeter Korsgaard
Spotted by Thomas, thanks. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-24busybox: 1.18.2 fix for wcPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-24gstreamer: remove unnecessary featureFelipe Contreras
On 0.10.11 the binary-registry was added, on 0.10.12 the libxml2 dependency was dropped when binary-registry was used, on 0.10.18 the binary-registry was made default, and on 0.10.23 it was the only option. So, libxml2 is not needed any more for the registry. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-21mpd: new packageGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-20musepack: new packageGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-20libcuefile: new packageGustavo Zacarias
[Peter: fix build with ccache] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-20cdrkit: fix build with ccachePeter Korsgaard
Cmake gets confused about ccache, so don't use ccache for cmake builds. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-20toolchain/uClibc: bump 0.9.32 version to 0.9.32-rc2Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>