buildroot.git
10 years agoopencv: add missing indirect dependency from gstreamer
Arnout Vandecappelle [Thu, 20 Feb 2014 13:34:12 +0000 (14:34 +0100)]
opencv: add missing indirect dependency from gstreamer

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibplayer: add missing indirect dependency from gstreamer
Arnout Vandecappelle [Thu, 20 Feb 2014 13:34:11 +0000 (14:34 +0100)]
libplayer: add missing indirect dependency from gstreamer

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoxscreensaver: add missing indirect dependencies from libgtk2
Arnout Vandecappelle [Thu, 20 Feb 2014 13:34:10 +0000 (14:34 +0100)]
xscreensaver: add missing indirect dependencies from libgtk2

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibsepol: fix static-only library build
Thomas Petazzoni [Thu, 20 Feb 2014 13:32:50 +0000 (14:32 +0100)]
libsepol: fix static-only library build

Add a patch that improves the libsepol build system to support
static-only library build.

Fixes:

  http://autobuild.buildroot.org/results/30c/30cb919d2bbf51bfdf0a83c618124d927d046a61/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoicu: not available when BR2_BINFMT_FLAT is used
Thomas Petazzoni [Thu, 20 Feb 2014 13:32:45 +0000 (14:32 +0100)]
icu: not available when BR2_BINFMT_FLAT is used

icu does not recognize 'uclinux' as a supported platform. While making
it recognize uclinux is easy, there is another problem down the road:
icu does very weird things to generate an ELF library containing
static data (libicudata.a), and the generated library being ELF, it is
not compatible with the FLAT binary format expected by uclinux
platforms such as Blackfin in FLAT format.

Therefore, we simply disallow the selection of icu on FLAT
platforms.

Note that adding a dependency on BR2_BINFMT_ELF doesn't work, because
BR2_BINFMT_FDPIC is considered to be separate (even if technically
FDPIC is a derivative of ELF). That's why the dependency we're adding
is "depends on !BR2_BINFMT_FLAT" and not "depends on BR2_BINFMT_ELF".

Fixes:

  http://autobuild.buildroot.org/results/b41/b415fed7fae4012bad7d8b53a481bd71bdab716f/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoUpdate for 2014.02-rc2
Peter Korsgaard [Thu, 20 Feb 2014 08:24:32 +0000 (09:24 +0100)]
Update for 2014.02-rc2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agowebkit: disable on < ARMv5t
Thomas Petazzoni [Wed, 19 Feb 2014 22:08:50 +0000 (23:08 +0100)]
webkit: disable on < ARMv5t

webkit needs the ARM blx instruction, which is only available on >=
ARMv5t, so we have to make sure the webkit package cannot be enabled
on < ARMv5t. In order to achieve this, this commit introduces the
BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS hidden Config.in knob, which avoids
duplicating all over the place the complex architecture dependencies
of webkit.

Fixes:

  http://autobuild.buildroot.org/results/fdf/fdf8bc7660ac251792d0542d2729ea22753d3789/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibvncserver: needs mmu
Peter Korsgaard [Wed, 19 Feb 2014 22:17:00 +0000 (23:17 +0100)]
libvncserver: needs mmu

Fixes http://autobuild.buildroot.net/results/30e/30e6a879ab6d84df4688c3d29761522f68dad9fc/

fork() is only used in VNCommand.c, so it seems doable to patch the sources
(and send upstream) to make it work on !mmu if people are interested.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolvm2: disable static builds
Fabio Porcedda [Mon, 17 Feb 2014 09:58:46 +0000 (10:58 +0100)]
lvm2: disable static builds

When BR2_PREFER_STATIC_LIB is defined it still try to build the shared
executables and it fails.

Fixes:
http://autobuild.buildroot.net/results/b0b/b0b386969459dda9c294f1ccb4927ca225fa6bdd/

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agothrift: fixes compilation issues
Romain Naour [Wed, 19 Feb 2014 21:05:57 +0000 (22:05 +0100)]
thrift: fixes compilation issues

Apply upstreamed patches:
https://issues.apache.org/jira/browse/THRIFT-2229
https://issues.apache.org/jira/browse/THRIFT-2367

Fixes:
http://autobuild.buildroot.net/results/efb/efbbae54b5a16b26cac7fcc69ea99bb6f8661fe8/build-end.log
http://autobuild.buildroot.net/results/f83/f837440fdf8b3bddfc6cc548902a0453640fa6b4/build-end.log

[Romain: patch 05 rebased on top of thrift-0.9.1]
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodropbear: bump version
Peter Korsgaard [Wed, 19 Feb 2014 20:46:01 +0000 (21:46 +0100)]
dropbear: bump version

Fixes a number of issues. From the changelog:

- Avoid getting stuck in a loop writing huge key files, reported by Bruno
  Thomsen
- Avoid crash on exit due to cleaned up keys before last packets are sent,
  debugged by Ronald Wahl
- Fix a race condition in rekeying where Dropbear would exit if it received a
  still-in-flight packet after initiating rekeying. Reported by Oliver Metz.
  This is a longstanding bug but is triggered more easily since 2013.57
- Ensure that generated RSA keys are always exactly the length
  requested. Previously Dropbear always generated N+16 or N+15 bit keys.
  Thanks to Unit 193
- Fix DROPBEAR_CLI_IMMEDIATE_AUTH mode which saves a network round trip if the
  first public key succeeds. Still not enabled by default, needs more
  compatibility testing with other implementations.
- Fix signal handlers so that errno is saved, thanks to Erik Ahlén for a patch
  and Mark Wickham for independently spotting the same problem.

And at the same time get rid of the TIMEVAL_TO_TIMESPEC as dropbear provides a
fallback implementation if not available (and has done so since 2006).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux: bump to version 3.13.3
Peter Korsgaard [Wed, 19 Feb 2014 20:04:46 +0000 (21:04 +0100)]
linux: bump to version 3.13.3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux-headers: bump 3.{2,4,10,12,13}.x stable versions
Peter Korsgaard [Wed, 19 Feb 2014 20:03:32 +0000 (21:03 +0100)]
linux-headers: bump 3.{2,4,10,12,13}.x stable versions

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux-headers: remove unused 3.3.8 patch
Peter Korsgaard [Wed, 19 Feb 2014 20:02:30 +0000 (21:02 +0100)]
linux-headers: remove unused 3.3.8 patch

3.3.8 support is removed since 334dca61 (kernel-headers: remove deprecated
versions 3.1, 3.3, 3.5), so let's get rid of the patch as well.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomplayer: add missing reverse dependencies for nios2 and sh2a
Fabio Porcedda [Wed, 19 Feb 2014 09:53:22 +0000 (10:53 +0100)]
mplayer: add missing reverse dependencies for nios2 and sh2a

Propagate to comment and libplayer unsupported platforms bfin and sh2a.

Fixes:
http://autobuild.buildroot.net/results/5d8/5d80ade791319b6a66ac1c342f7b1d25c023f0af/

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomplayer: remove sh2 support
Fabio Porcedda [Wed, 19 Feb 2014 09:53:21 +0000 (10:53 +0100)]
mplayer: remove sh2 support

Remove a leftover of the commit commit e543f5a10488b020bb4ccb03e6de0e455c64841a
(arch: remove sh2, sh3 and sh3eb support).

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomplayer: not available on bfin
Fabio Porcedda [Wed, 19 Feb 2014 09:53:20 +0000 (10:53 +0100)]
mplayer: not available on bfin

Fixes:
http://autobuild.buildroot.net/results/109/109b7c9b575c7362c4982a908a1e3695e7590ebd/

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agohost python/python3: conditionally disable unicodedata
Thomas De Schampheleire [Fri, 7 Feb 2014 10:16:05 +0000 (11:16 +0100)]
host python/python3: conditionally disable unicodedata

The host python always had --disable-unicodedata, regardless of the
corresponding configuration option BR2_PACKAGE_PYTHON_UNICODEDATA.
Since the host python is used to byte-compile python modules, this meant
that such modules could not contain unicode strings. For example, following
statement in a python module:
    print u"\N{SOLIDUS}"

would cause the byte-compilation to fail with message:
    SyntaxError: ("(unicode error) \\N escapes not supported (can't load
    unicodedata module)",

Instead, conditionally disable unicodedata based on
BR2_PACKAGE_PYTHON_UNICODEDATA, also for the host python.

This fixes bug #6542 (https://bugs.busybox.net/show_bug.cgi?id=6542)

Reported-by: Gernot Vormayr <gvormayr@gmail.com>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agokexec: fix zImage probe
Baruch Siach [Tue, 18 Feb 2014 13:12:16 +0000 (15:12 +0200)]
kexec: fix zImage probe

Add upstream patch to fix probe of zImage kernels.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotransmission: fix uTP enabled build with ccache
Thomas De Schampheleire [Tue, 18 Feb 2014 14:16:30 +0000 (15:16 +0100)]
transmission: fix uTP enabled build with ccache

Transmission would incorrectly determine the C++ compiler when ccache is
enabled, causing a build with uTP to fail at the configure step.
This patch adds a patch against transmission, fixing the problem.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoqtuio: correct install-target/staging when Qt library type is 'static'
Thomas De Schampheleire [Mon, 17 Feb 2014 09:51:03 +0000 (10:51 +0100)]
qtuio: correct install-target/staging when Qt library type is 'static'

If BR2_PACKAGE_QT_STATIC is set, qtuio will not build a .so file, but .a.
However, the custom INSTALL_TARGET_CMDS and INSTALL_STAGING_CMDS
unconditionally attempted to copy the .so file.

This commit checks the requested Qt library type and copies the right
library for each case, taking into account that the static .a file does not
need to be copied to the target directory.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovlc: explicitly disable opencv support
Samuel Martin [Sat, 15 Feb 2014 22:13:22 +0000 (23:13 +0100)]
vlc: explicitly disable opencv support

vlc can use opencv in video filters, but it requires a couple of
features enabled in opencv; so, simply force disabling opencv support.

Note that vlc does includes the legacy opencv/cv.h header, which pulls a
number of opencv's features (core, video, imgproc, ...).

Fixes:
  http://autobuild.buildroot.org/results/39c/39c77ffb5a5599d0b09422433c747b2bac185c4f/
  http://autobuild.buildroot.org/results/a79/a79b055da09e4d8ede263251df8461bc8a64569a/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobeaglebone: add DT for BeagleBone Black
Marcelo Gutiérrez(UTN/FRH) [Sat, 15 Feb 2014 16:45:52 +0000 (13:45 -0300)]
beaglebone: add DT for BeagleBone Black

The devicetree data for BeagleBone Black is the am335x–boneblack.dts file
(includes "am33xx.dtsi" and "am335x-bone-common.dtsi")

BeagleBone White uses the am335x-bone.dts file.

Signed-off-by: Marcelo Gutiérrez <kuyurix@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovlc: needs dependency on host-lua if Lua is selected
Thomas De Schampheleire [Sun, 16 Feb 2014 18:32:42 +0000 (19:32 +0100)]
vlc: needs dependency on host-lua if Lua is selected

If Lua support is requested in VLC, its configure script tries to find the
luac byte compiler, which fails if host-lua is not yet built.

This can be easily reproduced by setting a minimal config with vlc and Lua
enabled, and running: 'make clean toolchain vlc'. Final output is:

checking for LUA... no
configure: WARNING: Package lua5.2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua5.2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lua5.2' found, trying lua 5.1 instead
checking for LUA... no
configure: WARNING: Package lua5.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua5.1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lua5.1' found, trying lua >= 5.1 instead
checking for LUA... yes
checking for luac... no
configure: error: Could not find the LUA byte compiler.
make: *** [<buildroot>/output/build/vlc-2.1.2/.stamp_configured] Error 1

Fix this problem by setting host-lua as a dependency to vlc.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopencv: always enable opencv_core module when opencv is enabled
Samuel Martin [Sat, 15 Feb 2014 22:13:23 +0000 (23:13 +0100)]
opencv: always enable opencv_core module when opencv is enabled

It does not make much sense enabling opencv without its core module.

This configuration leads to build nothing (since all modules depend on
the core one), but install the configuration files (*.pc and *.cmake)
anyway.

This absurd situation may break the build-system of other packages
that would correctly find the *.pc (but does not check for the modules
they actually use), but would not build because of missing headers and
libraries.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agojimtcl: don't attempt to handle ccache internally
Thomas De Schampheleire [Fri, 14 Feb 2014 20:57:39 +0000 (21:57 +0100)]
jimtcl: don't attempt to handle ccache internally

jimtcl tries to use 'ccache' (a non-buildroot host version) which may not
exist on the host system. If ccache is enabled in buildroot, the compiler
used by jimtcl is:
ccache <buildroot>/.../ccache <buildroot>/.../<tuple>-gcc

If ccache is not present on the host, this results in the build error:

ccache <buildroot>/.../ccache <buildroot>/.../<tuple>-gcc
-D_GNU_SOURCE -Wall  -I. -fpic -pipe -Os    -c -o jim-subcmd.o jim-subcmd.c
make[1]: ccache: Command not found

This patch passes 'CCACHE=none' to the 'configure' script, disabling the
internal handling of ccache, so that ccache can be transparently passed
through CC.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoimagemagick: needs mmu
Romain Naour [Sat, 15 Feb 2014 15:52:11 +0000 (16:52 +0100)]
imagemagick: needs mmu

Fixes:
http://autobuild.buildroot.net/results/d2f/d2f673b71f771ab5a6435805e39338fd023f04c8/build-end.log

The complete log file says:
libMagickCore-6.Q16.so: undefined reference to `_fork'

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofeh: needs mmu
Peter Korsgaard [Sat, 15 Feb 2014 13:22:37 +0000 (14:22 +0100)]
feh: needs mmu

Fixes http://autobuild.buildroot.net/results/8f4/8f447412460e404aa723242dd8281b40317a017b/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocollectd: fix static linking
Peter Korsgaard [Sat, 15 Feb 2014 10:49:36 +0000 (11:49 +0100)]
collectd: fix static linking

collectd-tg indirectly uses pthread, but forgets to link with -pthread.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonetsnmp: fix static linking with openssl
Peter Korsgaard [Sat, 15 Feb 2014 08:18:35 +0000 (09:18 +0100)]
netsnmp: fix static linking with openssl

Fixes http://autobuild.buildroot.net/results/084/0845bde5d234bd00d23c7a1b7e18746882dcdde4/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agouclibc: copy config file from configure iso patch step
Thomas De Schampheleire [Thu, 13 Feb 2014 11:34:45 +0000 (12:34 +0100)]
uclibc: copy config file from configure iso patch step

The three typical packages that use .config files in buildroot copy the
config file at different times in the build process:

    busybox copies its .config from the post-extract hook.
    linux copies its .config in the configure_cmds.
    uclibc copies its .config from the post-patch hook.

Copying the .config file from the configure step is the only way to properly
support an OVERRIDE_SRCDIR that does not yet have the .config file, because
the extract and patch steps are skipped in that case.

In a previous patch, the situation was already fixed for busybox. This patch
applies the same fix to uclibc: copy the config file from the configure
step, as linux is doing.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobusybox: copy config file from configure iso extract step
Thomas De Schampheleire [Thu, 13 Feb 2014 11:34:44 +0000 (12:34 +0100)]
busybox: copy config file from configure iso extract step

The three typical packages that use .config files in buildroot copy the
config file at different times in the build process:

    busybox copies its .config from the post-extract hook.
    linux copies its .config in the configure_cmds.
    uclibc copies its .config from the post-patch hook.

Copying the .config file from the configure step is the only way to properly
support an OVERRIDE_SRCDIR that does not yet have the .config file, because
the extract and patch steps are skipped in that case.

For example, when setting a BUSYBOX_OVERRIDE_SRCDIR to a cleanly extracted
busybox tarball:

$ make busybox-dirclean busybox
rm -Rf [..]/output/build/busybox-custom
>>> busybox custom Syncing from source dir
>>> /home/tdescham/repo/contrib/busybox-1.21.1
rsync -au --exclude .svn --exclude .git --exclude .hg --exclude .bzr
            --exclude CVS /home/tdescham/repo/contrib/busybox-1.21.1/
            [..]/output/build/busybox-custom
>>> busybox custom Configuring
/bin/sed -i -e "/\\<CONFIG_NOMMU\\>/d"
                            [..]/output/build/busybox-custom/.config
/bin/sed: can't read [..]/output/build/busybox-custom/.config:
                                            No such file or directory
make: *** [[..]/output/build/busybox-custom/.stamp_configured] Error 2

This patch modifies busybox.mk to copy the config file from the configure
step instead, as linux is doing, and fixing the described scenario.

This fixes bug #5030: https://bugs.busybox.net/show_bug.cgi?id=5030

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodocs/web: give a little bit more exposure to our Google+ page
Thomas Petazzoni [Fri, 14 Feb 2014 09:19:40 +0000 (10:19 +0100)]
docs/web: give a little bit more exposure to our Google+ page

Add a small icon that links the Buildroot home page to our Google+
page.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonut: disable parallel builds
Romain Naour [Thu, 13 Feb 2014 21:17:55 +0000 (22:17 +0100)]
nut: disable parallel builds

The build system has a race condition causing build failure,
so ensure make -j1 is used.

Fixes:
http://autobuild.buildroot.net/results/0dd/0ddd856bcbec2db0500791fd428ba053d6e4fa1b/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonut: disable hal
Romain Naour [Thu, 13 Feb 2014 21:17:54 +0000 (22:17 +0100)]
nut: disable hal

[Peter: add to existing _CONF_OPT line as suggested by Yann]
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosystemd: fix build with uClibc toolchains
Thomas Petazzoni [Wed, 12 Feb 2014 22:13:00 +0000 (23:13 +0100)]
systemd: fix build with uClibc toolchains

Currently, the build of systemd is broken with the internal toolchain
backend, because we have uClibc patches that add support for
execvpe(), but we also have a patch for systemd that adds execvpe(),
which was added when the internal uClibc didn't support execvpe().

However, simply dropping the patch is not a solution, as it would
break the build of systemd with any other uClibc than the ones built
with Buildroot. For example, a Crosstool-NG uClibc toolchain would
fail.

Beyond this execvpe() problem, there are also other problems that
prevented systemd from being built with unpatched uClibc.

This patch does the following:

 * Add sequence numbers of systemd patches.
 * Regenerate them to avoid fuzz.
 * Improve the uClibc compatibility patch so that it:
   - Detects whether execvpe() is available or not, and if not
     available provide an implementation.
   - Detects if dup3() is available or not, and if not available
     provide an implementation.
   - Detects if MSG_CMSG_CLOEXEC is defined or not, and if not, define
     it to the appropriate value.

This has been tested with uClibc internal toolchain, uClibc external
toolchain built with Buildroot, uClibc external toolchain built with
Crosstool-NG, and glibc external toolchain.

Fixes bug #6776.

Fixes:

  http://autobuild.buildroot.org/results/591/591c6055430da334bd1e46e7d01497add45da837/build-end.log
  http://autobuild.buildroot.org/results/e58/e5851939d2837d4e35a4c1d9ca6df3c93ed5a34b/build-end.log
  http://autobuild.buildroot.org/results/92e/92e4c40c69a3feb4046b2fe5a0d8c69d5a44a157/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotrivial: update buildroot e-mail address to buildroot@buildroot.org
Thomas De Schampheleire [Wed, 12 Feb 2014 16:54:57 +0000 (17:54 +0100)]
trivial: update buildroot e-mail address to buildroot@buildroot.org

As the e-mail address buildroot@buildroot.org is now enabled, update the
e-mail addresses in the source tree from @uclibc.org and @busybox.net to our
own proper domain.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolxc: needs setns system call, disable on nios2
Ezequiel García [Wed, 12 Feb 2014 18:28:29 +0000 (15:28 -0300)]
lxc: needs setns system call, disable on nios2

Fixes http://autobuild.buildroot.net/results/f59/f592a011321429426be81bd1ecf664ad9a2c0161/

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/elfutils: disable for avr32
Yann E. MORIN [Wed, 12 Feb 2014 17:34:03 +0000 (18:34 +0100)]
package/elfutils: disable for avr32

Disable elfutils for avr32, because:
  - elfutils uses canonicalize_file_name, which came after uClibc-0.9.31.
  - avr32 uses a toolchain with uClibc-0.9.31

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboost: test module uses fork()
Peter Korsgaard [Wed, 12 Feb 2014 09:14:57 +0000 (10:14 +0100)]
boost: test module uses fork()

Fixes http://autobuild.buildroot.net/results/17dd7946631354d59336259d5f31aa899e3599b8/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocoreutils: correct next version in patch description
Baruch Siach [Wed, 12 Feb 2014 08:16:10 +0000 (10:16 +0200)]
coreutils: correct next version in patch description

The patch that commit a728e2fe35 (coreutils: fix build against uclibc
snapshot) adds mentions the wrong coreutils version in its description.

Also fix the sign-of tag while at it.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogcc: xtensa: fix __builtin_frame_address use with shared libgcc
Baruch Siach [Tue, 11 Feb 2014 14:25:22 +0000 (16:25 +0200)]
gcc: xtensa: fix __builtin_frame_address use with shared libgcc

The xtensa port uses __xtensa_libgcc_window_spill in libgcc to implement
__builtin_frame_address. This symbol is local/hidden in libgcc. This is not a
problem when linking against static libgcc. But g++ defaults to
-shared-libgcc, thus breaking link against C++ shared libraries that are using
__builtin_frame_address as follows:

ld: test: hidden symbol `__xtensa_libgcc_window_spill' in .../libgcc.a(lib2funcs.o) is referenced by DSO

Add upstream patches that make libgcc_s.so a linker script that links in
unresolved symbols from the static libgcc, similar to the ARM and PowerPC
ports.

Fixes:
http://autobuild.buildroot.net/results/e2d/e2d1a763fa86b8575e2e48e6d73c018175f43e7c/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocoreutils: fix build against uclibc snapshot
Baruch Siach [Tue, 11 Feb 2014 14:25:21 +0000 (16:25 +0200)]
coreutils: fix build against uclibc snapshot

uClibc development version adds support for POSIX spawn routines. However,
unlike glibc these routines are in librt. This breaks gnulib autoconf
detection. Teach gnulib autoconf to look for POSIX spawn in librt.

Fixes:
http://autobuild.buildroot.net/results/246/246b3778a1a646afd1c8b9c17b4579fb5a27120e/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogst1-libav: fix build for xtensa
Baruch Siach [Tue, 11 Feb 2014 14:25:20 +0000 (16:25 +0200)]
gst1-libav: fix build for xtensa

gst1-libav needs the same fix for xtensa like ffmpeg got in commit
4ec35e76b8a3 (ffmpeg: fix build for xtensa).

Fixes:
http://autobuild.buildroot.net/results/33f/33fcbb79809719f68f3ee2cdb0fcacad82b9e0eb/

[Peter: pass the correct flags, not the ones from ffmpeg]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoiozone: needs thread support in toolchain
Thomas Petazzoni [Tue, 11 Feb 2014 17:15:51 +0000 (18:15 +0100)]
iozone: needs thread support in toolchain

Fixes:

  http://autobuild.buildroot.org/results/2a3/2a33d2c7535a9d867d76dd5cf05e1bcc3f5cdc38//

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodocs/news.html: add 2014.02-rc1 announcement link
Peter Korsgaard [Tue, 11 Feb 2014 14:36:19 +0000 (15:36 +0100)]
docs/news.html: add 2014.02-rc1 announcement link

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobusybox: ensure SHA passwords are supported if used
Peter Korsgaard [Tue, 11 Feb 2014 13:59:16 +0000 (14:59 +0100)]
busybox: ensure SHA passwords are supported if used

As reported on IRC, our default busybox configuration doesn't support SHA
encoded passwords, breaking login if enabled under system configuration.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoUpdate for 2014.02-rc1
Peter Korsgaard [Tue, 11 Feb 2014 11:37:42 +0000 (12:37 +0100)]
Update for 2014.02-rc1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoCHANGES: update with recent changes
Peter Korsgaard [Tue, 11 Feb 2014 11:32:56 +0000 (12:32 +0100)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosdl: fix autoreconf timing issue
Maxime Hadjinlian [Tue, 11 Feb 2014 09:12:35 +0000 (10:12 +0100)]
sdl: fix autoreconf timing issue

Context:
The autobuilders were failing on the symbol _XData32 being in conflicts.
A patch had been added to SDL to add a check to the configure.in

Problem:
Sometimes, the build would fail, because of an _XData32 symbol being in
conflicts eventhrough the patch was here.

What was happening:
Following the classic buildroot workflow:
   - Extract
   - [...]
   - Apply 001 patch, which touches configure.in AND configure
   - Apply 002 patch, which touches configure.in
   - Invoke autogen.sh
   - [...]

Right before running autogen.sh, we have configure.in which is more
recent than configure, which is fine.
We then, execute autogen.sh which, basically, runs autoconf.

If your machine was lighty loaded, the time difference between
configure.in and configure was really tiny (ms order), which seems to be
neglected by autoconf.
The results was that the configure was *NOT* generated. And our second
patch was not taken into account.

If your machine was under heavy load, the time difference between the
two files would have been greater and then *maybe* picked up by
autoconf. And then the configure file was re-generated.

When the 0001 patch was introduced, SDL package did *NOT* run it's
autogen.sh, which is why it touches also the configure.
This came later, causing this behavior.

Fixes:
  http://autobuild.buildroot.net/results/d1c/d1c36f634dbf6b6e5d18444c2a23dfd129202b80/

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibsigsegv: disable for ARC
Anton Kolesov [Tue, 11 Feb 2014 09:19:12 +0000 (13:19 +0400)]
libsigsegv: disable for ARC

Fixes http://autobuild.buildroot.net/results/5cd/5cd051937a9471f7fb47363e868cb4b61d788d75/build-end.log

The ARC uClibc port doesn't provide ucontext_i.sym file required to enable
context manipulation routines that libsigsegv needs.

Signed-off-by: Anton Kolesov <anton.kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agorpcbind: uses fork(), needs MMU
Thomas Petazzoni [Tue, 11 Feb 2014 09:02:55 +0000 (10:02 +0100)]
rpcbind: uses fork(), needs MMU

Fixes:

  http://autobuild.buildroot.net/results/d7c/d7c788749b54275154cc3934a7a32385cd72be61/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoMakefile.legacy: fix recursive invocation with BUILDROOT_DL_DIR and _CONFIG
Arnout Vandecappelle [Mon, 10 Feb 2014 21:48:55 +0000 (22:48 +0100)]
Makefile.legacy: fix recursive invocation with BUILDROOT_DL_DIR and _CONFIG

The legacy support for the old BUILDROOT_DL_DIR and BUILDROOT_CONFIG
breaks down when make is invoked recursively - which is done in a few
cases, e.g. silentoldconfig, external-defs, ... These targets always
give a legacy error.

For BUILDROOT_DL_DIR, this is fixed by making sure that the original
value of BR2_DL_DIR taken from the environment is also exported again.

For BUILDROOT_CONFIG, this is fixed with an additional comparison of
the environment variable's value with the fake value that we introduce
ourselves.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agojpeg-turbo: fix "jpegtran" spelling in target-install hook
Danomi Manchego [Tue, 11 Feb 2014 02:07:38 +0000 (21:07 -0500)]
jpeg-turbo: fix "jpegtran" spelling in target-install hook

Use correct bin name so that JPEG_TURBO_REMOVE_USELESS_TOOLS fixup
actually removes it.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibjpeg: fix "jpegtran" spelling in target-install hook
Danomi Manchego [Tue, 11 Feb 2014 02:07:14 +0000 (21:07 -0500)]
libjpeg: fix "jpegtran" spelling in target-install hook

Use correct bin name so that LIBJPEG_REMOVE_USELESS_TOOLS fixup
actually removes it.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoCHANGES: update with recent changes
Peter Korsgaard [Mon, 10 Feb 2014 21:29:44 +0000 (22:29 +0100)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoconfigs/raspberrypi: remove packages not strictly required
Yann E. MORIN [Mon, 10 Feb 2014 20:53:25 +0000 (21:53 +0100)]
configs/raspberrypi: remove packages not strictly required

rpi-userland and libcoffi are not strictly required to boot up the
Raspberry Pi, so remove them from the defconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoconfigs/raspberrypi: bump kernel version
Yann E. MORIN [Mon, 10 Feb 2014 20:53:24 +0000 (21:53 +0100)]
configs/raspberrypi: bump kernel version

Bump from rpi-3.10.27 to rpi-3.10.29.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocpanminus: remove it
Francois Perrad [Mon, 10 Feb 2014 12:23:15 +0000 (13:23 +0100)]
cpanminus: remove it

cpanminus was marked as broken, now it becomes useless with the Perl infrastructure.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoperl: remove useless patch
Francois Perrad [Mon, 10 Feb 2014 12:23:13 +0000 (13:23 +0100)]
perl: remove useless patch

The Perl infrastructure uses a host version of Module-Build
(see previous commit "host-perl-module-build: new package").
The target version is never used, so no need to patch it.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agohost-perl: export and rename PERL5LIB
Francois Perrad [Mon, 10 Feb 2014 12:23:08 +0000 (13:23 +0100)]
host-perl: export and rename PERL5LIB

The official Perl documentation refers only to PERL5LIB.
PERLLIB is obsolete, we don't need to be compatible with Perl4.

PERL5LIB is used in all environment, so it is simpler to just export it.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobeaglebone: change to zImage
Anders Darander [Mon, 10 Feb 2014 08:40:00 +0000 (09:40 +0100)]
beaglebone: change to zImage

The default U-Boot configuration is now to use a zImage instead of uImage.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobeaglebone: update to latest U-Boot
Anders Darander [Mon, 10 Feb 2014 08:39:59 +0000 (09:39 +0100)]
beaglebone: update to latest U-Boot

Update to the default version of U-Boot, at this time 2013.10.

Tested with an old uEnv.txt (i.e. using uImage) and with the
currently prefered zImage.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoam33x-cm3: update to latest version
Anders Darander [Mon, 10 Feb 2014 08:39:58 +0000 (09:39 +0100)]
am33x-cm3: update to latest version

This goes hand-in-hand with the kernel update.
The version is taken from meta-ti.

The new kernel version, 3.12, requires a newer PM FW.

This should correspond to v05.00.00.02, though that tag
has not been pushed...

Signed-off-by: Anders Darander <anders@chargestorm.se>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobeaglebone: update to TI 3.12 kernel
Anders Darander [Mon, 10 Feb 2014 08:39:57 +0000 (09:39 +0100)]
beaglebone: update to TI 3.12 kernel

Git repo version is taken from meta-ti.
It's a 3.12.10 kernel with TI's own patches on top.

The defconfig has been kept rather close to our old defconfig.
The kernel has been boot-tested using an NFS-root.

Apart from the kernel change, the linux headers has also been
updated from 3.8.12 to 3.12.10.

[Peter: drop UEVENT_HELPER_PATH setting]
Signed-off-by: Anders Darander <anders@chargestorm.se>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomadplay: fixes build when toolchain has locale support
Julien Boibessot [Mon, 10 Feb 2014 10:17:48 +0000 (11:17 +0100)]
madplay: fixes build when toolchain has locale support

Otherwise build fails in intl/relocatable.c with:
./relocatable.c: In function 'libintl_relocate':
./relocatable.c:402:40: error: 'INSTALLPREFIX' undeclared (first use in this function)
./relocatable.c:402:40: note: each undeclared identifier is reported only once for each function it appears in

[Peter: drop redundant 'else' part]
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibtorrent: disable on ARC arch
Anton Kolesov [Mon, 10 Feb 2014 14:09:41 +0000 (18:09 +0400)]
libtorrent: disable on ARC arch

Libtorrent has dependencies on atomic operations. However ARC GCC doesn't
implement those at the moment so package should be disabled. Rtorrent
depends on libtorrent.

This fixes:
http://autobuild.buildroot.net/results/51414e22c8ea47c38df20d864526a370c5a895d7/

Signed-off-by: Anton Kolesov <anton.kolesov@synopsys.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobarebox: bump to version 2014.02.0
Fabio Porcedda [Mon, 10 Feb 2014 08:19:36 +0000 (09:19 +0100)]
barebox: bump to version 2014.02.0

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodocs/news.html: add report from FOSDEM meeting
Peter Korsgaard [Sun, 9 Feb 2014 22:12:43 +0000 (23:12 +0100)]
docs/news.html: add report from FOSDEM meeting

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux: don't automatically set uevent_helper with mdev /dev management
Thomas De Schampheleire [Fri, 7 Feb 2014 08:20:59 +0000 (09:20 +0100)]
linux: don't automatically set uevent_helper with mdev /dev management

When mdev /dev management is chosen in the buildroot configuration, the
Linux configuration is updated automatically to set option
CONFIG_UEVENT_HELPER_PATH to "/sbin/mdev". However, the help text of this
option explicitly recommends not setting this option due to large
performance impact during boot (experienced first hand by the reporter ánd
author).

The mdev startup script S10mdev already sets the helper during userspace
boot, which will make sure mdev is working correctly.

Fixes bug #6596: https://bugs.busybox.net/show_bug.cgi?id=6596

Reported-by: Andreas Koop <andreas.koop@zf.com>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoCHANGES: update with recent changes
Peter Korsgaard [Sun, 9 Feb 2014 21:46:26 +0000 (22:46 +0100)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfra: replace BUILDROOT_CONFIG with BR2_CONFIG
Arnout Vandecappelle [Tue, 4 Feb 2014 15:18:52 +0000 (16:18 +0100)]
infra: replace BUILDROOT_CONFIG with BR2_CONFIG

To make the naming consistent (all user-visible options should be
prefixed with BR2_).

An entry is added to Makefile.legacy to warn users who have set
BUILDROOT_CONFIG but not BR2_CONFIG.

Still export BUILDROOT_CONFIG but pointing to some phony value, to
make sure that scripts that still use it fail in a predictable way.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Jérémy Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovlc: fix typo when setting VLC_CONF_ENV
Samuel Martin [Sun, 9 Feb 2014 12:47:12 +0000 (13:47 +0100)]
vlc: fix typo when setting VLC_CONF_ENV

Fixes:
  http://autobuild.buildroot.org/results/917/917c26656557d50f869639162ec7e9d0f3399824/build-end.log

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovlc: fix glx support
Samuel Martin [Sun, 9 Feb 2014 12:47:11 +0000 (13:47 +0100)]
vlc: fix glx support

glx support is provided by the mesa3d package; so, enable it only when
mesa3d is part of the package selection.

Fixes:
  http://autobuild.buildroot.org/results/9b4/9b46021ea0064850ce8f1adcb5455d6da5bff459/build-end.log

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agokexec: fix build failure
Samuel Martin [Sun, 9 Feb 2014 12:47:10 +0000 (13:47 +0100)]
kexec: fix build failure

Add patch retrived from upstream and fixing undefined bzImage_support_efi_boot
build failure.

Fixes:
  http://autobuild.buildroot.org/results/c35/c3525dd25a37db7a976c7019901160e449363b5d/build-end.log

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agokexec: rename patch to add sequence number
Samuel Martin [Sun, 9 Feb 2014 12:47:09 +0000 (13:47 +0100)]
kexec: rename patch to add sequence number

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotrace-cmd: needs mmu
Romain Naour [Sun, 9 Feb 2014 13:04:27 +0000 (14:04 +0100)]
trace-cmd: needs mmu

Fixes:
http://autobuild.buildroot.net/results/0b7/0b73c684b3d7edcd818cb113fda534e552028d58/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotrace-cmd: disable on avr32
Romain Naour [Sun, 9 Feb 2014 10:46:55 +0000 (11:46 +0100)]
trace-cmd: disable on avr32

AVR32 does not have TLS support.

Fixes:
http://autobuild.buildroot.net/results/e24/e24af3ceb125da50f0f5cbffb0e3ca091c68af33/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfra: replace BUILDROOT_DL_DIR with BR2_DL_DIR.
Arnout Vandecappelle [Tue, 4 Feb 2014 15:18:51 +0000 (16:18 +0100)]
infra: replace BUILDROOT_DL_DIR with BR2_DL_DIR.

To make the naming consistent (all user-visible options should be
prefixed BR2_).

An entry is added to Makefile.legacy to warn users who have set
BUILDROOT_DL_DIR but not BR2_DL_DIR.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agokmod: really pass --disable-manpages
Peter Korsgaard [Sun, 9 Feb 2014 08:34:17 +0000 (09:34 +0100)]
kmod: really pass --disable-manpages

The line below overwrites KMOD_CONF_OPT, so move the --disable-manpages
options below.

Fixes http://autobuild.buildroot.net/results/842/842131307c171e1bc5a1e918996d53b00ddb1be3/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopkg-autotools: fixup pkg_CONFIGURE_CMDS after DISABLE_DOCUMENTATION removal
Peter Korsgaard [Sun, 9 Feb 2014 00:00:22 +0000 (01:00 +0100)]
pkg-autotools: fixup pkg_CONFIGURE_CMDS after DISABLE_DOCUMENTATION removal

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfra: remove separate definition of DISABLE_DOCUMENTATION
Thomas De Schampheleire [Wed, 5 Feb 2014 13:51:00 +0000 (14:51 +0100)]
infra: remove separate definition of DISABLE_DOCUMENTATION

Since we now always disable documentation on target, there is no need to
have a separate variable DISABLE_DOCUMENTATION anymore.

Suggested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agokernel-headers: remove deprecated versions 3.1, 3.3, 3.5
Thomas De Schampheleire [Wed, 5 Feb 2014 13:50:59 +0000 (14:50 +0100)]
kernel-headers: remove deprecated versions 3.1, 3.3, 3.5

The Linux kernel headers versions 3.1, 3.3, and 3.5 have been deprecated
since 2013.02 and thus can be removed in 2014.02.
For legacy handling, we automatically select versions 3.2, 3.4, and 3.6,
respectively.

Additionally, this patch removes the now unused symbol
BR2_DEPRECATED_SINCE_2013_02.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogdb: remove deprecated versions 7.2.x and 7.3.x
Thomas De Schampheleire [Wed, 5 Feb 2014 13:50:58 +0000 (14:50 +0100)]
gdb: remove deprecated versions 7.2.x and 7.3.x

Gdb versions 7.2.x and 7.3.x have been deprecated since 2013.02 and thus can
be removed in 2014.02.
For legacy handling, version 7.5.x is automatically selected.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoccache: remove deprecated target package
Thomas De Schampheleire [Wed, 5 Feb 2014 13:50:57 +0000 (14:50 +0100)]
ccache: remove deprecated target package

The ccache target package has been deprecated since 2013.02 and thus can be
removed in 2014.02. This does not change anything about host ccache (used
for speeding up builds).

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackages: remove support for documentation on target
Thomas De Schampheleire [Wed, 5 Feb 2014 13:50:56 +0000 (14:50 +0100)]
packages: remove support for documentation on target

This patch removes deprecated symbol BR2_HAVE_DOCUMENTATION and all its
usage. Additionally, it removes the now unused BR2_DEPRECATED_SINCE_2012_11.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoautomake: remove deprecated target package
Thomas De Schampheleire [Wed, 5 Feb 2014 13:50:55 +0000 (14:50 +0100)]
automake: remove deprecated target package

The automake support on target has been deprecated for more than four
buildroot releases and thus can be removed. This doesn't change anything
about the host automake support.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoautoconf: remove deprecated target package
Thomas De Schampheleire [Wed, 5 Feb 2014 13:50:54 +0000 (14:50 +0100)]
autoconf: remove deprecated target package

The autoconf support on target has been deprecated for more than four
buildroot releases and thus can be removed. This doesn't change anything
about the host autoconf support.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoxstroke: remove deprecated package
Thomas De Schampheleire [Wed, 5 Feb 2014 13:50:53 +0000 (14:50 +0100)]
xstroke: remove deprecated package

xstroke has been deprecated since 2013.02 and thus can be removed in
2014.02.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/squashfs: add selection for the host variant
Yann E. MORIN [Fri, 3 Jan 2014 17:19:34 +0000 (18:19 +0100)]
package/squashfs: add selection for the host variant

If any of the post-image scripts wants to handle squashfs filesystems,
we need to expose an option for squashfs-tools to be user-selectable.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ryan Barnett <rjbarnet@rockwellcollins.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agokexec: bump to 2.0.5
Baruch Siach [Thu, 6 Feb 2014 06:17:56 +0000 (08:17 +0200)]
kexec: bump to 2.0.5

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogdb: move version selection from gdb.mk to Config.in.host
Arnout Vandecappelle [Wed, 29 Jan 2014 21:44:41 +0000 (22:44 +0100)]
gdb: move version selection from gdb.mk to Config.in.host

This avoids duplication of the version selection between these two files.

Cc: Spenser Gilliland <spenser@gillilanding.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosnmppp: bump to version 3.3.3
Axel Lin [Thu, 6 Feb 2014 12:06:27 +0000 (20:06 +0800)]
snmppp: bump to version 3.3.3

Changes snmp++v3.3.3

====================

- Fixed: [APP-30] SNMP++ cannot BER decode Oids starting with 2 and
  with second sub-identifier >39 correctly.
- Fixed: [APP-31] SNMP++ does not encode Oids starting with 2 and
  second sub-ID greater than 47 correctly.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosysstat: bump to version 10.2.1
Axel Lin [Thu, 6 Feb 2014 12:01:37 +0000 (20:01 +0800)]
sysstat: bump to version 10.2.1

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofs/ubi: add option to use custom ubinize config file
Danomi Manchego [Wed, 29 Jan 2014 04:54:00 +0000 (23:54 -0500)]
fs/ubi: add option to use custom ubinize config file

By default, the UBI FS target creates a ubinize configuration
file on-the-fly, for a single volume.  Add an option to specify
a custom config file.

E.g., one might want to deploy a system with a volume for the
built ubifs image, a volume for a future upgrade image, and a
volume for user data.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogpsd: disable for microblaze arch
Ryan Barnett [Thu, 6 Feb 2014 22:56:57 +0000 (23:56 +0100)]
gpsd: disable for microblaze arch

gpsd will fail on an internal compiler error for the microblaze
architecture so disabling it on that architecture.

Fixes:
  http://autobuild.buildroot.org/results/42d/42da870722f24e4202d8265597771a0449e74cfd

[Peter: add comment explaining why]
Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodmraid: disable on ARC arch
Ryan Barnett [Thu, 6 Feb 2014 22:56:56 +0000 (23:56 +0100)]
dmraid: disable on ARC arch

The ARC compiler has an internal failure while compiling this package
so disable this package for this architecture.

Fixes:
  http://autobuild.buildroot.net/results/ef6/ef6a0e2d382ae202bb8f0e9fc9f5e48c90119faf

[Peter: add comment explaining why]
Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoRevert "util-linux: add nsenter option"
Peter Korsgaard [Sat, 8 Feb 2014 21:40:18 +0000 (22:40 +0100)]
Revert "util-linux: add nsenter option"

This reverts commit 9f91d79601da42516752318beecfd080dc05aac9.

Not all toolchains have setns(), and the configure script automatically
enables nsenter if it does, so get rid of the explicit option.

See http://lists.busybox.net/pipermail/buildroot/2014-February/088669.html
for details.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoapply-patches.sh: make scan_patchdir work recursively
Thomas De Schampheleire [Fri, 7 Feb 2014 10:16:28 +0000 (11:16 +0100)]
apply-patches.sh: make scan_patchdir work recursively

scan_patchdir is called recursively. For this to work properly, the
variable path which is set to $1 at the very beginning must be local not
global.

A test case is to set BR2_GLOBAL_PATCH_DIR to 'mypatches' and having the
following tree in the buildroot root:

$ find mypatches/
mypatches/
mypatches/busybox
mypatches/busybox/subdir.patch
mypatches/busybox/subdir.patch/busybox-0001-abc.patch
mypatches/busybox/busybox-0002-def.patch
mypatches/busybox/asubdir.patch
mypatches/busybox/asubdir.patch/busybox-0003-xyz.patch

When running 'make busybox-dirclean busybox-patch' originally, you'd get:

    Applying busybox-0003-xyz.patch using patch:

    Applying busybox-0002-def.patch using patch:
    Error: missing patch file
    mypatches/busybox/asubdir.patch/busybox-0002-def.patch

While with this fix:

    Applying busybox-0003-xyz.patch using patch:

    Applying busybox-0002-def.patch using patch:

    Applying busybox-0001-abc.patch using patch:

This fixes bug #6434 (https://bugs.busybox.net/show_bug.cgi?id=6434)

Signed-off-by: Daniel Mentz <daniel@exxm.de>
[Thomas: update commit message with test case]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual: $(BR2_EXTERNAL)/{Config.in, external.mk} are mandatory
Yann E. MORIN [Sat, 8 Feb 2014 16:04:02 +0000 (17:04 +0100)]
manual: $(BR2_EXTERNAL)/{Config.in, external.mk} are mandatory

The manual is a bit vague about whether Config.in and external.mk
are mandatory or optional.

Make it explicit in the manual that they are mandatory.

Reported-by: Jérémy Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>