buildroot.git
13 years agoRevert "gst-plugins-base: disable parallel build"
Peter Korsgaard [Mon, 3 Oct 2011 20:38:47 +0000 (22:38 +0200)]
Revert "gst-plugins-base: disable parallel build"

This reverts commit 54b60ba6aa0ff1b6c851e704bc36945ca052b2b3.

As requested by Sven. Not needed as we now have fixed the testchannels
issue.

13 years agobinutils: build host version statically
Peter Korsgaard [Sun, 2 Oct 2011 21:19:10 +0000 (23:19 +0200)]
binutils: build host version statically

Otherwise we end up with libbfd/libopcodes in host/usr/$BUILD/$TARGET/lib,
used by the binaries. Unfortunately it also adds rpaths, which first look
in the build directory before here, causing trouble if the toolchain is
used outside BR (E.G. for a SDK) and the build directory location reused
for another incompatible build (E.G. another ARCH), as the binutils
binaries then end up using the wrong libs.

Fix it by linking statically instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-base: fix build by disabling testchannels example
Peter Korsgaard [Sun, 2 Oct 2011 19:13:57 +0000 (21:13 +0200)]
gst-plugins-base: fix build by disabling testchannels example

Testchannels doesn't build because it forgets to link with libgstinterfaces.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agompd: fixup sample config
Gustavo Zacarias [Fri, 30 Sep 2011 19:47:31 +0000 (16:47 -0300)]
mpd: fixup sample config

Fix sample mpd.conf so that the playlists directory lives inside the
main mpd data directory.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosmartmontools: bump to version 5.41
Gustavo Zacarias [Fri, 30 Sep 2011 19:47:32 +0000 (16:47 -0300)]
smartmontools: bump to version 5.41

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.4
Gustavo Zacarias [Fri, 30 Sep 2011 19:47:29 +0000 (16:47 -0300)]
mpg123: bump to version 1.13.4

Bump mpg123 to version 1.13.4, fixes for very long files (endless
streams).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: fix bootloader building
Thomas Petazzoni [Fri, 30 Sep 2011 18:45:56 +0000 (20:45 +0200)]
package: fix bootloader building

The changes in e055aea216cff4d12cf55eab2e35ca1459edaa91 and
0849e8193ef429f29945b8c2a54eafc8635e0969 have broken the bootloader
support.

This is because the 'pkgparentdir' macro returns the string 'boot/'
for bootloaders, while the GENTARGETS_INNER macro was testing this
against 'boot' to know if the configuration option to check for this
package is BR2_PACKAGE_* or BR2_TARGET_*.

So, instead of testing against 'boot', we test against 'boot/'.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-bad: add more config options
Sven Neumann [Fri, 30 Sep 2011 14:48:34 +0000 (16:48 +0200)]
gst-plugins-bad: add more config options

The recent update added some new plugins. This commit makes
them selectable in buildroot.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-base: disable parallel build
Sven Neumann [Fri, 30 Sep 2011 14:48:33 +0000 (16:48 +0200)]
gst-plugins-base: disable parallel build

Parallel builds sometimes break when audio/testchannels is
compiled before the gstinterfaces library.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agompd: ffmpeg needs ipv6, so add proper dependencies
Peter Korsgaard [Fri, 30 Sep 2011 08:15:27 +0000 (10:15 +0200)]
mpd: ffmpeg needs ipv6, so add proper dependencies

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agognutls: bump to version 2.10.5
Sven Neumann [Thu, 29 Sep 2011 10:42:33 +0000 (12:42 +0200)]
gnutls: bump to version 2.10.5

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: normalize output of 'make external-deps'
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:51 +0000 (21:57 +0200)]
package: normalize output of 'make external-deps'

For wget-downloaded packages, only the tarball name was displayed,
while for svn/git/bzr packages, the complete repository URL was
shown. As discussed on the list, what we want for 'make external-deps'
is only the tarball name even for git/svn/bzr downloads.

For local packages, we of course keep the full path since it's the
only information that we can provide.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomcookie: fix Config.in indentation
Peter Korsgaard [Thu, 29 Sep 2011 21:34:02 +0000 (23:34 +0200)]
mcookie: fix Config.in indentation

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomcookie: convert to the GENTARGETS infrastructure
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:50 +0000 (21:57 +0200)]
mcookie: convert to the GENTARGETS infrastructure

[Peter: fix missing newline at eof]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agowhetstone: use the <pkg>_EXTRACT_CMDS mechanism
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:49 +0000 (21:57 +0200)]
whetstone: use the <pkg>_EXTRACT_CMDS mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodhrystone: use the <pkg>_EXTRACT_CMDS mechanism
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:48 +0000 (21:57 +0200)]
dhrystone: use the <pkg>_EXTRACT_CMDS mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoMakefile.package.in: SVN/BZR/GIT: don't append $(QUIET)
Peter Korsgaard [Thu, 29 Sep 2011 21:26:09 +0000 (23:26 +0200)]
Makefile.package.in: SVN/BZR/GIT: don't append $(QUIET)

svn/bzr/git commands don't accept the -q option for quiet operation.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoAdd support for local packages through 'file://' pseudo-protocol
David Wagner [Thu, 29 Sep 2011 19:57:46 +0000 (21:57 +0200)]
Add support for local packages through 'file://' pseudo-protocol

This can be used this way :

<pkg>_VERSION = 42
<pkg>_SITE = file:///some/local/directory
<pkg>_SOURCE = mypkg-$(<pkg>_VERSION).tar.bz2

Can be useful to integrate a home-made project or for testing purposes.
The default command to retrieve files is 'cp' but 'rsync' could also be used.
Through sshfs, it should also be possible to get non-public remote files on a
ssh server.

[ Thomas Petazzoni: use $(PKG)_SITE and $(PKG)_SOURCE variables
  instead of $(1) and $(2) ]
[ Peter: don't append $(QUIET), cp doesn't handle -q]
Signed-off-by: David Wagner <david.wagner@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: remove useless arguments from CMAKETARGETS
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:44 +0000 (21:57 +0200)]
package: remove useless arguments from CMAKETARGETS

Thanks to the pkgparentdir and pkgname functions, we can rewrite the
GENTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: remove useless arguments from AUTOTARGETS
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:43 +0000 (21:57 +0200)]
package: remove useless arguments from AUTOTARGETS

Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: remove useless arguments from GENTARGETS
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:42 +0000 (21:57 +0200)]
package: remove useless arguments from GENTARGETS

Thanks to the pkgparentdir and pkgname functions, we can rewrite the
GENTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add helper functions to get package name and directory magically
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:41 +0000 (21:57 +0200)]
package: add helper functions to get package name and directory magically

This commit adds the functions "pkgname" and "pkgdir", which can then
be used to automatically find the name of the package and the
directory of the package which does the call to
GENTARGETS/AUTOTARGETS/CMAKETARGETS. These functions use the
$(MAKEFILE_LIST) variable, which make automatically makes available,
and which contains the list of included Makefiles, with the current
Makefile being last. Thanks to this variable and a little bit of
string manipulation, we can easily find out automatically the package
name and the directory it is part of.

These functions are used in later commits to simplify the GENTARGETS,
AUTOTARGETS and CMAKETARGETS calls.

[Peter: Rename to pkgmakefile->pkgdir, pkgdir->pkgparentdir as that's what it is]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: implement a 'local' site method
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:40 +0000 (21:57 +0200)]
package: implement a 'local' site method

The new override source directory mechanism allows to tell Buildroot
to use a particular directory as the source directory for a
package. However, this mechanism works with a local override makefile
and not directly within the package recipe itself.

For some use cases, it might be desirable to write a package recipe
which always refers to a local source directory (and not a http, git,
svn or bazaar download). This commit makes this possible by adding the
'local' site method. It allows to write package recipes as follows:

MYPKG_SITE = /tmp/mypkg-source-code
MYPKG_SITE_METHOD = local

[...]

$(eval $(call GENTARGETS,package,mypkg))

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add <pkg>-rebuild and <pkg>-reconfigure
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:39 +0000 (21:57 +0200)]
package: add <pkg>-rebuild and <pkg>-reconfigure

We are often asked "how can I restart the build of a package ?" or
"how can I restart the build of package from the configure part
?". Obviously, tweaking with stamp files is possible, but not very
user friendly.

Therefore this patch adds two new per-package targets: <pkg>-rebuild
and <pkg>-reconfigure. They will remove the right stamp files and
restart the complete build process (by using the 'all' target, so that
not only the package is reconfigured, recompiled and reinstalled, but
the root filesystem images are also regenerated).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add configuration option to specify a local override file
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:38 +0000 (21:57 +0200)]
package: add configuration option to specify a local override file

The user can now create a custom local override file to override the
source directory for various packages.

An example override file:

 ZLIB_OVERRIDE_SRCDIR = /tmp/zlib
 STRACE_OVERRIDE_SRCDIR = /opt/strace-4.5.20

would tell Buildroot to use the zlib and strace source code from the
specified directories, instead of download, extracting and patching
the code has done usually by Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: enhance infrastructure to support source dir override
Thomas Petazzoni [Thu, 29 Sep 2011 19:57:37 +0000 (21:57 +0200)]
package: enhance infrastructure to support source dir override

When a variable <pkg>_OVERRIDE_SRCDIR is defined, then Buildroot will
no longer try to download, extract and patch the package. It will
simply use the value of this variable as the source directory for the
package. The contents of the package sources will be rsynced to the
package build directory in $(O)/build/pkg-version/.

This can be used to tell Buildroot that the sources for a given
package are inside some directory that you control, and which can be
versioned in Git/SVN, or handled in whichever way you want.

Those <pkg>_OVERRIDE_SRCDIR variables will be defined by a local
makefile included by Buildroot, which will be handled in a later
commit.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-bad: audioparsers plugin is moved to -good
Peter Korsgaard [Thu, 29 Sep 2011 19:38:56 +0000 (21:38 +0200)]
gst-plugins-bad: audioparsers plugin is moved to -good

Thanks to Sven for noticing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-bad: bump version
Peter Korsgaard [Thu, 29 Sep 2011 19:02:14 +0000 (21:02 +0200)]
gst-plugins-bad: bump version

And sort options alphabetically.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-ugly: bump version
Peter Korsgaard [Thu, 29 Sep 2011 14:56:52 +0000 (16:56 +0200)]
gst-plugins-ugly: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-good: bump version
Peter Korsgaard [Thu, 29 Sep 2011 14:55:08 +0000 (16:55 +0200)]
gst-plugins-good: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-base: bump version
Peter Korsgaard [Thu, 29 Sep 2011 14:42:55 +0000 (16:42 +0200)]
gst-plugins-base: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogstreamer: bump version
Peter Korsgaard [Thu, 29 Sep 2011 14:40:50 +0000 (16:40 +0200)]
gstreamer: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-good: sort plug-ins alphabetically
Sven Neumann [Tue, 27 Sep 2011 12:27:07 +0000 (14:27 +0200)]
gst-plugins-good: sort plug-ins alphabetically

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoqemu/x86: enable alsa/hda support in kernel
Peter Korsgaard [Thu, 29 Sep 2011 12:46:39 +0000 (14:46 +0200)]
qemu/x86: enable alsa/hda support in kernel

For easy sound testing using qemu-system-i386 -soundhw hda

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoqemu_x86_defconfig: use 3.0.4 linux kernel
Peter Korsgaard [Thu, 29 Sep 2011 12:31:32 +0000 (14:31 +0200)]
qemu_x86_defconfig: use 3.0.4 linux kernel

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibtool: install into staging
Peter Korsgaard [Thu, 29 Sep 2011 08:40:58 +0000 (10:40 +0200)]
libtool: install into staging

libtool provides libltdl, so install it into staging to make it usable
by other packages.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add fftw library
Peter Korsgaard [Wed, 28 Sep 2011 21:32:32 +0000 (23:32 +0200)]
package: add fftw library

fftw is a library for fast fourier transforms.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add json-c library
Peter Korsgaard [Wed, 28 Sep 2011 20:18:29 +0000 (22:18 +0200)]
package: add json-c library

json-c is a JSON library written in C.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibroxml: bump version
Peter Korsgaard [Tue, 27 Sep 2011 21:32:28 +0000 (23:32 +0200)]
libroxml: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoncurses: fix host build breakage
Gustavo Zacarias [Fri, 2 Sep 2011 14:04:48 +0000 (11:04 -0300)]
ncurses: fix host build breakage

Disable GPM support for host ncurses build since it sometimes breaks the
build.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agofs/initramfs: refactor with fs/cpio
Arnout Vandecappelle (Essensium/Mind) [Tue, 6 Sep 2011 21:16:09 +0000 (23:16 +0200)]
fs/initramfs: refactor with fs/cpio

An initramfs is in fact the same as a cpio archive, but embedded in
the kernel.  So instead of duplicating the cpio infrastructure,
we can simply build images/rootfs.cpio and link that into the
kernel.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocpio: fix boot with dynamic /dev
Arnout Vandecappelle (Essensium/Mind) [Tue, 6 Sep 2011 21:16:08 +0000 (23:16 +0200)]
cpio: fix boot with dynamic /dev

Devtmpfs doesn't get automounted by the kernel when an initramfs is used.
Since cpio archives are used almost exclusively as an initramfs, the same
fix should be applied to it as for the initramfs.

Cfr. commit 424888e47431db738f5f9b3c6392435bfce7a842 and
10a130f91e5b947e2d2558443ff09b1686eac273.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agorsync: bump to 3.0.9
Yegor Yefremov [Tue, 27 Sep 2011 10:17:43 +0000 (12:17 +0200)]
rsync: bump to 3.0.9

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibglib2: bump to 2.28.8
Sven Neumann [Tue, 27 Sep 2011 09:48:05 +0000 (11:48 +0200)]
libglib2: bump to 2.28.8

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogstreamer: add option to disable gst_debug tracing functionality
Peter Korsgaard [Tue, 27 Sep 2011 09:52:50 +0000 (11:52 +0200)]
gstreamer: add option to disable gst_debug tracing functionality

Shrinks gst library sizes with ~1MB (depending on the amount of plugins
enabled).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoCHANGES: update with recent changes
Peter Korsgaard [Mon, 26 Sep 2011 21:20:53 +0000 (23:20 +0200)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoNew package: bluez-utils
Yegor Yefremov [Tue, 30 Aug 2011 13:36:11 +0000 (15:36 +0200)]
New package: bluez-utils

Bluetooth utils often used in embedded system, add it to package.

[Peter: fix dbus dependency]
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocifs-utils: bump version
Peter Korsgaard [Mon, 26 Sep 2011 20:37:46 +0000 (22:37 +0200)]
cifs-utils: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocifs-utils: new package
Thomas Petazzoni [Mon, 19 Sep 2011 21:42:57 +0000 (23:42 +0200)]
cifs-utils: new package

[Peter: fix Config.in]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agovalgrind: workaround for segmentation fault on PowerPC
Baruch Siach [Mon, 26 Sep 2011 11:47:07 +0000 (14:47 +0300)]
valgrind: workaround for segmentation fault on PowerPC

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agovalgrind: fix build on Linux kernel 3.x
Baruch Siach [Mon, 26 Sep 2011 11:47:06 +0000 (14:47 +0300)]
valgrind: fix build on Linux kernel 3.x

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokexec: tweak zlib option name
Peter Korsgaard [Mon, 26 Sep 2011 20:17:12 +0000 (22:17 +0200)]
kexec: tweak zlib option name

To match other _ZLIB options.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokexec: fix compilation with gcc 4.6
Sven Neumann [Mon, 26 Sep 2011 12:31:17 +0000 (14:31 +0200)]
kexec: fix compilation with gcc 4.6

gcc 4.6 has stricter checks for invalid command-line options.
Fix compilation by passing linker options with -Wl,

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosqlite: bump to version 3.7.8
Sven Neumann [Mon, 26 Sep 2011 13:23:57 +0000 (15:23 +0200)]
sqlite: bump to version 3.7.8

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: add 1.19.2 tail fix
Peter Korsgaard [Mon, 26 Sep 2011 19:35:12 +0000 (21:35 +0200)]
busybox: add 1.19.2 tail fix

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agonew package: ngrep (lightweight alternative to tcpdump)
Wade Berrier [Sat, 10 Sep 2011 18:59:16 +0000 (12:59 -0600)]
new package: ngrep (lightweight alternative to tcpdump)

Signed-off-by: Wade Berrier <wberrier@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodbus: bump to 1.4.16
Yegor Yefremov [Fri, 23 Sep 2011 09:17:23 +0000 (11:17 +0200)]
dbus: bump to 1.4.16

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoacpid: bump to 2.0.11
Frederic Bassaler [Sun, 14 Aug 2011 14:08:08 +0000 (16:08 +0200)]
acpid: bump to 2.0.11

acpid 2.0.6 does not compile? So bump to 2.0.11

Signed-off-by: Frederic Bassaler <frederic.bassaler@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotaglib: bump to 1.7
Sven Neumann [Fri, 23 Sep 2011 08:50:09 +0000 (10:50 +0200)]
taglib: bump to 1.7

Bump the version of taglib to 1.7. This version does not any longer
ship with a configure script so convert the package from autotargets
to cmaketargets.

The 1.7 version offers optional support for MP4 and WMA files.
Expose these options in buildroot.

[Peter: drop unneded dependencies, keep target install, fix Config.in indent]
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add openocd support
Jean-Christophe PLAGNIOL-VILLARD [Tue, 20 Sep 2011 11:19:52 +0000 (13:19 +0200)]
package: add openocd support

with only the following Adapters
 - FTDI FT2xxx/FT4xxx
 - J-Link (Segger and Atmel SAM-ICE)
 - Versaloon-Link JTAG Adapter

[Peter: Config.in tweaks]
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodependencies: add rsync as a required dependency
Thomas Petazzoni [Mon, 19 Sep 2011 20:53:23 +0000 (22:53 +0200)]
dependencies: add rsync as a required dependency

rsync can now be used for overriden package, and will also be used for
other purposes in the future (optimization of toolchain copy time,
etc.).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogtk2-theme-hicolor: remove useless definitions
Thomas Petazzoni [Mon, 19 Sep 2011 20:53:24 +0000 (22:53 +0200)]
gtk2-theme-hicolor: remove useless definitions

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobridge-utils: normalize package name
Thomas Petazzoni [Mon, 19 Sep 2011 20:53:07 +0000 (22:53 +0200)]
bridge-utils: normalize package name

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogtk2-themes: normalize package name and directory
Thomas Petazzoni [Mon, 19 Sep 2011 20:53:06 +0000 (22:53 +0200)]
gtk2-themes: normalize package name and directory

[Peter: fix directory argument of AUTOTARGETS macro]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosdl_net: normalize package to sdl_net
Thomas Petazzoni [Mon, 19 Sep 2011 20:53:05 +0000 (22:53 +0200)]
sdl_net: normalize package to sdl_net

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibfuse: rename fuse to libfuse
Thomas Petazzoni [Mon, 19 Sep 2011 20:53:04 +0000 (22:53 +0200)]
libfuse: rename fuse to libfuse

We rename the package/fuse directory to package/libfuse to be
consistent with the package name. This is needed for a future commit
that will simplify the AUTOTARGETS macro by making assumptions on the
directory name.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoxenomai: install in /usr
Thomas Petazzoni [Mon, 19 Sep 2011 20:10:56 +0000 (22:10 +0200)]
xenomai: install in /usr

By default, Xenomai installs everything with --prefix=/usr/xenomai,
and passing --prefix=/usr doesn't work because installing Xenomai
headers in /usr/include creates conflicts with other headers. However,
passing --prefix=/usr and --includedir=/usr/include/xenomai just works
fine. This allows to use the default configure command of the
AUTOTARGETS infrastructure, and allows to install the Xenomai headers
and libraries into more usual locations. Furthermore, it allows to
remove the documentation/headers removal hooks, as well as the
ld.so.conf hook since now everything is installed in standard
locations.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agortai: Install modules in /lib/modules/<version>/rtai
Thomas Petazzoni [Mon, 19 Sep 2011 20:10:55 +0000 (22:10 +0200)]
rtai: Install modules in /lib/modules/<version>/rtai

The /lib/modules/<version>/kernel/ is completely rewritten by the
kernel module installation, so third party modules should be outside
of this directory.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agortai: fix path to apply-patches
Thomas Petazzoni [Mon, 19 Sep 2011 20:10:54 +0000 (22:10 +0200)]
rtai: fix path to apply-patches

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agortai, xenomai: use the pre patch hook point
Thomas Petazzoni [Mon, 19 Sep 2011 20:10:53 +0000 (22:10 +0200)]
rtai, xenomai: use the pre patch hook point

The post extract hook point is not really correct as what RTAI and
Xenomai extensions are doing is patching the kernel.

The post patch hook point doesn't work, because RTAI and Xenomai
patches would be applied *after* all other patches, while it sounds
more logical to apply them first, and *then* allow the user to apply
some platform/board specific patches if needed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add a PRE_PATCH_HOOKS hook point
Thomas Petazzoni [Mon, 19 Sep 2011 20:10:52 +0000 (22:10 +0200)]
package: add a PRE_PATCH_HOOKS hook point

This will be useful to integrate Xenomai and RTAI into Buildroot, so
that they can patch the kernel before the normal patching process
starts.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokernel-headers: fix 3.0 header exports for headers with __packed
Peter Korsgaard [Tue, 20 Sep 2011 19:38:53 +0000 (21:38 +0200)]
kernel-headers: fix 3.0 header exports for headers with __packed

Fixes E.G. mtd/ubi-user.h, which otherwise breaks busybox 1.9 builds
with ubi applets.

Upstream post 3.0 and discussed here: https://lkml.org/lkml/2011/6/22/25

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobarebox: patch-kernel.sh is no more
Peter Korsgaard [Mon, 19 Sep 2011 08:13:37 +0000 (10:13 +0200)]
barebox: patch-kernel.sh is no more

Thanks to Sven Neumann for noticing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoCHANGES: update with recent changes
Peter Korsgaard [Sun, 18 Sep 2011 20:20:54 +0000 (22:20 +0200)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoAdd support for the RTAI real-time extension
Thomas Petazzoni [Sat, 17 Sep 2011 20:22:58 +0000 (22:22 +0200)]
Add support for the RTAI real-time extension

[Peter: fix rtai Config.in]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: change ordering of steps
Thomas Petazzoni [Sat, 17 Sep 2011 20:22:57 +0000 (22:22 +0200)]
package: change ordering of steps

Currently, the dependency chain is :

 configure -> patch
 patch -> extract
 extract -> depends
 depends -> source + dependencies ready

This is a problem for RTAI, as :

 * In linux/linux-ext-rtai.mk, we need the RTAI source code to be
   extracted/patched by the RTAI package, so we need to have a
   dependency on RTAI.

 * The RTAI package cannot have its configure step executed before the
   Linux kernel is built, because it needs the kernel source code to
   be extracted and configured.

Therefore, we have a sort of circular dependency. We solve this
circular dependency by having the RTAI kernel part depending on
rtai-patch, and having the RTAI userspace part depending on the linux
package. However, for this to work, we have to modify the dependency
chain to:

 configure -> patch + depends
 patch -> extract
 extract -> source
 depends -> dependencies ready

Which means that dependencies are guaranteed to be built not when the
package is extracted, but when the package is configured. Which is
technically more correct that what we were doing in the past.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoxenomai: add support to keep or remove skins
Thomas Petazzoni [Sat, 17 Sep 2011 20:22:56 +0000 (22:22 +0200)]
xenomai: add support to keep or remove skins

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoxenomai: add support to keep or remove Analogy utilities and libs
Thomas Petazzoni [Sat, 17 Sep 2011 20:22:55 +0000 (22:22 +0200)]
xenomai: add support to keep or remove Analogy utilities and libs

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoxenomai: add support to keep or remove RT-CAN utilities
Thomas Petazzoni [Sat, 17 Sep 2011 20:22:54 +0000 (22:22 +0200)]
xenomai: add support to keep or remove RT-CAN utilities

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoxenomai: add support to keep or remove testsuite programs
Thomas Petazzoni [Sat, 17 Sep 2011 20:22:53 +0000 (22:22 +0200)]
xenomai: add support to keep or remove testsuite programs

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoAdd xenomai real-time Framework to buildroot
Thomas De Schampheleire [Sat, 17 Sep 2011 20:22:52 +0000 (22:22 +0200)]
Add xenomai real-time Framework to buildroot

[Fixes by Thomas, including comments from Arnout:
  * Use AUTOTARGETS instead of GENTARGETS

  * Use $(KERNEL_ARCH) instead of $(BR2_ARCH) as argument to the
    prepare-kernel.sh script. This allows the arch name to be fixed
    with the usual sed expressions and the quotes to be stripped.

  * Add the --verbose option to prepare-kernel.sh. This allows to get
    some clear error message when no Xenomai patch has been found for
    the current kernel version.

  * Improve the help texts as suggested by Arnout, and remove the
    now useless README file.

  * Add a BR2_PACKAGE_XENOMAI_SMP option, instead of poking inside the
    kernel configuration to find out whether SMP is enabled or
    not. This cannot work because: 1) the kernel might be built
    outside of Buildroot and 2) if the kernel is built inside
    Buildroot, it is built *after* Xenomai, so the kernel
    configuration file is typically not yet present.

  * Simplify the ARM subarchitecture selection as suggested by Arnout.

  * Remove the documentation and development files according to
    Buildroot standards (using BR2_HAVE_DOCUMENTATION and
    BR2_HAVE_DEVFILES).

  * Simplify the /etc/ld.so.conf modification logic.
]

[Peter: whitespace fixes]
Signed-off-by: Benoit Mauduit <benoit.mauduit@openwide.fr>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: Add Linux Kernel extensions menu
Thomas De Schampheleire [Sat, 17 Sep 2011 20:22:51 +0000 (22:22 +0200)]
linux: Add Linux Kernel extensions menu

Add a kernel sub-menu (called "Linux Kernel Extensions"), which makes
possible to patch it or tweak the kernel build step.

 * All linux/linux-ext-*.mk files will be read by the make process.
 * The menu can be customized in "linux/Config.ext.in".

[Peter: small fixes]
Signed-off-by: Benoit Mauduit <benoit.mauduit@openwide.fr>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agou-boot: clarify network settings submenu, disable override by default
Peter Korsgaard [Sun, 18 Sep 2011 20:12:34 +0000 (22:12 +0200)]
u-boot: clarify network settings submenu, disable override by default

Make it clear that these options override the board defconfig, and
don't enable it by default.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboot: get rid of toplevel submenus
Peter Korsgaard [Sun, 18 Sep 2011 20:09:42 +0000 (22:09 +0200)]
boot: get rid of toplevel submenus

Sub options are indented anyway, so no need for empty menus / force people
to enter sub menus to see configuration options.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobarebox: add support for custom version, tarball, git and patch dir
Jean-Christophe PLAGNIOL-VILLARD [Sat, 17 Sep 2011 20:23:08 +0000 (22:23 +0200)]
barebox: add support for custom version, tarball, git and patch dir

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopython: bump to 2.7.2
Thomas Petazzoni [Sun, 18 Sep 2011 16:05:23 +0000 (18:05 +0200)]
python: bump to 2.7.2

This is mostly a mechanical bump, with a refresh of all the patches to
accomodate the offsets, and some minor conflict resolution.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopython: fix build by adding some more patches
Thomas Petazzoni [Sun, 18 Sep 2011 16:05:22 +0000 (18:05 +0200)]
python: fix build by adding some more patches

The removal of -L flags from TARGET_LDFLAGS in
7e3e8ec040b06d6e2fb69e55c004f1ebc02c76d0 has trigerred some more
issues with Python, requiring some more hacky fixes.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoMakefile.autotools.in: fix autoreconf libtool patching after libtool move
Peter Korsgaard [Sat, 17 Sep 2011 12:16:42 +0000 (14:16 +0200)]
Makefile.autotools.in: fix autoreconf libtool patching after libtool move

Commit 20f8a7dec6fc (support: move libtool patches in support/libtool)
missed the autoreconf variant of the libtool patching, breaking the build
for packages needing both autoreconf and libtool patching.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotslib: drop redundant configure options
Peter Korsgaard [Sat, 17 Sep 2011 12:03:33 +0000 (14:03 +0200)]
tslib: drop redundant configure options

And cleanup while we're at it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosupport: move package/gnuconfig to support/gnuconfig
Thomas Petazzoni [Wed, 31 Aug 2011 21:35:06 +0000 (23:35 +0200)]
support: move package/gnuconfig to support/gnuconfig

The CONFIG_UPDATE macro is no longer defined in
package/gnuconfig/gnuconfig.mk, but instead in
package/Makefile.autotools.in. It it also changed a little bit to take
the directory of the package sources as argument, and the AUTOTARGETS
infrastructure is updated to use this macro.

[Peter: drop echo in CONFIG_UPDATE]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosupport: move kconfig stuff from package/config to support/kconfig
Thomas Petazzoni [Wed, 31 Aug 2011 21:35:05 +0000 (23:35 +0200)]
support: move kconfig stuff from package/config to support/kconfig

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosupport: move patch-kernel.sh and rename it
Thomas Petazzoni [Wed, 31 Aug 2011 21:35:04 +0000 (23:35 +0200)]
support: move patch-kernel.sh and rename it

The name "patch-kernel.sh" is a bit stupid, since this script is used
to patch everything in Buildroot, not only kernel trees.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosupport: move libtool patches in support/libtool
Thomas Petazzoni [Wed, 31 Aug 2011 21:35:03 +0000 (23:35 +0200)]
support: move libtool patches in support/libtool

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosupport: move scripts/ to a new support/ directory
Thomas Petazzoni [Wed, 31 Aug 2011 21:35:02 +0000 (23:35 +0200)]
support: move scripts/ to a new support/ directory

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoscripts/mkmakefile: fix typo
Thomas Petazzoni [Wed, 31 Aug 2011 21:35:01 +0000 (23:35 +0200)]
scripts/mkmakefile: fix typo

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoscripts: remove old, unmaintained, unused scripts
Thomas Petazzoni [Wed, 31 Aug 2011 21:35:00 +0000 (23:35 +0200)]
scripts: remove old, unmaintained, unused scripts

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: add new 1.19.2 fixes and drop stale config
Gustavo Zacarias [Fri, 16 Sep 2011 14:29:17 +0000 (11:29 -0300)]
busybox: add new 1.19.2 fixes and drop stale config

Drop stale config file for busybox 1.13.x
Add build system and syslogd fixes for 1.19.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoqt: bump version
Peter Korsgaard [Sat, 17 Sep 2011 05:51:10 +0000 (07:51 +0200)]
qt: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agofuse: bump version
Peter Korsgaard [Thu, 15 Sep 2011 13:34:19 +0000 (15:34 +0200)]
fuse: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiw: bump to 3.1
Yegor Yefremov [Wed, 7 Sep 2011 08:52:44 +0000 (10:52 +0200)]
iw: bump to 3.1

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>