buildroot.git
9 years agoconfigs: add defconfig for Atmel at91sam9rlek
Alexandre Belloni [Tue, 19 May 2015 14:21:41 +0000 (16:21 +0200)]
configs: add defconfig for Atmel at91sam9rlek

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs: update at91sam9g45m10ek defconfig
Alexandre Belloni [Tue, 19 May 2015 14:21:40 +0000 (16:21 +0200)]
configs: update at91sam9g45m10ek defconfig

Use kernel (3.18) and u-boot (2015.01) from Atmel's repositories.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboards/raspberrypi: update instructions
Yann E. MORIN [Mon, 29 Jun 2015 22:07:46 +0000 (00:07 +0200)]
boards/raspberrypi: update instructions

Now that we have a sanitised set of defconfig files, and we no longer
support non-DT setups, update and simplify the board readme file.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfig/raspberrypi: rename our non-DT defconfig file
Yann E. MORIN [Mon, 29 Jun 2015 22:07:45 +0000 (00:07 +0200)]
config/raspberrypi: rename our non-DT defconfig file

Since we no longer have a non-DT defconfig, and we no longer want to
advertise such a possibility (non-DT is being phased out), just rename
the DT-enabled defconfig file.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfig/raspberrypi: remove non-DT defconfig
Yann E. MORIN [Mon, 29 Jun 2015 22:07:44 +0000 (00:07 +0200)]
config/raspberrypi: remove non-DT defconfig

The RPi is slowly but surely dropping support for booting without a DTB,
so just ditch our old defconfig now that we have up-to-date DT-enabled
defconfigs for all RPi models (save for the compute module).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs/raspberrypi2: update our defconfig
Yann E. MORIN [Mon, 29 Jun 2015 22:07:43 +0000 (00:07 +0200)]
configs/raspberrypi2: update our defconfig

Update to the latest stable kernel version (4.0.y); build an in-tree DTB.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs/raspberrypi: update the DT-enabled config
Yann E. MORIN [Mon, 29 Jun 2015 22:07:42 +0000 (00:07 +0200)]
configs/raspberrypi: update the DT-enabled config

Update to the latest stable kernel version; build an in-tree DTB; use
a in-tree defconfig; enable C++ (to match what we have in the non-DT
variant); do not install DTB overlays (this minimalist config does not
make use of them).

Generate the DTBs for both the "original" variant (A and B) and the
"Plus" variant (A+ and B+).

Drop our custom linux defconfig file now we use an in-tree one.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: bump default to version 4.1.1
Gustavo Zacarias [Tue, 30 Jun 2015 11:07:24 +0000 (08:07 -0300)]
linux: bump default to version 4.1.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-headers: bump 3.{10, 14, 18}.x and 4.{0, 1}.x series
Gustavo Zacarias [Tue, 30 Jun 2015 11:07:23 +0000 (08:07 -0300)]
linux-headers: bump 3.{10, 14, 18}.x and 4.{0, 1}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomonkey: fix building with debugging symbols
Bartosz Golaszewski [Tue, 30 Jun 2015 10:55:20 +0000 (12:55 +0200)]
monkey: fix building with debugging symbols

Fix a typo in the monkey package - should be MONKEY_CONF_OPTS
instead of MONKEY_CONF_OPT.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopulseview: bump commit hash
Bartosz Golaszewski [Tue, 30 Jun 2015 10:41:14 +0000 (12:41 +0200)]
pulseview: bump commit hash

Include commit ec6cc07f which fixes an issue causing build failures
on several architectures.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibsigrok: bump commit hash
Bartosz Golaszewski [Tue, 30 Jun 2015 10:41:13 +0000 (12:41 +0200)]
libsigrok: bump commit hash

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogdbm: handle optional dependency gettext
Francois Perrad [Wed, 27 May 2015 19:39:39 +0000 (21:39 +0200)]
gdbm: handle optional dependency gettext

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobinutils: update to the latest ARC version by default
Thomas Petazzoni [Tue, 30 Jun 2015 10:36:34 +0000 (12:36 +0200)]
binutils: update to the latest ARC version by default

Following commit 36555b4c8dce27822ecbbed58798f887ad452b18 ("ARC:
switch to RC1 of upcoming arc-2015.06 tools"), the binutils package
only contains the hash information for the 2015.06-rc1 ARC version of
binutils (which is in fact no hash). However, when an external
toolchain is used, and binutils is built for the target, it's still
the old 2014.11 binutils version that gets used in binutils.mk,
causing a build failure because there is no hash available for this
version.

This commit fixes that by using 2015.06-rc1 as the default binutils
version on ARC, which is used when no host-binutils has been built.

Fixes:

  http://autobuild.buildroot.org/results/8f7/8f772e6fccb4f918120a7bb814da2224432d1c09/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agouclibc-ng: fix parallel build issue for arm/xtensa when LOCALE support is enabled
Waldemar Brodkorb [Tue, 30 Jun 2015 04:33:36 +0000 (06:33 +0200)]
uclibc-ng: fix parallel build issue for arm/xtensa when LOCALE support is enabled

This patch should fix any parallel build issues found
by autobuilder lately, f.e.:
http://autobuild.buildroot.net/results/43dd5c5da0d003b654fd252c989d49c2e5872827/
http://autobuild.buildroot.net/results/cfb438f933ff7385d612d65798b0b8ed833a6476/
and many more.
Will be committed upstream, if autobuilders are working.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopure-ftpd: fix hash and use .bz2 tarball
Thomas Petazzoni [Tue, 30 Jun 2015 10:25:50 +0000 (12:25 +0200)]
pure-ftpd: fix hash and use .bz2 tarball

For some reason, the hash file added in commit
ee6c9f5a1bc1995d968214345c011a44a3c145c8 by Gustavo turns out to be
wrong, so this commit replaces it with the proper hash, also added
after checking the GPG signature.

While at it, we switch to using a .bz2 tarball.

Fixes:

  http://autobuild.buildroot.org/results/c44/c441f35119191f47dd5fae96fd76827024e50329/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomonkey: new package
Morgan Delestre [Mon, 29 Jun 2015 09:02:43 +0000 (09:02 +0000)]
monkey: new package

Monkey is a small, fast and lightweight open source Web Server for
GNU/Linux.  It has been designed with focus in embedded devices,
therefore its scalable by nature having a low memory and CPU
consumption and an excellent performance.

[Thomas:
  - Add missing dependency on !BR2_STATIC_LIBS (the source code uses
    dlopen) and BR2_USE_MMU (the source code uses fork)
  - Slightly adjust/reword the description of the
    BR2_PACKAGE_MONKEY_SHARED option.
  - Remove all the complicated installation logic for the target, and
    just use "make install" instead.
  - Pass --no-backtrace when uClibc is used, otherwise the build fails
    because <execinfo.h> is not available in uClibc.
  - Pass $(TARGET_CONFIGURE_OPTS) in the environment of the configure
    script., otherwise monkey gets built for the host and not for the
    target.
  - Add a post install target hook to remove a broken symlink
    libmonkey.so installed by Monkey's Makefile when the shared
    library is not enabled.
  - Use TARGET_MAKE_ENV when calling make, just because we should.
  - Pass --malloc-libc so that the libc malloc() is used instead of
    the builtin jemalloc allocator, which requires more work to
    cross-compile properly.
  - Add missing empty line after the .mk header and before the first
    variable definition.]

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rpi-userland: bump version
Yann E. MORIN [Sun, 28 Jun 2015 22:25:14 +0000 (00:25 +0200)]
package/rpi-userland: bump version

Misc fixes and improvements all over the place...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rpi-firmware: bump version
Yann E. MORIN [Sun, 28 Jun 2015 22:25:13 +0000 (00:25 +0200)]
package/rpi-firmware: bump version

Misc enhancements and fixes all over the place, most notably:
  - FW: fix overclocking, better prioritise sound, fix CMA L1 cache,
        improved DTB/DTB-overlay support, SDcard freq fixes,
        voltages...
  - video: fix decoding weird stuff, fix stereo output...
  - camera: raw image capture, HDR (really?)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rpi-firmware: add option to install DTB overlays
Yann E. MORIN [Sun, 28 Jun 2015 22:25:11 +0000 (00:25 +0200)]
package/rpi-firmware: add option to install DTB overlays

Currently, Buildroot does not support building the overlays that are
bundled in the Linux kernel, so all we can do is install the ones
pre-built in rpi-firmware.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agorpi-firmware: allow disabling installation of binary DTBs
Floris Bos [Sun, 28 Jun 2015 22:25:10 +0000 (00:25 +0200)]
rpi-firmware: allow disabling installation of binary DTBs

The binary .dtb files are not suitable for everyone as they are
kernel-version specific.

Reintroduce BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS option.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
[yann.morin.1998@free.fr: don't install DTBs if kernel builds
 its own; fix default; rephrase help text]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosystemd: bump to version 221
Vicente Olivert Riera [Mon, 29 Jun 2015 13:14:43 +0000 (15:14 +0200)]
systemd: bump to version 221

- Bump to version 221
- Update hash file

- Add --disable-gnuefi to configure options to avoid a failure like this
  one:

  checking for /usr/lib/gnuefi/elf_ia32_efi.lds... configure: error:
  cannot check for file existence when cross compiling

- Remove gudev logic since it has been removed from the systemd tree and
  it is now an external project.

Announcement URL:

  http://lists.freedesktop.org/archives/systemd-devel/2015-June/033170.html

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqemu: enable for aarch64
Gustavo Zacarias [Mon, 29 Jun 2015 14:13:34 +0000 (11:13 -0300)]
qemu: enable for aarch64

Enable the target qemu for aarch64 since it works just fine.
Only tested using userland CPU emulation (no HYP) with a
qemu_aarch64_virt_defconfig image inside a qemu_aarch64_virt_defconfig
instance.

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoperl-cross: bump to version 0.9.7
Francois Perrad [Mon, 29 Jun 2015 07:03:17 +0000 (09:03 +0200)]
perl-cross: bump to version 0.9.7

fix some build failures,
see https://github.com/arsv/perl-cross/issues/17

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolive555: bump to version 2015.06.25
Jerzy Grzegorek [Mon, 29 Jun 2015 06:01:09 +0000 (08:01 +0200)]
live555: bump to version 2015.06.25

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoiproute2: tipc support needs 3.18+ headers
Gustavo Zacarias [Mon, 29 Jun 2015 12:45:54 +0000 (09:45 -0300)]
iproute2: tipc support needs 3.18+ headers

Fixes:
http://autobuild.buildroot.net/results/173/173c9dbed6422a3cc4f9d1f998bc25ce2e9538c7/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotor: needs thread support
Thomas Petazzoni [Mon, 29 Jun 2015 15:43:13 +0000 (17:43 +0200)]
tor: needs thread support

Fixes:

  http://autobuild.buildroot.org/results/4f7/4f758978f6820ecceaad57385f3c104011180c4d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibpng: rebase ignore-symbol-prefix patch to apply cleanly
Danomi Manchego [Thu, 25 Jun 2015 03:23:48 +0000 (23:23 -0400)]
libpng: rebase ignore-symbol-prefix patch to apply cleanly

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonginx: bump to 1.8.0 (latest stable version)
Danomi Manchego [Thu, 25 Jun 2015 04:14:20 +0000 (00:14 -0400)]
nginx: bump to 1.8.0 (latest stable version)

Patches refreshed to apply with no shift or fuzz.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonginx: fix nginx.old clean-up
Danomi Manchego [Thu, 25 Jun 2015 03:32:49 +0000 (23:32 -0400)]
nginx: fix nginx.old clean-up

The bin path for nginx is configured for /usr/sbin, so deleting
the nginx.old back-up from /usr/bin never works.  Fix path, and
also use "$(RM)" instead of "-$(RM)", as "rm -f" never fails.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Tested-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/vlc: Add libsidplay2 as optional dependency
Bernd Kuhls [Thu, 18 Jun 2015 20:19:41 +0000 (22:19 +0200)]
package/vlc: Add libsidplay2 as optional dependency

vlc has a sid plugin:

$ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a
  output/target/usr/lib/vlc/plugins/demux/libsid_plugin.so |
  grep NEEDED | grep sid
 0x00000001 (NEEDED)     Shared library: [libsidplay2.so.1]
 0x00000001 (NEEDED)     Shared library: [libresid-builder.so.0]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobusybox: added linux-pam support
Matt Weber [Tue, 2 Jun 2015 13:28:26 +0000 (08:28 -0500)]
busybox: added linux-pam support

Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
9 years agoglog: disable on blackfin external toolchains
Rahul Bedarkar [Thu, 25 Jun 2015 13:43:24 +0000 (19:13 +0530)]
glog: disable on blackfin external toolchains

With following blackfin toolchains

BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1
BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1
BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2

when BR2_BINFMT_FDPIC=y

../usr/include/bits/elf-fdpic.h: In function 'void* __reloc_pointer(void*, const elf32_fdpic_loadmap*)':
../usr/include/bits/elf-fdpic.h:95: error: invalid use of 'void'

code snippet at line 95 in elf-fdpic.h
-------------------------------------------------------
unsigned long offset = p - (void*)map->segs[c].p_vaddr;
-------------------------------------------------------

void pointer addition and subtraction is not allowed in C++ as it has undetermined size,
however in C with language extension it is possible because sizeof void is treated
as one byte.

This is toolchain-specific issue. So disable package on these external toolchains.

fixes:
http://autobuild.buildroot.net/results/c70/c704c70ae2f066f85dd6a5fa6a73789bc358d368/

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoglog: add dependency on dynamic library
Rahul Bedarkar [Thu, 25 Jun 2015 13:43:23 +0000 (19:13 +0530)]
glog: add dependency on dynamic library

when BR2_STATIC_LIBS=y

src/symbolize.cc:110:19: error: dlfcn.h: No such file or directory

glog requires dlfcn.h header. So add dependency on dynamic library

fixes:
http://autobuild.buildroot.net/results/75d/75d17ceb764c2c1136047c089a0c554770ca98a4/

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs/olimex_a20_olinuxino_lime_mali_defconfig: new board
Francois Perrad [Fri, 26 Jun 2015 10:06:57 +0000 (12:06 +0200)]
configs/olimex_a20_olinuxino_lime_mali_defconfig: new board

This commit adds a new defconfig for the Olimex A20 OLinuxino Lime
board, based on the 3.4.x vendor specific kernel, which allows to use
the Mali 3D acceleration for OpenGL support.

Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs/olimex_a20_olinuxino_lime: new board
Francois Perrad [Fri, 26 Jun 2015 10:06:56 +0000 (12:06 +0200)]
configs/olimex_a20_olinuxino_lime: new board

This commit adds a new defconfig for the Olimex A20 OLinuxino Lime
board, based on the 4.x mainline kernel.

Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibaio: introduce a BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS option
Maxime Ripard [Thu, 25 Jun 2015 14:04:55 +0000 (16:04 +0200)]
libaio: introduce a BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS option

In order to allow other packages to easily select libaio without
duplicating its complicated architecture dependencies, this commit
introduces a BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS blind option.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosunxi-mali: bump version
Francois Perrad [Fri, 26 Jun 2015 08:13:37 +0000 (10:13 +0200)]
sunxi-mali: bump version

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibump: new package
Francois Perrad [Fri, 26 Jun 2015 08:13:36 +0000 (10:13 +0200)]
libump: new package

previously, this library was a part of sunxi-mali

[Thomas: add missing comment about the glibc dependency.]

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nodejs: Update to allow selecting node.js version
Martin Bark [Sat, 27 Jun 2015 02:01:34 +0000 (03:01 +0100)]
package/nodejs: Update to allow selecting node.js version

[Thomas: fix minor Config.in formatting issues pointed by Yann.]

Signed-off-by: Martin Bark <martin@barkynet.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agouclibc: use the ARC-specific uClibc by default on ARC
Thomas Petazzoni [Sun, 28 Jun 2015 13:11:12 +0000 (15:11 +0200)]
uclibc: use the ARC-specific uClibc by default on ARC

Following the switch to uClibc-ng as the default library, uClibc-ng
was also used as the default on ARC, while we actually want to use the
ARC specific version by default on this architecture.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoARC: switch to RC1 of upcoming arc-2015.06 tools
Alexey Brodkin [Fri, 26 Jun 2015 19:27:20 +0000 (22:27 +0300)]
ARC: switch to RC1 of upcoming arc-2015.06 tools

Even though this is only RC1 it's been heavily used internally so it should
not be any worse than existing arc-2014.12.

Moreover this relase (and so its RC1) finally delivers support of NPTL
for ARC in uClibc.

That's why it would be good to allow interested users to start trying it
(for example WebKit and apps that use WebKit could be successfully built
and run) also it will be helpful to run that new toolchain through
autobuilder in attempt to find any hidden regressions so we have a solid
toolchain for release.

If there's an interest in that patch more patches will follow with
subsequent RCs and essentially on appearence or relese Buildroot will be
updated with it.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain: allow for stupid toolchains
Guido Martínez [Fri, 26 Jun 2015 17:33:20 +0000 (14:33 -0300)]
toolchain: allow for stupid toolchains

check_arm_abi builds a test C file to check that the toolchain is
working correctly, with the output redirected to /dev/null.

However, some toolchains (OSELAS 2014.12.0, for instance) foolishly
append ".gdb" to the output filename for an intermediate file, causing
an attempt to write to /dev/null.gdb, which obviously fails.

Fix this by adding changing the output to a temporary file, which is
later removed along with any other "suffixed" files.

Suggested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoarm: update processor types
Guido Martínez [Fri, 26 Jun 2015 17:33:19 +0000 (14:33 -0300)]
arm: update processor types

Add the Cortex M3 variant. These microcontrollers don't support regular
ARM instructions and don't have an MMU.

Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocore/pkg-kconfig: allow saving config to a non-existing custom config file
Yann E. MORIN [Sat, 13 Jun 2015 16:46:37 +0000 (18:46 +0200)]
core/pkg-kconfig: allow saving config to a non-existing custom config file

A very interesting use-case for a kconfig-based package is to create a
custom (def)config file based on one bundled with the package itself,
like described in PR-8156:

    make menuconfig
     -> enable kernel, use an in-tree defconfig, save and exit
    make linux-menuconfig
     -> enable/disable whatever option, save and exit
    make menuconfig
     -> change to use a custom defconfig file, set a path, save and exit
    make linux-update-config
     -> should save to the new custom defconfig file

However, that is currently not possible, because the dependency chain
when saving the configuration goes back up to the (newly-set!) custom
(def)config file, which does not exist.

So, we break the dependency chain so that saving the configuration does
not depend on that file. Instead, we use a terminal rule that checks
that the configuration has indeed been done, and fails if not.

Closes #8156.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocore/pkg-kconfig: run the kconfig fixups after exiting configurators
Yann E. MORIN [Sat, 13 Jun 2015 16:46:36 +0000 (18:46 +0200)]
core/pkg-kconfig: run the kconfig fixups after exiting configurators

After we exit the configurators, we need to re-run the kconfig fixups to
ensure the user is not able to override them in the configurators.

Currently, we schedule that "for later", by removing the corresponding
stamp file, so make will run the fixups "later".

This means the user has access to the un-fixed .config file, which he
might decide to copy and use as a reference (not too bad, since we'd run
the fixups anyway; but not clean either).

Note that we still remove the stamp file before running the fixups, in
case any one of those fixups breaks, so we don't want to believe the
fixups have been applied; the fixup macro will touch that file anyway.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocore/pkg-kconfig: move the kconfig fixups to a macro
Yann E. MORIN [Sat, 13 Jun 2015 16:46:35 +0000 (18:46 +0200)]
core/pkg-kconfig: move the kconfig fixups to a macro

The same fixups will have to be done after leaving the configurators,
so we want to commonalise that code.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocore/pkg-kconfig: ensure kconfig base and fragment files exist
Yann E. MORIN [Sat, 13 Jun 2015 16:46:34 +0000 (18:46 +0200)]
core/pkg-kconfig: ensure kconfig base and fragment files exist

Even though we do have a dependency chain back to each of the kconfig
base and fragment files:

    $$($(2)_DIR)/.config: $$($(2)_KCONFIG_FILE) $$($(2)_KCONFIG_FRAGMENT_FILES)

we can't rely on it to ensure they are all present, because they all have
this rule:

    $$($(2)_KCONFIG_FILE) $$($(2)_KCONFIG_FRAGMENT_FILES): | $(1)-patch

but since this rule has no prerequisite (only build-order, but that does
not count in this case) and no recipe, make will believe each missing
file to be a PHONY target, and will always run targets that depend on
it:
    https://www.gnu.org/software/make/manual/make.html#Force-Targets

So, that means a missing kconfig base or fragment file would always
cause the rule to generate .config to be run at each invocation, which
in turn would cause a rebuild of the kernel, which is clearly not what
we want.

Since this is expected make behaviour, we can well end up with a missing
Kconfig base or fragment. To avoid continuously rebuilding the kernel in
that case, we must check those files exist by ourselves, and error out
if any one of them is missing.

One would expect we check for them right in their dependency rule, like
so:

    $$($(2)_KCONFIG_FILE) $$($(2)_KCONFIG_FRAGMENT_FILES): | $(1)-patch
        [ -f $(@) ] || {echo Missing $(@) >&2; exit 1; }

but that does not work, as only the first target is tested for. That
check msut be turned into a loop explicitly testing all files, like so:

    $$($(2)_KCONFIG_FILE) $$($(2)_KCONFIG_FRAGMENT_FILES): | $(1)-patch
        for f in $$($(2)_KCONFIG_FILE) $$($(2)_KCONFIG_FRAGMENT_FILES); do \
            [ -f $(@) ] || {echo Missing $$$${f} >&2; exit 1; }; \
        done

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocore/pkg-kconfig: extract package before using kconfig fragments
Yann E. MORIN [Sat, 13 Jun 2015 16:46:33 +0000 (18:46 +0200)]
core/pkg-kconfig: extract package before using kconfig fragments

Kconfig fragments may be present in the package, so we need to extract
and patch it before we can use the fragments.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nodejs: Bump version to 0.10.39
Martin Bark [Sat, 27 Jun 2015 02:01:33 +0000 (03:01 +0100)]
package/nodejs: Bump version to 0.10.39

Signed-off-by: Martin Bark <martin@barkynet.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoiproute2: bump to version 4.1.0
Gustavo Zacarias [Sat, 27 Jun 2015 11:15:32 +0000 (08:15 -0300)]
iproute2: bump to version 4.1.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopure-ftpd: bump to version 1.0.41
Gustavo Zacarias [Sat, 27 Jun 2015 11:23:02 +0000 (08:23 -0300)]
pure-ftpd: bump to version 1.0.41

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogcc: bump 4.9.x series to version 4.9.3
Gustavo Zacarias [Sat, 27 Jun 2015 11:33:31 +0000 (08:33 -0300)]
gcc: bump 4.9.x series to version 4.9.3

Drop 110-pr64896.patch and 920-libgcc-remove-unistd-header.patch since
they're upstream.

Tweak 850-libstdcxx-uclibc-c99.patch for this new release.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/vlc: install vlc libraries in staging
Romain Naour [Sun, 28 Jun 2015 11:00:28 +0000 (13:00 +0200)]
package/vlc: install vlc libraries in staging

Although no package seems to link against vlc libraries right now, these
libraries will be necessary for upcoming new efl emotion-generic-players
package.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibarchive: add hash and enable lzma support
Nimai Mahajan [Fri, 26 Jun 2015 15:01:58 +0000 (11:01 -0400)]
libarchive: add hash and enable lzma support

Add libarchive hash. Enable lzma support.
Both xz and lzma support are provided by the xz library.

[Thomas: explicitly pass --with-lzma when xz is available.]

Signed-off-by: Nimai Mahajan <nimaim@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/opencv: add openmp support
Samuel Martin [Thu, 25 Jun 2015 19:59:52 +0000 (21:59 +0200)]
package/opencv: add openmp support

Note that this situation is not ideal because it only add openmp support
to the Buildroot toolchain, not the external ones; but a couple of
packages already are in this situation.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/opencv: add python support
Samuel Martin [Thu, 25 Jun 2015 19:59:49 +0000 (21:59 +0200)]
package/opencv: add python support

opencv_python module needs python-numpy because it uses some numpy
headers in this wrapper.

>From its 2.4 release, OpenCV offers python bindings, but they required
most of the OpenCV modules to be enabled.

Since OpenCV-3.0.0, python bindings have been reworked:
- it now supports both python2 and python3
- only built modules supporting wrapped in python will be included in
  the bindings.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/opencv: disable all modules by default
Samuel Martin [Thu, 25 Jun 2015 19:59:48 +0000 (21:59 +0200)]
package/opencv: disable all modules by default

This change allows to reduce the size of the default OpenCV package, so
the final root filesystem.

However, this will break any existing defconfig enabling OpenCV. Indeed,
a minimal OpenCV  package will be built, whereas, prior to applying this
patches, a full-featured one would have been built instead.

Cc: "Yann E. Morin" <yann.morin.1998@free.fr>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/opencv: reduce modules on by default
Samuel Martin [Thu, 25 Jun 2015 19:59:47 +0000 (21:59 +0200)]
package/opencv: reduce modules on by default

Since its integration into Buildroot, OpenCV always enables all modules
by default because the inter-module denpedency were not supported.

Now that OpenCV inter-module dependencies are correctly set at the
Buildroot configuration level, it is possible to reduce the enabled
module list to its minimal set, letting kconfig enable the other
modules.

This change will not change anything WRT a defconfig build with opencv.

Cc: "Yann E. Morin" <yann.morin.1998@free.fr>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/opencv: reword modules' prompt and help text
Samuel Martin [Thu, 25 Jun 2015 19:59:46 +0000 (21:59 +0200)]
package/opencv: reword modules' prompt and help text

This patch is mostly cosmetic changes improving the human interface.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/opencv: define modules inter-dependencies
Samuel Martin [Thu, 25 Jun 2015 19:59:45 +0000 (21:59 +0200)]
package/opencv: define modules inter-dependencies

OpenCV allows to enable/disable the selection of modules (a.k.a.
opencv libraries). These modules depend one on the others; these
dependencies are already handled by the build-system (CMake).

However, the way we handled them in Buildroot was not really clean.
For each opencv module, there is a kconfig option, but we forced the
corresponding CMake config option without checking for the modules'
dependencies.

This patch replicates the modules' dependency relations in the
Config.in, so that the selection of the user will actually be built.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/gstreamer1/gst1-plugins-bad: disable opencv plugin with opencv-3
Samuel Martin [Thu, 25 Jun 2015 19:59:44 +0000 (21:59 +0200)]
package/gstreamer1/gst1-plugins-bad: disable opencv plugin with opencv-3

The opencv plugin uses stuff from the now removed opencv's legacy module.
Note that the configure script already correctly check the opencv version
and disable the opencv plugin with opencv-3.x.

Also remove 'select ...' to prevent kconfig from complaining about
recursive dependencies.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/opencv: bump to version 3.0
Samuel Martin [Thu, 25 Jun 2015 19:59:43 +0000 (21:59 +0200)]
package/opencv: bump to version 3.0

This major version bump is in fact a bump from 2.4.10 to 2.4.11, then to
3.0.

OpenCV-2.4.11 improves a lot the Buildroot integration, including a
couple of patches that are no longer needed:
- x86 PIC code compilation fix in core module [1];
- return type fix in superes module [2];
- opencv.pc generation [3].

It also improves the gstreamer-0.10/1.x detection [4], that will be
needed in a follow-up patch.

OpenCV-3.0 still requires 2 patches (backported from upstream fixing
pthread support [5,6].

The OpenCV-3.0 does some major changes, for which a transition guide
has been published [7].

Among these changes coming with OpenCV-3.0, some new modules have been
introduced and others got removed; leading to a bunch of configure
option updates (to keep as much as possible an iso-functional-perimeter)
and the legacy menu has been updated too.
The worth noticing removals being:
- the opencv_legacy and opencv_nonfree modules no longer exist;
- the opencv_contrib module has moved out of the opencv base tree and
  now has its own repository [8].
  There is currently no plan to support it.

Some 3rd-party supports have been improved or added; their integrations
in Buildroot will be addressed in follow-up patches.

[1] https://github.com/Itseez/opencv/commit/ea50be0529c248961e1b66293f8a9e4b807294a6
[2] https://github.com/Itseez/opencv/commit/2e393ab83362743ba1825ad4b31d4a2925c606b4
[3] https://github.com/Itseez/opencv/commit/eceada586bbf18fc267e437522ec4f1f23ddc656
[4] https://github.com/Itseez/opencv/commit/38bb0db9dbec08666c8a64b3e4ead8fadf15c980
[5] https://github.com/Itseez/opencv/commit/1f983ec39c97298b0c8ce409a1cc229ecf14e55c
[6] https://github.com/Itseez/opencv/commit/a482dcce464acbd5368fb93c6c3d52ba8401776a
[7] http://docs.opencv.org/master/db/dfa/tutorial_transition_guide.html
[8] https://github.com/itseez/opencv_contrib

[Thomas:
  - address most contents made by Yann E. Morin on the Config.in file.]

Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/opencv: alphabetically sorted each _CONF_OPTS group
Samuel Martin [Thu, 25 Jun 2015 19:59:42 +0000 (21:59 +0200)]
package/opencv: alphabetically sorted each _CONF_OPTS group

No new option added nor removed.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibucl: new package
Nimai Mahajan [Fri, 26 Jun 2015 14:19:43 +0000 (10:19 -0400)]
libucl: new package

Libucl is a high performance and flexible JSON/YAML/etc. parser for C.

https://github.com/vstakhov/libucl

[Thomas:
  - remove hash file, should not be used for github downloads
  - rewrap Config.in help text
  - remove trailing white space in Config.in.
  - add missing host-pkgconf dependency, without which the package
    doesn't autoreconf properly.
  - fix license: it is BSD-2c, not just BSD.]

Signed-off-by: Nimai Mahajan <nimaim@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoorc: bump version
Peter Korsgaard [Fri, 26 Jun 2015 08:14:12 +0000 (10:14 +0200)]
orc: bump version

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoheimdal: bump to version 1.6rc2
Gustavo Zacarias [Thu, 25 Jun 2015 17:09:42 +0000 (14:09 -0300)]
heimdal: bump to version 1.6rc2

Helps drop some patches and hence autoreconf saving time.
Also allows parallel builds.

And fixes:
http://buildroot-busybox.2317881.n4.nabble.com/PATCH-v2-heimdal-explicitly-set-lpthread-td99422.html
without the need to hardcode libraries (disables/withouts weren't enough
though i've added them anyway for correctness).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoipset: bump to version 6.25.1
Gustavo Zacarias [Thu, 25 Jun 2015 17:57:42 +0000 (14:57 -0300)]
ipset: bump to version 6.25.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodosfstools: bump to version 3.0.28
Gustavo Zacarias [Thu, 25 Jun 2015 18:52:08 +0000 (15:52 -0300)]
dosfstools: bump to version 3.0.28

Change to new homepage since maintainer changed as well.
Add hash file based on tarball signature file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoopenswan: bump to version 2.6.43
Gustavo Zacarias [Thu, 25 Jun 2015 18:52:37 +0000 (15:52 -0300)]
openswan: bump to version 2.6.43

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agompd-mpc: bump to version 0.27
Gustavo Zacarias [Thu, 25 Jun 2015 22:35:07 +0000 (19:35 -0300)]
mpd-mpc: bump to version 0.27

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agompd: bump to version 0.19.10
Gustavo Zacarias [Thu, 25 Jun 2015 22:35:06 +0000 (19:35 -0300)]
mpd: bump to version 0.19.10

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agocollectd: bump to version 5.5.0
Gustavo Zacarias [Thu, 25 Jun 2015 21:53:02 +0000 (18:53 -0300)]
collectd: bump to version 5.5.0

Lots of new plugins!

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibconfig: bump to 1.5
Yegor Yefremov [Thu, 25 Jun 2015 19:52:14 +0000 (21:52 +0200)]
libconfig: bump to 1.5

Add hash file.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agorrdtool: add hash
Gustavo Zacarias [Thu, 25 Jun 2015 21:13:46 +0000 (18:13 -0300)]
rrdtool: add hash

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosystem/device_table.txt: drop unused ifupdown post-up.d / pre-down.d directories
Peter Korsgaard [Thu, 25 Jun 2015 13:28:06 +0000 (15:28 +0200)]
system/device_table.txt: drop unused ifupdown post-up.d / pre-down.d directories

These are not used by the busybox or Debian ifupdown implementation. Instead
if-up.d is run after the per-interface up tasks (E.G. post-up) and
if-down.d is run before the per-interface down tasks (E.G. pre-down).

So drop them as they only cause confusion.

grep execute_all output/build/busybox-1.23.2/networking/ifupdown.c
static int execute_all(struct interface_defn_t *ifd, const char *opt)
        if (!execute_all(iface, "pre-up")) return 0;
        if (!execute_all(iface, "up")) return 0;
        if (!execute_all(iface, "down")) return 0;
        if (!execute_all(iface, "post-down")) return 0;

grep execute_script output/build/ifupdown-0.7.49/execute.c
int execute_scripts(interface_defn * ifd, execfn * exec, char *opt)
    if (!execute_scripts(iface, doit, "pre-up"))
    if (!execute_scripts(iface, doit, "up"))
    if (!execute_scripts(iface, doit, "down"))
    if (!execute_scripts(iface, doit, "post-down"))

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agox264: bump to version 20150223-2245-stable
David du Colombier [Thu, 11 Jun 2015 09:01:44 +0000 (11:01 +0200)]
x264: bump to version 20150223-2245-stable

Use the Git repository instead of the snapshots,
since they are not generated anymore.

Signed-off-by: David du Colombier <0intro@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoulogd: bump to version 2.0.5
Gustavo Zacarias [Wed, 24 Jun 2015 18:39:19 +0000 (15:39 -0300)]
ulogd: bump to version 2.0.5

Remove kernel headers check since it now implements local definitions to
keep working with newer versions.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoMakefile: Don't export VERBOSE unless V=1 (for CMake)
Cédric Marie [Tue, 23 Jun 2015 21:36:06 +0000 (23:36 +0200)]
Makefile: Don't export VERBOSE unless V=1 (for CMake)

CMake verbose mode is based on VERBOSE environment variable.
* If VERBOSE is exported but empty, only "Dependee ... is newer than
depender ..." messages are shown.
* If VERBOSE is exported and set (whatever the value), all compilation
commands are shown.

VERBOSE is currently systematically exported by Buildroot, even if it
is empty, in the root Makefile, which implies that the "light" verbose
mode - with "Dependee ... is newer than depender ..." messages - is
always enabled.

VERBOSE should only be exported when V=1, which is the standard way to
enable verbose mode in Buildroot.

Signed-off-by: Cédric Marie <cedric.marie@openmailbox.org>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogcc: bump 4.8.x version
Peter Korsgaard [Wed, 24 Jun 2015 07:20:43 +0000 (09:20 +0200)]
gcc: bump 4.8.x version

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogpsd: fix build with musl
Baruch Siach [Tue, 23 Jun 2015 17:21:20 +0000 (20:21 +0300)]
gpsd: fix build with musl

Add a patch adding missing include.

Fixes:
http://autobuild.buildroot.net/results/493/493ddaf63f41918d718b5c26e2db258c67dba0a6/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agouclibc: add libgcc_s_resume fix
Thomas Petazzoni [Tue, 23 Jun 2015 17:04:58 +0000 (19:04 +0200)]
uclibc: add libgcc_s_resume fix

This commit adds a fix for building uClibc 0.9.33.2 and uClibc-ng
1.0.3 with gcc 5.1 on ARM, since we're about to add support for gcc
5.1.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosudo: add optional pam support
James Knight [Fri, 19 Jun 2015 17:19:12 +0000 (13:19 -0400)]
sudo: add optional pam support

Configure the sudo utility to support PAM if the framework is enabled.

[Peter: use install -D, reword commit message]
Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopinentry: add patch to fix ncursesw include path
Gergely Imreh [Mon, 22 Jun 2015 08:28:09 +0000 (08:28 +0000)]
pinentry: add patch to fix ncursesw include path

Upstream pinentry seems to assume a fixed include path for ncursesw,
while still using pkg-config to check what that path should be.
This results in detecting the library during config failing to include
it correctly during build.

Fixes:
  http://autobuild.buildroot.org/results/d8d/d8d33efd16cc94dc9d9d4b2d7615a0abb5752ee4/
  http://autobuild.buildroot.org/results/c48/c4805785077e955c61f246d0e4d8416d8dbd10b1/
  http://autobuild.buildroot.org/results/144/14483d35ab5009e854c7ce86e26942fdefd5c1f0
and bunch of others.

Signed-off-by: Gergely Imreh <imrehg@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibnspr: needs dynamic library support
Baruch Siach [Tue, 23 Jun 2015 10:47:55 +0000 (13:47 +0300)]
libnspr: needs dynamic library support

The only package selecting libnspr (libnss) requires dynamic library already.

Fixes:
http://autobuild.buildroot.net/results/296/296bc0fd888a43700d2ea020f8486932c5d37760/
http://autobuild.buildroot.net/results/a65/a65588aa91a87f9a3d8af2a485de2df3e30cfc19/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: bump 3.{10, 14}.x and 4.0.x series
Gustavo Zacarias [Tue, 23 Jun 2015 10:38:17 +0000 (07:38 -0300)]
linux-headers: bump 3.{10, 14}.x and 4.0.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/perl: Fix typos in HOSTCC specification
Albert Lee [Mon, 22 Jun 2015 22:10:12 +0000 (18:10 -0400)]
package/perl: Fix typos in HOSTCC specification

Signed-off-by: Albert Lee <trisk@omniti.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotoolchain-buildroot: mark eglibc as deprecated
Thomas Petazzoni [Sun, 14 Jun 2015 14:33:31 +0000 (16:33 +0200)]
toolchain-buildroot: mark eglibc as deprecated

eglibc is a dead project and has not been making any release since a
while, now that glibc is back and kicking. So let's deprecated our
eglibc support.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogdb: bump 7.9 series to 7.9.1
Thomas Petazzoni [Sun, 14 Jun 2015 14:33:30 +0000 (16:33 +0200)]
gdb: bump 7.9 series to 7.9.1

Note that both gdb 7.9 and 7.9.1 fail to build in a chroot without
texinfo, due to the infamous makeinfo issue. This should be fixed
separately.

[Peter: fixup white space]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogcc: switch to gcc 4.9 as the default version
Thomas Petazzoni [Sun, 14 Jun 2015 14:33:29 +0000 (16:33 +0200)]
gcc: switch to gcc 4.9 as the default version

Now that we have added gcc 5.1, it's time to make gcc 4.9 the default
version used in Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogcc: add support for gcc 5.1
Thomas Petazzoni [Sun, 14 Jun 2015 14:33:28 +0000 (16:33 +0200)]
gcc: add support for gcc 5.1

This commit adds support for gcc 5.1 in Buildroot. In terms of gcc
patches, compared to gcc 4.9.x:

 * Kept as is, sometimes after minor adjusments:

   100-uclibc-conf.patch
   301-missing-execinfo_h.patch
   810-arm-softfloat-libgcc.patch
   830-arm_unbreak_armv4t.patch
   840-microblaze-enable-dwarf-eh-support.patch
   850-libstdcxx-uclibc-c99.patch
   860-cilk-wchar.patch

 * Dropped:

   110-pr64896.patch
   111-pr65730.patch

 * Split in multiple parts:

   900-musl-support.patch

   The patches from Crosstool-NG for muls support are used instead of
   one single patch.

 * Renamed:

   910-gcc-poison-system-directories.patch to
   200-gcc-poison-system-directories.patch

   920-libgcc-remove-unistd-header.patch to
   201-libgcc-remove-unistd-header.patch

   Since the 9xx part of the series is now used by the various musl
   related patches.

We have tested the following configurations, with a minimal Busybox
system:

 * ARM, uClibc-ng
 * ARM, glibc
 * ARM, musl
 * x86, uClibc-ng and uClibc 0.9.33.2
 * x86, glibc
 * x86, musl

All of the configurations built fine. All the configurations boot fine
in Qemu, except x86/uClibc (either ng or 0.9.33.2), it segfaults when
running init:

devtmpfs: mounted
Freeing unused kernel memory: 300K (c1389000 - c13d4000)
init[1]: segfault at 0 ip b77708c1 sp bfa9bb0c error 4 in ld-uClibc-0.9.33.2.so[b776c000+6000]
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

We'll give some time for the uClibc developers to fix the problem
before taking other measures in Buildroot to exclude gcc 5.1 from a
x86/uClibc configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agouclibc: bump uClibc-ng to 1.0.3
Thomas Petazzoni [Sun, 14 Jun 2015 14:33:26 +0000 (16:33 +0200)]
uclibc: bump uClibc-ng to 1.0.3

This commit bumps uClibc-ng to the latest version, and drops the two
patches that have been merged upstream.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython: bump to 2.7.10
Thomas Petazzoni [Tue, 16 Jun 2015 21:36:11 +0000 (23:36 +0200)]
python: bump to 2.7.10

Patches are simply refreshed, except
004-sysconfigdata-install-location.patch where a minor conflict
resolution was needed.

[Peter: fixup .hash as pointed out by Arnout]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage: indentation cleanup
Jerzy Grzegorek [Mon, 22 Jun 2015 06:38:18 +0000 (08:38 +0200)]
package: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoqemu/configs: update to latest kernel
Gustavo Zacarias [Mon, 22 Jun 2015 20:16:20 +0000 (17:16 -0300)]
qemu/configs: update to latest kernel

Update most of the configs to the latest kernel version (4.1) except for
arm-nuri which is stuck.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/pinentry: fix build with Qt4
Yann E. MORIN [Mon, 22 Jun 2015 18:59:31 +0000 (20:59 +0200)]
package/pinentry: fix build with Qt4

Help configure find the correct moc, as the comment in m4/qt.m4 states:

    #configure tried to run $ac_cv_path_moc and the test didn't
    #succeed. If configure shouldn't have tried this one, set
    #the environment variable MOC to the right one before running
    #configure.

Fixes:
    http://autobuild.buildroot.org/results/06c/06c5c2762ec22271fec20a6d15548011e40875d1
    http://autobuild.buildroot.org/results/0d7/0d78a2ff8c952cd104794f5049b07216978fdf11
    http://autobuild.buildroot.org/results/af8/af8f7f588dfa64d82c98a4b42ec78fd17dde137c

Also fixes using the host moc:
    http://autobuild.buildroot.org/results/836/836962f23dcad77b145fcdfeffb40e38e64d6971

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobtrfs-progs: bump to version 4.1
Gustavo Zacarias [Mon, 22 Jun 2015 20:00:00 +0000 (17:00 -0300)]
btrfs-progs: bump to version 4.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoimagemagick: bump to version 6.9.1-6
Gustavo Zacarias [Mon, 22 Jun 2015 19:17:03 +0000 (16:17 -0300)]
imagemagick: bump to version 6.9.1-6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotiff: security bump to version 4.0.4
Gustavo Zacarias [Mon, 22 Jun 2015 19:16:19 +0000 (16:16 -0300)]
tiff: security bump to version 4.0.4

Fixes:
CVE-2014-8128 - Check memory allocations for failure. Also check
multiplication overflow.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogst1-plugins-bad: fix egl detection
Peter Korsgaard [Mon, 22 Jun 2015 19:42:54 +0000 (21:42 +0200)]
gst1-plugins-bad: fix egl detection

Some egl implementations needs special compiler flags or defines (E.G.
mesa3d for wayland needs to pass -DMESA_EGL_NO_X11_HEADERS to not try to
include X11 headers).  This is correctly included in the .pc file, but the
configure logic doesn't use pkg-config so help it along.

Likewise, some implementations may need to link against other libraries, so
also pass LIBS.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>