buildroot.git
13 years agoxfont_font-misc-misc: remove mapfiles workaround
Peter Korsgaard [Sat, 6 Aug 2011 10:06:41 +0000 (12:06 +0200)]
xfont_font-misc-misc: remove mapfiles workaround

Not needed anymore after the recent pkg-config mapfiles fix.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibsoup: bump to 2.32.2
Sven Neumann [Fri, 5 Aug 2011 08:52:27 +0000 (10:52 +0200)]
libsoup: bump to 2.32.2

Buildroot should use a stable release, not use an unstable development
version. Updating to the current stable branch (2.34) is not trivial,
so at least use the latest release from the stable 2.32 branch.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoUpdate for 2011.08-rc1
Peter Korsgaard [Thu, 4 Aug 2011 20:31:30 +0000 (22:31 +0200)]
Update for 2011.08-rc1

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopkg-config: Add "mapdir" to sysroot handled variables
Michael J. Hammel [Sun, 24 Apr 2011 02:51:41 +0000 (20:51 -0600)]
pkg-config: Add "mapdir" to sysroot handled variables

Closes #3583, #3649

Fixes xfonts_font-adobe build failure.

Signed-off-by: Michael J. Hammel <mjhammel@graphics-muse.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoCHANGES: update with recent changes
Peter Korsgaard [Thu, 4 Aug 2011 20:03:37 +0000 (22:03 +0200)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain-external: fix some typos CodeSoucery -> CodeSourcery
Thomas De Schampheleire [Tue, 2 Aug 2011 18:33:17 +0000 (20:33 +0200)]
toolchain-external: fix some typos CodeSoucery -> CodeSourcery

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoinitramfs/init: make sure that 0, 1, 2 fds are available
Thomas Petazzoni [Thu, 4 Aug 2011 19:38:59 +0000 (21:38 +0200)]
initramfs/init: make sure that 0, 1, 2 fds are available

As the kernel doesn't automatically mount devtmpfs when an initramfs
is used, commit 424888e47431db738f5f9b3c6392435bfce7a842 has
introduced a small wrapper script that mounts devtmpfs before starting
the real init.

Unfortunately, the problem is that in this case, the init process runs
without any 0, 1 and 2 file descriptors, so none of the
messages/errors printed by the various initialization scripts can be
seen. This is due to the fact the init process relies on 0, 1 and 2
being opened by the kernel before init is started. However, as
/dev/console isn't present on the filesystem at the time the kernel
tries to open the console to create the 0, 1 and 2 file descriptors,
the kernel fails on this and prints the famous "Warning: unable to
open an initial console".

The proposed workaround is to actually open 0, 1 and 2 to /dev/console
in the wrapper script, right after mounting the devtmpfs filesystem,
and before starting the real init. The "Warning" from the kernel is
still shown, but at least the messages from the init scripts are
visible.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: fix <pkg>_DL_VERSION value
Thomas Petazzoni [Thu, 4 Aug 2011 19:34:24 +0000 (21:34 +0200)]
package: fix <pkg>_DL_VERSION value

993e51bc22f508fbaf39c5c49fd0595fc5c56013 introduced a <pkg>_DL_VERSION
in addition to <pkg>_VERSION. This variable, purely internal to the
package infrastructure, allows to store the *raw* version name, as
defined in the package .mk file. However, as this version string can
contain slashes, it is not appropriate to be part of the build
directory name of the package. This is why <pkg>_VERSION is defined to
be the same thing as <pkg>_DL_VERSION, except that slashes are
replaced by underscores.

However, the initial implementation didn't take into account the case
of host packages. So 763822e874fd8d39b591feaa9639f76183897fb7 was
committed to fix this. But unfortunately, this commit got it wrong
again: it forgot the case where <pkg>_VERSION is set, but not
HOST_<pkg>_VERSION. In this case, HOST_<pkg>_DL_VERSION remained
empty. This can be seen for example by building host-sstrip.

This problem has been noticed by Julien Boibessot
<julien.boibessot@free.fr>, who also helped in fixing the
issue. Thanks!

The fix is simply to ensure that <pkg>_DL_VERSION is properly set in
all cases: when HOST_<pkg>_VERSION is defined, when only <pkg>_VERSION
is defined, and when no version is defined.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomidori: bump to 0.3.6
Frederic Bassaler [Thu, 4 Aug 2011 19:02:44 +0000 (21:02 +0200)]
midori: bump to 0.3.6

midori 0.4.0 is out, but requires an additionnal dependency : vala
(maybe a more experienced person could add it?)

Signed-off-by: Frederic Bassaler <frederic.bassaler@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years ago'source' target should depend on 'dirs'
Thomas De Schampheleire [Wed, 27 Jul 2011 09:34:51 +0000 (11:34 +0200)]
'source' target should depend on 'dirs'

In the following command flow:
make distclean
make <board>_defconfig
make source

the dl directory would normally be created by the first wget download. If there are no such downloads, e.g. because you use a local download mirror (e.g. scp, file) or only use git/svn/hg/bzr repositories, the dl directory is not created automatically. This causes e.g. the 'pushd' command in the respective _DOWNLOAD commands to fail.

This patch adds a dependency to the 'dirs' target to 'source', fixing this scenario.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiw: bump to version 3.0
Gustavo Zacarias [Thu, 28 Jul 2011 20:14:02 +0000 (17:14 -0300)]
iw: bump to version 3.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosamba: bump to version 3.3.15
Gustavo Zacarias [Thu, 28 Jul 2011 20:14:03 +0000 (17:14 -0300)]
samba: bump to version 3.3.15

Bump samba to version 3.3.15 and add security patches for CVE-2011-2522
and CVE-2011-2694.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiptables: bump to version 1.4.12
Gustavo Zacarias [Thu, 28 Jul 2011 20:14:01 +0000 (17:14 -0300)]
iptables: bump to version 1.4.12

Bump iptables to version 1.4.12 for linux kernel 3.0 support

[Peter: Rename patch]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibsoup: add patch to fix CVE-2011-2054
Sven Neumann [Sun, 31 Jul 2011 20:18:39 +0000 (22:18 +0200)]
libsoup: add patch to fix CVE-2011-2054

Fixes a security hole that caused some SoupServer users to
unintentionally allow accessing the entire local filesystem when
they thought they were only providing access to a single directory.

This is the change from libsoup-2.34.3 backported to 2.32.2. It
doesn't include the changes to the test suite though.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: mark liboil + swfdec as deprecated
Peter Korsgaard [Thu, 4 Aug 2011 19:20:44 +0000 (21:20 +0200)]
package: mark liboil + swfdec as deprecated

They are dead upstream, and will be removed during 2011.11 cycle unless
someone speaks up.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoorc: target install: cleanup unused files
Peter Korsgaard [Thu, 4 Aug 2011 19:15:40 +0000 (21:15 +0200)]
orc: target install: cleanup unused files

orcc is only needed when developing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoexternal toolchains: fix SuperH toolchain configuration
Thomas Petazzoni [Fri, 29 Jul 2011 22:00:37 +0000 (00:00 +0200)]
external toolchains: fix SuperH toolchain configuration

The CodeSourcery toolchain for SH2-A platforms provide largefile
support, inet RPC, wide char and threads, so adjust the configuration
accordingly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoopenvpn: bump to 2.2.1
Yegor Yefremov [Wed, 3 Aug 2011 09:18:19 +0000 (11:18 +0200)]
openvpn: bump to 2.2.1

tmpdir issue was already fixed in 2.2.1 version, so
remove the patch

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokernel-headers: bump 2.6.35.x / 2.6.39.x stable versions
Peter Korsgaard [Thu, 4 Aug 2011 18:32:54 +0000 (20:32 +0200)]
kernel-headers: bump 2.6.35.x / 2.6.39.x stable versions

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoudev: bump to 173
Yegor Yefremov [Tue, 2 Aug 2011 08:00:16 +0000 (10:00 +0200)]
udev: bump to 173

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoutil-linux: add option for libmount
Peter Korsgaard [Fri, 29 Jul 2011 11:38:49 +0000 (13:38 +0200)]
util-linux: add option for libmount

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoutil-linux: mount/fsck needs libblkid
Peter Korsgaard [Fri, 29 Jul 2011 11:34:18 +0000 (13:34 +0200)]
util-linux: mount/fsck needs libblkid

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibroxml: drop -Werror from CFLAGS
Peter Korsgaard [Fri, 29 Jul 2011 07:52:59 +0000 (09:52 +0200)]
libroxml: drop -Werror from CFLAGS

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibroxml: bump version
Tristan Lelong [Fri, 29 Jul 2011 07:46:10 +0000 (09:46 +0200)]
libroxml: bump version

Closes #3997

Signed-off-by: Tristan Lelong <tristan.lelong@blunderer.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain/helpers.mk: unbreak check_glibc after PROGRAM_INVOCATION removal
Peter Korsgaard [Fri, 29 Jul 2011 07:09:44 +0000 (09:09 +0200)]
toolchain/helpers.mk: unbreak check_glibc after PROGRAM_INVOCATION removal

As noticed by Thomas Petazzoni on IRC.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoutil-linux: drop BR2_PACKAGE_BUSYBOX_SHOW_OTHERS dependency
Peter Korsgaard [Fri, 29 Jul 2011 06:53:55 +0000 (08:53 +0200)]
util-linux: drop BR2_PACKAGE_BUSYBOX_SHOW_OTHERS dependency

Drop the dependency as it isn't really nice that other packages need
to select it, and kconf complains about it:

warning: (BR2_PACKAGE_E2FSPROGS && BR2_PACKAGE_USBMOUNT) selects
 BR2_PACKAGE_BUSYBOX_SHOW_OTHERS which has unmet direct dependencies
 (!BR2_PACKAGE_BUSYBOX)

Instead ensure that only the libraries are built by default, so
busybox applets are still used unless explicitly configured.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: use libuuid from util-linux
Peter Korsgaard [Fri, 29 Jul 2011 06:49:48 +0000 (08:49 +0200)]
package: use libuuid from util-linux

And adjust users.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoautoconf: use dummy autopoint
Peter Korsgaard [Fri, 29 Jul 2011 06:39:02 +0000 (08:39 +0200)]
autoconf: use dummy autopoint

We currently don't build a host-gettext package, so when a package using
gettext is autoreconf'ed, we end up using autopoint from the host.

Autopoint unfortunately requires CVS, so if that isn't available autoreconf
fails.

From reading:

http://www.gnu.org/software/gnulib/manual/html_node/gettextize-and-autopoint.html

It seems that we don't really need to rerun autopoint, so fix it by
passing autopoint=/bin/true instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoutil-linux: install to staging
Peter Korsgaard [Fri, 29 Jul 2011 06:36:55 +0000 (08:36 +0200)]
util-linux: install to staging

For libblkid / libuuid.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoe2fsprogs: ensure util-linux is built before e2fsprogs
Peter Korsgaard [Thu, 28 Jul 2011 21:26:29 +0000 (23:26 +0200)]
e2fsprogs: ensure util-linux is built before e2fsprogs

For libblkid.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoe2fsprogs: use libblkid / blkid from util-linux
Peter Korsgaard [Thu, 28 Jul 2011 15:58:50 +0000 (17:58 +0200)]
e2fsprogs: use libblkid / blkid from util-linux

e2fsprogs and util-linux both provide blkid / libblkid causing conflicts
if both are enabled. The preferred upstream (E.G. what is used by Debian)
is util-linux, so remove the options from e2fsprogs and make it use the
util-linux version instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoutil-linux: libblkid needs liibuuid
Peter Korsgaard [Thu, 28 Jul 2011 15:54:37 +0000 (17:54 +0200)]
util-linux: libblkid needs liibuuid

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoe2fsprogs: configure needs pkg-config
Peter Korsgaard [Thu, 28 Jul 2011 13:45:02 +0000 (15:45 +0200)]
e2fsprogs: configure needs pkg-config

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoe2fsprogs: add options for debugfs/e2image/resize2fs utilities
Peter Korsgaard [Thu, 28 Jul 2011 13:04:09 +0000 (15:04 +0200)]
e2fsprogs: add options for debugfs/e2image/resize2fs utilities

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoe2fsprogs: don't build uuidd if not requested
Peter Korsgaard [Thu, 28 Jul 2011 12:55:59 +0000 (14:55 +0200)]
e2fsprogs: don't build uuidd if not requested

Rather than not installing it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoe2fsprogs: simplify Config.in
Peter Korsgaard [Thu, 28 Jul 2011 12:42:39 +0000 (14:42 +0200)]
e2fsprogs: simplify Config.in

No need for 'depends on' for all individual options when they already
are in a conditional section.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoutil-linux: fix sub option typos
Peter Korsgaard [Thu, 28 Jul 2011 07:19:30 +0000 (09:19 +0200)]
util-linux: fix sub option typos

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoCHANGES: update with recent changes
Peter Korsgaard [Wed, 27 Jul 2011 22:01:47 +0000 (00:01 +0200)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiso9660: fix build after linux package change
Peter Korsgaard [Wed, 27 Jul 2011 21:26:36 +0000 (23:26 +0200)]
iso9660: fix build after linux package change

linux26 target is no more.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: BR2_PACKAGE_BUSYBOX_SHOW_OTHER: remove conditional check
Peter Korsgaard [Wed, 27 Jul 2011 19:08:21 +0000 (21:08 +0200)]
busybox: BR2_PACKAGE_BUSYBOX_SHOW_OTHER: remove conditional check

It is already within an 'if BR2_PACKAGE_BUSYBOX' section.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agousbmount fixes
Yegor Yefremov [Fri, 22 Jul 2011 14:58:19 +0000 (16:58 +0200)]
usbmount fixes

- create mounting points
- fix dependencies
- fix udev rules
- fix fs type detection

[Peter: fix Config.in deps, create usb7, only remove /media/usb?]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouClibc: drop BR2_PROGRAM_INVOCATION option
Peter Korsgaard [Wed, 27 Jul 2011 09:51:47 +0000 (11:51 +0200)]
uClibc: drop BR2_PROGRAM_INVOCATION option

Remove the BR option and enable the configuration setting in the
uClibc defconfigs.

The BR2_PROGRAM_INVOCATION option only adds very little overhead to
uClibc, and we have a number of packages needing it, so simply always
enable it - Simplifying the kconfig logic and the number of choices
users have to make.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoutil-linux: misc fixes
Peter Korsgaard [Wed, 27 Jul 2011 09:49:46 +0000 (11:49 +0200)]
util-linux: misc fixes

- We patch configure.ac, so we need to autoreconf
- configure uses pkg-config, so ensure the cross version is used.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoutil-linux: convert to autotarget and bump to 2.19.1
Yegor Yefremov [Fri, 22 Jul 2011 14:53:12 +0000 (16:53 +0200)]
util-linux: convert to autotarget and bump to 2.19.1

[Peter: fix deps, restructure, add unshare]
Signed-off-by: Chih-Min Chao <cmchao@gmail.com>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain-external: sync toolchain options with the internal toolchain
Peter Korsgaard [Tue, 26 Jul 2011 13:28:19 +0000 (15:28 +0200)]
toolchain-external: sync toolchain options with the internal toolchain

The internal toolchain defaults to thread support enabled (and
most external toolchains have thread support as well), so enable
BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS by default.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoinotify-tools: Add new package
Mike Williams [Mon, 25 Jul 2011 21:46:55 +0000 (17:46 -0400)]
inotify-tools: Add new package

Adds support for inotify-tools, which are useful for scripting the
Linux inotify API.

[Peter: needs largefile support]
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoudev: extras needs BR2_PROGRAM_INVOCATION
Peter Korsgaard [Tue, 26 Jul 2011 08:41:31 +0000 (10:41 +0200)]
udev: extras needs BR2_PROGRAM_INVOCATION

For usbutils.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoudev: bump version and clean up
Yegor Yefremov [Fri, 22 Jul 2011 14:51:28 +0000 (16:51 +0200)]
udev: bump version and clean up

[Peter: fix Config.in deps, add host-pkg-config]
Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: remove hal
Peter Korsgaard [Mon, 25 Jul 2011 21:06:29 +0000 (23:06 +0200)]
package: remove hal

Hal is deprecated upstream, our package has not seen any significant
work since it was added in 2007, nothing depends on it and it's blocking
a long-overdue udev update.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agohostapd: fix libnl linking with BR2_PREFER_STATIC_LIB
Peter Korsgaard [Mon, 25 Jul 2011 14:26:40 +0000 (16:26 +0200)]
hostapd: fix libnl linking with BR2_PREFER_STATIC_LIB

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibdrm: configure needs pkg-config
Peter Korsgaard [Mon, 25 Jul 2011 12:16:35 +0000 (14:16 +0200)]
libdrm: configure needs pkg-config

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoNew package: ti-utils
Yegor Yefremov [Wed, 27 Apr 2011 08:32:48 +0000 (10:32 +0200)]
New package: ti-utils

Add the calibrator and other useful utilities for TI wireless solution,
based on wl12xx driver.

See http://linuxwireless.org/en/users/Drivers/wl12xx/calibrator for
further details.

[Peter: add libnl Config.in dependency]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoxorg-xserver: configure needs pkg-config
Peter Korsgaard [Mon, 25 Jul 2011 06:44:26 +0000 (08:44 +0200)]
xorg-xserver: configure needs pkg-config

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: add user defined target LDFLAGS options
Baruch Siach [Thu, 23 Jun 2011 09:21:21 +0000 (12:21 +0300)]
toolchain: add user defined target LDFLAGS options

Allow the user to specify additional options for the target LDFLAGS.

I use this to pass the -te500v2 option to the linker, when using the
CodeSourcery toolchain for PowerPC. This chooses the correct CRT for e500 hard
float. Otherwise I get errors like

undefined reference to `_save32gpr_31'
undefined reference to `_rest32gpr_31_x'

at final link time.

[Peter: fixup, use qstrip]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoe2fsprogs: Add missing dependency of tst_uuid.o on uuid.h
Arnout Vandecappelle (Essensium/Mind) [Mon, 18 Jul 2011 12:11:39 +0000 (14:11 +0200)]
e2fsprogs: Add missing dependency of tst_uuid.o on uuid.h

The missing dependency used to break parallel builds.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoSystem config: split static-dev device table setting into seperate option
Peter Korsgaard [Sun, 24 Jul 2011 22:09:33 +0000 (00:09 +0200)]
System config: split static-dev device table setting into seperate option

As discussed here:

http://lists.busybox.net/pipermail/buildroot/2011-May/043251.html

Add BR2_ROOTFS_STATIC_DEVICE_TABLE for the extra device table file(s)
to create device nodes in /dev, rather than complicated logic in
BR2_ROOTFS_DEVICE_TABLE, making it complicated to move between static
and dynamic modes.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: Add busybox-xconfig and busybox-gconfig rules
Benoit Mauduit [Mon, 16 May 2011 15:25:44 +0000 (17:25 +0200)]
busybox: Add busybox-xconfig and busybox-gconfig rules

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agonfs-utils: replace legacy index() function by strchr()
Frederik Pasch [Sun, 24 Jul 2011 21:51:44 +0000 (23:51 +0200)]
nfs-utils: replace legacy index() function by strchr()

Closes #3961

Signed-off-by: Frederik Pasch <fpasch@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoorc: new package
Sven Neumann [Thu, 14 Jul 2011 07:32:39 +0000 (09:32 +0200)]
orc: new package

Orc - the Oil Runtime Compiler - is the successor of liboil.
There's a runtime library that is installed in staging and target
and there's a host version that can be built if orcc, the ORC
compiler is needed at build time.

[Peter: minor tweaks]
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-ugly: fix dependencies for mad MP3 decoder plug-in
Sven Neumann [Fri, 15 Jul 2011 22:33:00 +0000 (00:33 +0200)]
gst-plugins-ugly: fix dependencies for mad MP3 decoder plug-in

The mad plug-in depends on libid3tag. This dependency used to be
implicit by selecting the id3tag plug-in. Now that this plug-in
is not any longer part of gst-plugins-ugly we need an explicit
dependency on libid3tag.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-ugly: update configuration options
Sven Neumann [Thu, 14 Jul 2011 07:27:33 +0000 (09:27 +0200)]
gst-plugins-ugly: update configuration options

Remove the option for the libid3tag plug-in as is not any longer
found in gst-plugins-ugly.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-good: update configuration options
Sven Neumann [Thu, 14 Jul 2011 07:27:32 +0000 (09:27 +0200)]
gst-plugins-good: update configuration options

Update the list of plugins that can be selected/deselected.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoscons: new package
Thomas Petazzoni [Wed, 20 Jul 2011 05:11:52 +0000 (07:11 +0200)]
scons: new package

Only the host package is supported.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiproute2: fixup CCOPTS to unbreak build
Gustavo Zacarias [Fri, 22 Jul 2011 15:27:29 +0000 (12:27 -0300)]
iproute2: fixup CCOPTS to unbreak build

CCOPTS is also used for HOSTCC in the netem/ directory which contains
host tools so just ditch it there to avoid extra non-native
optimizations to sweep by.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiptables: fixup multitarget binary links
Gustavo Zacarias [Fri, 22 Jul 2011 18:02:48 +0000 (15:02 -0300)]
iptables: fixup multitarget binary links

Newer vesions renamed iptables-multi to xtables-multi so fix
the symlinks accordingly.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobind: fix intermittent build issues with high BR2_JLEVEL
Peter Korsgaard [Sun, 24 Jul 2011 12:02:25 +0000 (14:02 +0200)]
bind: fix intermittent build issues with high BR2_JLEVEL

Build sometimes breaks with:

libtool: link: `unix/os.lo' is not a valid libtool object
make[3]: *** [rndc-confgen] Error 1
make[3]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/scratch/peko/build/bind-9.6-ESV-R4/bin/rndc/unix'

So disable parallel builds.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoipset: ensure target kernel headers are used
Peter Korsgaard [Fri, 22 Jul 2011 11:51:45 +0000 (13:51 +0200)]
ipset: ensure target kernel headers are used

ipsets configure script checks the kernel headers to ensure the kernel
is new enough / has patch applied, and errors out if this is not so.

Ensure that the target kernel headers are searched, rather than
what is available on the build host.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokernel-headers: add 3.0
Peter Korsgaard [Fri, 22 Jul 2011 07:08:36 +0000 (09:08 +0200)]
kernel-headers: add 3.0

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoipset: new package
Gustavo Zacarias [Thu, 21 Jul 2011 19:49:57 +0000 (16:49 -0300)]
ipset: new package

Add ipset support package.
Note that this requires bleeding edge (>=2.6.39) kernel version or
patches.

[Peter: needs largefile, host-pkg-config]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibmnl: new package
Gustavo Zacarias [Thu, 21 Jul 2011 19:49:56 +0000 (16:49 -0300)]
libmnl: new package

[Peter: needs largefile support]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiptables: largefile support not required anymore
Peter Korsgaard [Fri, 22 Jul 2011 05:32:58 +0000 (07:32 +0200)]
iptables: largefile support not required anymore

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiptables: unbreak build without ipv6 support
Peter Korsgaard [Fri, 22 Jul 2011 05:31:49 +0000 (07:31 +0200)]
iptables: unbreak build without ipv6 support

Patch submitted upstream, but so far not committed.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiproute2: ensure TARGET_CFLAGS are used
Peter Korsgaard [Thu, 21 Jul 2011 21:10:33 +0000 (23:10 +0200)]
iproute2: ensure TARGET_CFLAGS are used

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiproute2: bump to version 2.6.39
Gustavo Zacarias [Thu, 21 Jul 2011 17:54:24 +0000 (14:54 -0300)]
iproute2: bump to version 2.6.39

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiptables: bump to version 1.4.11.1
Gustavo Zacarias [Thu, 21 Jul 2011 17:54:23 +0000 (14:54 -0300)]
iptables: bump to version 1.4.11.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobinutils: add version 2.21.1
Gustavo Zacarias [Thu, 21 Jul 2011 17:54:22 +0000 (14:54 -0300)]
binutils: add version 2.21.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosquid: bump to version 3.1.14
Gustavo Zacarias [Thu, 21 Jul 2011 17:54:21 +0000 (14:54 -0300)]
squid: bump to version 3.1.14

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: busybox-1.18.x.config: enable blkid applet
Peter Korsgaard [Thu, 21 Jul 2011 20:45:49 +0000 (22:45 +0200)]
busybox: busybox-1.18.x.config: enable blkid applet

Needed by usbmount.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agousbmount: bump to 0.0.21
Yegor Yefremov [Wed, 20 Jul 2011 14:46:28 +0000 (16:46 +0200)]
usbmount: bump to 0.0.21

[Peter: fix udev dep, use Debian mirrors, fix usbmount.rules install, uninstall]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agozlib: always build host version dynamically
Peter Korsgaard [Wed, 20 Jul 2011 21:51:17 +0000 (23:51 +0200)]
zlib: always build host version dynamically

Host libraries should always be built using dynamic linking, rather than
static if BR2_PREFER_STATIC_LIB is enabled, as that then breaks dependent
libraries expecting a shared library.

Reported-by: Andy Kennedy <andy.kennedy@adtran.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoinitramfs: fix boot with dynamic /dev
Peter Korsgaard [Wed, 20 Jul 2011 14:30:14 +0000 (16:30 +0200)]
initramfs: fix boot with dynamic /dev

Devtmpfs (which is used by devtmpfs/mdev/udev options) doesn't get
automounted by the kernel when an initramfs is used, causing boot
failures when a dynamic /dev is used.

Fix it by adding a pre-init script to mount devtmpfs before running init.

Reported-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosdl: build alsa support if enabled
Peter Korsgaard [Tue, 19 Jul 2011 21:11:57 +0000 (23:11 +0200)]
sdl: build alsa support if enabled

Ensure alsa-lib gets built before SDL if enabled, so the SDL configure
script correctly detects alsa support.

Noticed by Ayla on IRC.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouboot: fix custom patch dir typo
Peter Korsgaard [Tue, 19 Jul 2011 11:59:42 +0000 (13:59 +0200)]
uboot: fix custom patch dir typo

Noticed by robinmholt on IRC.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouboot-tools: enable fw_printenv by default
Peter Korsgaard [Tue, 19 Jul 2011 10:26:27 +0000 (12:26 +0200)]
uboot-tools: enable fw_printenv by default

Normally people want to atleast use fw_printenv if they are using u-boot
tools, so default to 'y'.

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

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosh: Fix Buildroot sh targets to match gnuconfig targets
Phil Edworthy [Mon, 9 May 2011 13:12:53 +0000 (14:12 +0100)]
sh: Fix Buildroot sh targets to match gnuconfig targets

sh2eb and sh2a_nofpueb gnuconfig targets are no longer supported
in Buildroot. This patch replaces these Buildroot targets with sh2
and sh2a respectively, and adds sh4a targets as these are widely
used.

To build for devices without an fpu, the relevant toolchain flags
will have to be specified.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogvfs: fix installation of gsettings schemas
Sven Neumann [Wed, 13 Jul 2011 16:54:49 +0000 (18:54 +0200)]
gvfs: fix installation of gsettings schemas

Install gvfs into staging and compile the installed schemas for
use on the target.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogvfs: drop dbus-glib dependency
Sven Neumann [Wed, 13 Jul 2011 16:54:48 +0000 (18:54 +0200)]
gvfs: drop dbus-glib dependency

Drop the dbus-glib dependency as gvfs uses dbus directly.

Also change dependency on the XML parser for dbus to be more
in sync with the dbus package.

[Peter: drop expat|libxml2 deps as shared-mime-type already selects libxml2]
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogvfs: update to latest upstream version (1.8.2)
Sven Neumann [Wed, 13 Jul 2011 16:54:47 +0000 (18:54 +0200)]
gvfs: update to latest upstream version (1.8.2)

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoshared-mime-info: remove default options
Peter Korsgaard [Mon, 18 Jul 2011 20:57:21 +0000 (22:57 +0200)]
shared-mime-info: remove default options

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoshared-mime-info: update to version 0.90
Sven Neumann [Thu, 14 Jul 2011 07:16:28 +0000 (09:16 +0200)]
shared-mime-info: update to version 0.90

Need to use $(MAKE1) as parallel builds appear to be broken.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocmake: bump version
Peter Korsgaard [Mon, 18 Jul 2011 20:25:39 +0000 (22:25 +0200)]
cmake: bump version

qt4 patch is now upstream.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoproftpd: bump version
Peter Korsgaard [Mon, 18 Jul 2011 14:01:37 +0000 (16:01 +0200)]
proftpd: bump version

Fixes several security-related issues.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiso9660: fix build after af52661d (linux: rename LINUX26 to LINUX)
Peter Korsgaard [Mon, 18 Jul 2011 13:33:35 +0000 (15:33 +0200)]
iso9660: fix build after af52661d (linux: rename LINUX26 to LINUX)

iso9660 used LINUX26_IMAGE_PATH, which got renamed. Adjust to match
the new name.

Reported-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouboot-tools: add fw_printenv, rename to uboot-tools
Peter Korsgaard [Mon, 18 Jul 2011 13:22:13 +0000 (15:22 +0200)]
uboot-tools: add fw_printenv, rename to uboot-tools

Move fw_printenv / fw_setenv options from the uboot bootloader build to
the uboot-mkimage package, and rename it to uboot-tools.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux-fusion: fix build after af52661d (linux: rename LINUX26 to LINUX)
Peter Korsgaard [Mon, 18 Jul 2011 11:10:24 +0000 (13:10 +0200)]
linux-fusion: fix build after af52661d (linux: rename LINUX26 to LINUX)

linux-fusion uses a number of linux-specific variables. Adjust to match
their new names.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoMakefile.package.in: use "" for MESSAGE arguments
Peter Korsgaard [Mon, 18 Jul 2011 10:49:25 +0000 (12:49 +0200)]
Makefile.package.in: use "" for MESSAGE arguments

Otherwise we get output like:

>>> host-pkg-config 0.25 'Installing to host directory'

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain-buildroot: NPTL is only supported with EABI on ARM
Peter Korsgaard [Mon, 18 Jul 2011 10:10:48 +0000 (12:10 +0200)]
toolchain-buildroot: NPTL is only supported with EABI on ARM

So hide option if OABI is selected.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomake help: sort defconfigs for make 3.82
Danomi Mocelopolis [Sun, 17 Jul 2011 20:17:08 +0000 (22:17 +0200)]
make help: sort defconfigs for make 3.82

Closes #3985

The wildcard function in make 3.82 no longer sorts the output, so
add an explicit sort so the defconfigs are listed in a sensible order.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain/crosstool-NG: use the package infrastructure
Yann E. MORIN [Thu, 14 Jul 2011 22:24:07 +0000 (00:24 +0200)]
toolchain/crosstool-NG: use the package infrastructure

Move crosstool-NG to package/ and make it an autotarget package.
This requires a new patch (now upstream).

Now, the crosstool-NG toolchain backend only contains enough to build
the toolchain, there's no more reference to building crosstool-NG as
a package.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>