summaryrefslogtreecommitdiff
path: root/package
AgeCommit message (Collapse)Author
2011-02-02package/config: rebase against 2.6.38-rc3Peter Korsgaard
Fixes nconfig crash on comments within choice groups. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-02package/config: rebase against 2.6.37Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-02package/config: rebase against 2.6.37-rc1Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-02package/config: Rebase against Linux 2.6.36Peter Korsgaard
No significant changes, but makes it easier to rebase against newer versions. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-01ruby: don't build documentation when building for host eitherPeter Korsgaard
We don't use it, so it only slows down the build. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-01package/dhcp: Fix config namePeter Korsgaard
ISC dhcp is no longer the only way of handling DHCP, so use a less generic config text. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-01dhcp: fix install -D invocation in target-installPeter Korsgaard
Closes #3181 When install -D is used (to ensure destination dirs exists), the destination file name has to be given as well. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-31fbset: ensure it builds after busybox if both are enabledGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-31package: add libhidPeter Korsgaard
Based on patch by Johan Sagaert, but with some additional tweaks. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-31libusb-compat: fixup libusb-config script similarly to other *-config scriptsPeter Korsgaard
So programs using this don't end up looking for host includes / libraries. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-31x11vnc: needs libXtPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-30xfont_font-util: remove mapfiles workaroundPeter Korsgaard
Not needed (in fact breaks the build) now pkg-config --variable= does the right thing. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-30pkg-config: rework --with-sysroot patch so it doesn't break target buildPeter Korsgaard
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>
2011-01-30dnsmasq: remove dbus cflags manglingPeter Korsgaard
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>
2011-01-30iproute2: fix build on configs without ipv6 supportPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-30ntp: bump to version 4.2.6p3 and fix glibc build failureGustavo Zacarias
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>
2011-01-30libcuefile: convert to cmaketargets infrastructureGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
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-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-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-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-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-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-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>