buildroot.git
13 years agocdrkit: convert to CMAKETARGETS infrastructure
Bjørn Forsman [Wed, 26 Jan 2011 21:18:45 +0000 (22:18 +0100)]
cdrkit: convert to CMAKETARGETS infrastructure

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>
13 years agodoc: add CMAKETARGETS documentation
Bjørn Forsman [Wed, 26 Jan 2011 21:18:44 +0000 (22:18 +0100)]
doc: add CMAKETARGETS documentation

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>
13 years agoAdd CMAKETARGETS infrastructure for CMake packages
Bjørn Forsman [Wed, 26 Jan 2011 21:18:43 +0000 (22:18 +0100)]
Add CMAKETARGETS infrastructure for CMake packages

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>
13 years agoMakefile: generate CMake toolchain-file in $(O)
Bjørn Forsman [Wed, 26 Jan 2011 21:18:42 +0000 (22:18 +0100)]
Makefile: generate CMake toolchain-file in $(O)

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>
13 years agolzo: build shared library for host and target
Peter Korsgaard [Wed, 26 Jan 2011 16:51:33 +0000 (17:51 +0100)]
lzo: build shared library for host and target

Based on patch by Michael J. Hammel.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agozlib: disable call to ldconfig
Thomas Petazzoni [Wed, 26 Jan 2011 08:27:03 +0000 (09:27 +0100)]
zlib: disable call to ldconfig

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>
13 years agoautoconf: don't append -dirty to version number if built in buildroot git tree
Peter Korsgaard [Wed, 26 Jan 2011 13:53:35 +0000 (14:53 +0100)]
autoconf: don't append -dirty to version number if built in buildroot git tree

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>
13 years agoUse 'sysroot' rather than 'sys-root' for the sysroot/staging_dir
Peter Korsgaard [Wed, 26 Jan 2011 13:49:00 +0000 (14:49 +0100)]
Use 'sysroot' rather than 'sys-root' for the sysroot/staging_dir

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>
13 years agokernel-headers: handle long term support kernels, bump 2.6.35
Peter Korsgaard [Wed, 26 Jan 2011 11:09:42 +0000 (12:09 +0100)]
kernel-headers: handle long term support kernels, bump 2.6.35

2.6.34 was (erroneously) already updated earlier.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokernel-headers: get rid of deprecated 2.6.32 / 2.6.33 versions
Peter Korsgaard [Wed, 26 Jan 2011 11:07:36 +0000 (12:07 +0100)]
kernel-headers: get rid of deprecated 2.6.32 / 2.6.33 versions

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: fix python upgrade fallout
Peter Korsgaard [Wed, 26 Jan 2011 10:18:50 +0000 (11:18 +0100)]
package: fix python upgrade fallout

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>
13 years agosysvinint: bump Debian patch
Peter Korsgaard [Wed, 26 Jan 2011 10:16:46 +0000 (11:16 +0100)]
sysvinint: bump Debian patch

-13 patch no longer available on the Debian mirrors.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolvm2: use official release location as arranged with upstream
Peter Korsgaard [Wed, 26 Jan 2011 10:08:34 +0000 (11:08 +0100)]
lvm2: use official release location as arranged with upstream

See http://www.redhat.com/archives/lvm-devel/2011-January/msg00002.html
for details.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolvm2: bump version to 2.02.79 (.78 was pulled by Redhat)
Heiko Zuerker [Sat, 25 Dec 2010 16:10:58 +0000 (10:10 -0600)]
lvm2: bump version to 2.02.79 (.78 was pulled by Redhat)

Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocrosstool-ng: don't remove installation directory before installing
Peter Korsgaard [Tue, 25 Jan 2011 21:07:14 +0000 (22:07 +0100)]
crosstool-ng: don't remove installation directory before installing

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>
13 years agoMerge branch 'for-2011.02/python-bump' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Tue, 25 Jan 2011 15:24:46 +0000 (16:24 +0100)]
Merge branch 'for-2011.02/python-bump' of git://git.busybox.net/~tpetazzoni/git/buildroot

13 years agotcpdump, libpcap: simplify and fix ac_cv_linux_vers
Thomas Petazzoni [Tue, 25 Jan 2011 08:46:58 +0000 (09:46 +0100)]
tcpdump, libpcap: simplify and fix ac_cv_linux_vers

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>
13 years agocrosstool-ng: install toolchain into HOST_DIR like the internal toolchain
Peter Korsgaard [Tue, 25 Jan 2011 15:06:43 +0000 (16:06 +0100)]
crosstool-ng: install toolchain into HOST_DIR like the internal toolchain

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>
13 years agocrosstool-ng: Use same naming convention as internal toolchains
Peter Korsgaard [Tue, 25 Jan 2011 15:03:14 +0000 (16:03 +0100)]
crosstool-ng: Use same naming convention as internal toolchains

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>
13 years agopackage/Makefile.in: Fix LIBC calculation for internal ct-ng toolchains
Peter Korsgaard [Tue, 25 Jan 2011 15:01:25 +0000 (16:01 +0100)]
package/Makefile.in: Fix LIBC calculation for internal ct-ng toolchains

Use uclibc for internal ct-ng toolchains configured with uClibc as well.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoUse sys-root rather than sysroot for the sysroot/staging_dir
Peter Korsgaard [Tue, 25 Jan 2011 14:58:04 +0000 (15:58 +0100)]
Use sys-root rather than sysroot for the sysroot/staging_dir

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>
13 years agopython-mad: new package
Thomas Petazzoni [Tue, 11 Jan 2011 20:46:44 +0000 (21:46 +0100)]
python-mad: new package

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>
13 years agopython-serial: new package
Thomas Petazzoni [Tue, 11 Jan 2011 20:45:55 +0000 (21:45 +0100)]
python-serial: new package

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>
13 years agoRemove .py or .pyc depending on Python configuration
Thomas Petazzoni [Tue, 11 Jan 2011 20:44:29 +0000 (21:44 +0100)]
Remove .py or .pyc depending on Python configuration

We do this at a global level since several packages can install
Python modules.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 years agopython: convert to autotargets, bump to 2.7.1, many improvements
Thomas Petazzoni [Sun, 26 Dec 2010 09:28:49 +0000 (10:28 +0100)]
python: convert to autotargets, bump to 2.7.1, many improvements

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>
13 years agoautotools: allow host package to use <pkg>_MAKE_ENV and <pkg>_MAKE
Thomas Petazzoni [Sun, 23 Jan 2011 16:08:53 +0000 (17:08 +0100)]
autotools: allow host package to use <pkg>_MAKE_ENV and <pkg>_MAKE

This will be needed by the Python interpreter package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 years agolibffi: new package
Thomas Petazzoni [Sat, 8 Jan 2011 14:15:24 +0000 (15:15 +0100)]
libffi: new package

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>
13 years agopython: Fix make install (Workaround python's bug #1669349)
Maxime Ripard [Tue, 14 Dec 2010 22:02:22 +0000 (23:02 +0100)]
python: Fix make install (Workaround python's bug #1669349)

Signed-off-by: Maxime Ripard <ripard@archos.com>
13 years agopython: Add the needed patches to compile python2.7 in buildroot.
Maxime Ripard [Fri, 10 Dec 2010 22:13:36 +0000 (23:13 +0100)]
python: Add the needed patches to compile python2.7 in buildroot.

Signed-off-by: Maxime Ripard <ripard@archos.com>
13 years agopython: Port the python2.4 patches to 2.7
Maxime Ripard [Fri, 10 Dec 2010 22:05:39 +0000 (23:05 +0100)]
python: Port the python2.4 patches to 2.7

Signed-off-by: Maxime Ripard <ripard@archos.com>
13 years agopython: Move to version 2.7
Maxime Ripard [Tue, 12 Oct 2010 08:26:53 +0000 (10:26 +0200)]
python: Move to version 2.7

Signed-off-by: Maxime Ripard <ripard@archos.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 years agosshfs: adjust make dependencies to match Kconfig
Peter Korsgaard [Mon, 24 Jan 2011 20:11:36 +0000 (21:11 +0100)]
sshfs: adjust make dependencies to match Kconfig

Spotted by Thomas, thanks.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: 1.18.2 fix for wc
Peter Korsgaard [Mon, 24 Jan 2011 16:04:28 +0000 (17:04 +0100)]
busybox: 1.18.2 fix for wc

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogstreamer: remove unnecessary feature
Felipe Contreras [Sun, 23 Jan 2011 22:41:30 +0000 (00:41 +0200)]
gstreamer: remove unnecessary feature

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>
13 years agompd: new package
Gustavo Zacarias [Thu, 20 Jan 2011 20:49:42 +0000 (17:49 -0300)]
mpd: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomusepack: new package
Gustavo Zacarias [Tue, 18 Jan 2011 16:54:38 +0000 (13:54 -0300)]
musepack: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibcuefile: new package
Gustavo Zacarias [Tue, 18 Jan 2011 16:54:36 +0000 (13:54 -0300)]
libcuefile: new package

[Peter: fix build with ccache]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocdrkit: fix build with ccache
Peter Korsgaard [Thu, 20 Jan 2011 20:23:23 +0000 (21:23 +0100)]
cdrkit: fix build with ccache

Cmake gets confused about ccache, so don't use ccache for cmake builds.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain/uClibc: bump 0.9.32 version to 0.9.32-rc2
Peter Korsgaard [Thu, 20 Jan 2011 20:22:53 +0000 (21:22 +0100)]
toolchain/uClibc: bump 0.9.32 version to 0.9.32-rc2

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoCHANGES: update with recent changes
Peter Korsgaard [Thu, 20 Jan 2011 14:26:28 +0000 (15:26 +0100)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibreplaygain: new package
Gustavo Zacarias [Tue, 18 Jan 2011 16:54:37 +0000 (13:54 -0300)]
libreplaygain: new package

[Peter: add comment about why we need autoreconf]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agowavpack: new package
Gustavo Zacarias [Thu, 20 Jan 2011 13:32:36 +0000 (10:32 -0300)]
wavpack: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agofaad2: new package
Gustavo Zacarias [Tue, 18 Jan 2011 16:54:39 +0000 (13:54 -0300)]
faad2: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibsamplerate: new package
Gustavo Zacarias [Tue, 18 Jan 2011 16:54:35 +0000 (13:54 -0300)]
libsamplerate: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibmad: install pkgconfig file
Gustavo Zacarias [Tue, 18 Jan 2011 16:54:33 +0000 (13:54 -0300)]
libmad: install pkgconfig file

Make libmad install mad.pc into staging and target.

Needed for mpd.

[Peter: remove -lm from mad.pc]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibsndfile: bump to version 1.0.23
Gustavo Zacarias [Tue, 18 Jan 2011 16:54:32 +0000 (13:54 -0300)]
libsndfile: bump to version 1.0.23

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agompg123: install to staging
Gustavo Zacarias [Tue, 18 Jan 2011 16:54:31 +0000 (13:54 -0300)]
mpg123: install to staging

mpg123 also provides a shared library (libmpg123.so), so install into
staging so other programs can find it.

[Peter: reworded commit message]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotcpdump: add patch for nommu systems
Mike Frysinger [Mon, 10 Jan 2011 14:28:45 +0000 (09:28 -0500)]
tcpdump: add patch for nommu systems

[Peter: slightly tweak patch]
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoportmap: fix clean target to actually clean
Mike Frysinger [Mon, 10 Jan 2011 14:28:44 +0000 (09:28 -0500)]
portmap: fix clean target to actually clean

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoportmap: respect target CFLAGS
Mike Frysinger [Mon, 10 Jan 2011 14:28:43 +0000 (09:28 -0500)]
portmap: respect target CFLAGS

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoportmap: add nommu support
Mike Frysinger [Tue, 11 Jan 2011 18:00:17 +0000 (13:00 -0500)]
portmap: add nommu support

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: only fetch gcc/gmp/mpfr/mpc when using a buildroot toolchain
Gustavo Zacarias [Mon, 17 Jan 2011 12:13:42 +0000 (09:13 -0300)]
toolchain: only fetch gcc/gmp/mpfr/mpc when using a buildroot toolchain

Closes #3103

gcc/gmp/mpfr/mpc are only needed when using an internal buildroot toolchain,
so only add them to HOST_SOURCE then.

Otherwise we get some nasty fetch error when doing "make source"

[Peter: add gmpc/mpfr/mpc and reword commit text]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: add 1.18.2 fixes
Peter Korsgaard [Wed, 19 Jan 2011 08:08:45 +0000 (09:08 +0100)]
busybox: add 1.18.2 fixes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: fix busybox-menuconfig after 69df644f5
Kim Jae-hui [Tue, 18 Jan 2011 08:20:38 +0000 (09:20 +0100)]
busybox: fix busybox-menuconfig after 69df644f5

Closes #3109

Pass the correct -C <dir> option to make menuconfig.

Signed-off-by: Kim Jae-hui <twinkle.j4k@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoopenvpn: bump to version 2.1.4
Gustavo Zacarias [Fri, 14 Jan 2011 14:28:26 +0000 (11:28 -0300)]
openvpn: bump to version 2.1.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoopenssl: add ocf support
Gustavo Zacarias [Fri, 14 Jan 2011 13:43:24 +0000 (10:43 -0300)]
openssl: add ocf support

Enable OCF (cryptodev) support for openssl as an option.

This requires a patched kernel to export hardware acceleration for
openssl to use it.
If you lack a patched kernel or support it won't break anything, it will
simply fall back to the default software engine from openssl, you'll
just have a slightly bigger libssl/libcrypto.

Tested with 20100325 release + 20101223 patch from the mailing list.

[Peter: slightly tweaked .mk]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocoreutils: bump to version 8.9
Gustavo Zacarias [Fri, 14 Jan 2011 11:53:45 +0000 (08:53 -0300)]
coreutils: bump to version 8.9

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogperf: bump to version 3.0.4
Gustavo Zacarias [Wed, 12 Jan 2011 18:21:05 +0000 (15:21 -0300)]
gperf: bump to version 3.0.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosmartmontools: bump to version 5.40
Gustavo Zacarias [Tue, 11 Jan 2011 18:32:31 +0000 (15:32 -0300)]
smartmontools: bump to version 5.40

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosysstat: bump to version 9.1.7
Gustavo Zacarias [Tue, 11 Jan 2011 18:10:38 +0000 (15:10 -0300)]
sysstat: bump to version 9.1.7

Includes some new metrics for sar (amount of active and inactive memory,
processes blocked waiting for I/O to complete).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobash: build after busybox
Gustavo Zacarias [Tue, 11 Jan 2011 17:38:24 +0000 (14:38 -0300)]
bash: build after busybox

Make sure bash builds after busybox when it's enabled to override
busybox's /bin/sh symlink with bash.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agowipe: convert to gentargets and bump to version 0.22
Gustavo Zacarias [Tue, 11 Jan 2011 17:26:26 +0000 (14:26 -0300)]
wipe: convert to gentargets and bump to version 0.22

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agompg123: bump to version 1.13.1
Gustavo Zacarias [Fri, 7 Jan 2011 19:38:24 +0000 (16:38 -0300)]
mpg123: bump to version 1.13.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agophp: security bump to 5.2.17
Gustavo Zacarias [Fri, 7 Jan 2011 18:59:04 +0000 (15:59 -0300)]
php: security bump to 5.2.17

PHP bug #53632 and CVE-2010-4645, where conversions from string to
double might cause the PHP interpreter to hang on systems using x87 FPU
registers.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agontfs-3g: bump to version 2010.10.2
Gustavo Zacarias [Fri, 7 Jan 2011 18:20:40 +0000 (15:20 -0300)]
ntfs-3g: bump to version 2010.10.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosshfs: select openssh instead of depending
Gustavo Zacarias [Fri, 7 Jan 2011 18:19:03 +0000 (15:19 -0300)]
sshfs: select openssh instead of depending

Select openssh in Config.in rather than depend on it.
Otherwise the option is missing without an obvious reason.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibfuse: bump to version 2.8.5
Gustavo Zacarias [Fri, 7 Jan 2011 18:18:26 +0000 (15:18 -0300)]
libfuse: bump to version 2.8.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopsmisc: bump to version 22.13
Gustavo Zacarias [Fri, 7 Jan 2011 18:05:27 +0000 (15:05 -0300)]
psmisc: bump to version 22.13

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agohdparm: bump to version 9.36
Gustavo Zacarias [Fri, 7 Jan 2011 17:43:40 +0000 (14:43 -0300)]
hdparm: bump to version 9.36

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolm-sensors: bump to version 3.2.0
Gustavo Zacarias [Fri, 7 Jan 2011 17:43:02 +0000 (14:43 -0300)]
lm-sensors: bump to version 3.2.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoi2c-tools: bump to version 3.0.3
Gustavo Zacarias [Fri, 7 Jan 2011 17:42:48 +0000 (14:42 -0300)]
i2c-tools: bump to version 3.0.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodosfstools: bump to version 3.0.11
Gustavo Zacarias [Fri, 7 Jan 2011 17:38:31 +0000 (14:38 -0300)]
dosfstools: bump to version 3.0.11

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: bump 1.18.x version
Peter Korsgaard [Sun, 16 Jan 2011 19:12:38 +0000 (20:12 +0100)]
busybox: bump 1.18.x version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain-common.in: Fix USE_MMU typo
Peter Korsgaard [Sat, 15 Jan 2011 20:21:16 +0000 (21:21 +0100)]
toolchain-common.in: Fix USE_MMU typo

Thanks to Marc Gauthier for noticing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: Add libsigc++ package
H Hartley Sweeten [Tue, 30 Nov 2010 01:22:20 +0000 (18:22 -0700)]
package: Add libsigc++ package

Add support for the libsigc++ library.

[Peter: Rename dir, use libtool patch, add C++ dep]
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: add a USE_MMU build option
Mike Frysinger [Mon, 10 Jan 2011 14:28:41 +0000 (09:28 -0500)]
toolchain: add a USE_MMU build option

Some packages need to know whether the MMU is in play, so add a toolchain
option to expose the feature to them.

[Peter: only show option on archs where it makes sense]
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodocs: remove outdated files
Peter Korsgaard [Sat, 15 Jan 2011 12:01:25 +0000 (13:01 +0100)]
docs: remove outdated files

Misleading/outdated docs is worse than no documentation.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokexec: bump to version 2.0.2 + change URL to match kernel.org
Andy Kennedy [Fri, 14 Jan 2011 21:53:03 +0000 (15:53 -0600)]
kexec: bump to version 2.0.2 + change URL to match 

Closes #3007

Changed the KEXEC_SITE to the new home of kexec. This patch also satisfies
bug #3007 created by me last month. Thanks to Gustavo for pointing out that
the easy fix was to bump kexec to 2.0.2.

Signed-of-by: Andy Kennedy <Andy.Kennedy@AdTran.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomakedevs: Add support for 16-bit major/minor numbers
Matt Fleming [Fri, 24 Sep 2010 13:43:17 +0000 (14:43 +0100)]
makedevs: Add support for 16-bit major/minor numbers

Closes #2647

[Peter: Adjust for the real 12bit majors/20bit minors supported by Linux]
Signed-off-by: Matt Fleming <matthew.fleming@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoCHANGES: update with recent changes
Peter Korsgaard [Fri, 14 Jan 2011 21:02:47 +0000 (22:02 +0100)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoirda-utils: new package for IrDA devices
Mike Frysinger [Wed, 8 Dec 2010 05:07:16 +0000 (00:07 -0500)]
irda-utils: new package for IrDA devices

[Peter: Small tweaks, add patch descriptions]
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agofs/jffs2: remove BR2_JFFS2_TARGET_SREC option
Peter Korsgaard [Fri, 14 Jan 2011 10:16:09 +0000 (11:16 +0100)]
fs/jffs2: remove BR2_JFFS2_TARGET_SREC option

This kind of custom image conversion is better handled outside BR.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agofs/ext2: remove redundant BR2_TARGET_ROOTFS_EXT2_SQUASH option
Peter Korsgaard [Fri, 14 Jan 2011 10:14:05 +0000 (11:14 +0100)]
fs/ext2: remove redundant BR2_TARGET_ROOTFS_EXT2_SQUASH option

The generic fs handling does a chmod -R 0:0 $(TARGET_DIR), so there's no
need for a specific option to enforce this when making an ext2fs image.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agofs/tar: enable by default
Peter Korsgaard [Fri, 14 Jan 2011 10:03:49 +0000 (11:03 +0100)]
fs/tar: enable by default

This way we'll get something in images/ by default, and hopefully people
will be less likely to try to use target/ directly.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agofs/ext2: don't enable by default
Peter Korsgaard [Fri, 14 Jan 2011 09:03:13 +0000 (10:03 +0100)]
fs/ext2: don't enable by default

It's pretty uncommon to use ext2fs on embedded systems, so don't enable
it by default.

Adjust defconfigs to match.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouClibc: 0.9.32-rc1 netlinkaccess fix
Peter Korsgaard [Fri, 14 Jan 2011 08:59:06 +0000 (09:59 +0100)]
uClibc: 0.9.32-rc1 netlinkaccess fix

From uClibc git, fixes build issue on powerpc.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocoreutils: add uname patch
Martin Banky [Thu, 30 Sep 2010 19:03:36 +0000 (12:03 -0700)]
coreutils: add uname patch

On linux platforms, grok /proc/cpuinfo for the CPU/vendor info.

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocoreutils: changed/removed some of the configure environmental variables
Martin Banky [Thu, 30 Sep 2010 19:03:35 +0000 (12:03 -0700)]
coreutils: changed/removed some of the configure environmental variables

gl_ac_cv_func_link_follows_symlink=no - changed to gl_cv_func_link_follows_symlink
gl_cv_func_mkdir_trailing_slash_bug=no - no longer used
gl_cv_func_rename_dest_exists_bug=no - no longer used
gl_cv_func_rename_trailing_slash_bug=no - no longer used

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocoreutils: bump to 8.5
Martin Banky [Thu, 30 Sep 2010 19:03:34 +0000 (12:03 -0700)]
coreutils: bump to 8.5

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocoreutils: fixed missing hostname
Martin Banky [Thu, 30 Sep 2010 19:03:33 +0000 (12:03 -0700)]
coreutils: fixed missing hostname

hostname is no longer installed by default (ChangeLog-2007 - 2007-08-28), and
has to be enabled with --enable-install-program=hostname. hostname's man file is
not included, and because of this, during make, help2man is run against
src/hostname to generate it's man file. src/hostname will not run on the host
system, causing the build to fail.

Generated the hostname man file, after building coreutils on the host
system, and generated this patch, which fixes the build error.

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocoreutils: changed/removed some of the configure environmental variables
Martin Banky [Thu, 30 Sep 2010 19:03:32 +0000 (12:03 -0700)]
coreutils: changed/removed some of the configure environmental variables

ac_cv_func_closedir_void=no - no longer used
ac_cv_func_fnmatch_gnu=yes - no longer used
ac_cv_func_getcwd_null=yes - duplicate of gl_cv_func_getcwd_null
ac_cv_func_mkstemp=yes - changed to gl_cv_func_working_mkstemp
ac_cv_func_stat_empty_string_bug=no - no longer used
ac_cv_func_utime_null=yes - no longer used
ac_cv_have_decl_euidaccess=no - no longer used
ac_cv_have_decl_nanosleep=yes - no longer used
ac_cv_struct_st_mtim_nsec=no - no longer used
am_cv_func_working_getline=yes - duplicate
am_getline_needs_run_time_check=no - changed to gl_getline_needs_run_time_check
gl_cv_c_restrict=no - changed to ac_cv_c_restrict
gl_cv_func_mkstemp_limitations=no - no longer used
gl_cv_func_working_readdir=yes - no longer used
jm_ac_cv_func_link_follows_symlink=no - changed to gl_ac_cv_func_link_follows_symlink
jm_cv_func_gettimeofday_clobber=no - changed to gl_cv_func_gettimeofday_clobber
jm_cv_func_nanosleep_works=yes - no longer used
jm_cv_func_svid_putenv=yes - changed to gl_cv_func_svid_putenv
jm_cv_func_working_re_compile_pattern=yes - changed to gl_cv_func_re_compile_pattern_working
utils_cv_func_mkdir_trailing_slash_bug=no - duplicate of gl_cv_func_mkdir_trailing_slash_bug
utils_cv_func_mkstemp_limitations=no - duplicate of gl_cv_func_mkstemp_limitations

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocoreutils: convert to autotarget
Martin Banky [Thu, 30 Sep 2010 19:03:31 +0000 (12:03 -0700)]
coreutils: convert to autotarget

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoUpdate copyright info for 2011
Peter Korsgaard [Wed, 12 Jan 2011 23:18:02 +0000 (00:18 +0100)]
Update copyright info for 2011

Happy newyear!

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoubifs: Add UBI image generation support.
Julien Boibessot [Tue, 21 Dec 2010 17:38:07 +0000 (18:38 +0100)]
ubifs: Add UBI image generation support.

UBI images are generated from UBIFS one (with ubinize tool) and are used by
bootloaders (eg U-Boot) to write UBIFS images directly on bare NAND FLASH
(see http://www.linux-mtd.infradead.org/faq/ubi.html).

[Peter: tweak help text]
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Nicolas Colombain <nicolas.colombain@armadeus.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotarget skeleton: add audio group
Gustavo Zacarias [Tue, 11 Jan 2011 13:49:56 +0000 (10:49 -0300)]
target skeleton: add audio group

Add audio group to the target skeleton.
Some multimedia applications based on alsa-lib need it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agovorbis-tools: new package
Gustavo Zacarias [Thu, 6 Jan 2011 18:42:01 +0000 (15:42 -0300)]
vorbis-tools: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibao: new package
Gustavo Zacarias [Tue, 11 Jan 2011 13:45:30 +0000 (10:45 -0300)]
libao: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: let buildroot handle stripping
Mike Frysinger [Mon, 10 Jan 2011 14:28:40 +0000 (09:28 -0500)]
busybox: let buildroot handle stripping

For some ABI's (like FLAT), we cannot strip busybox as the file format
does not support it and strip will abort with errors like 'File format
not recognized'.  Since the toplevel already takes care of stripping
things, simply disable the busybox step.

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: unify duplicated build steps
Mike Frysinger [Mon, 10 Jan 2011 14:28:39 +0000 (09:28 -0500)]
busybox: unify duplicated build steps

This does set a few more vars in some steps that weren't set before, but
they should be harmless in the contexts in question.  And the resulting
save in duplication is nice.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiptables: remove redundant --disable-ipv6
Peter Korsgaard [Tue, 11 Jan 2011 06:56:22 +0000 (07:56 +0100)]
iptables: remove redundant --disable-ipv6

Is automatically handled by the autotargets infrastructure.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>