buildroot.git
7 years agoarch/Config.in.arm: only enable BR2_ARM_CPU_HAS_ARM for ARMv8 in 32bit mode
Peter Korsgaard [Wed, 7 Dec 2016 09:25:20 +0000 (10:25 +0100)]
arch/Config.in.arm: only enable BR2_ARM_CPU_HAS_ARM for ARMv8 in 32bit mode

Fixes:
http://autobuild.buildroot.net/results/5e6/5e67cc067a06f7364cde1a8393ea72608fe7fef1/

A number of packages use BR2_ARM_CPU_HAS_ARM to know if the target handles
classic A32 instructions, which is only true for ARMv8 cores when they are
running in 32bit mode.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouclibc-ng-test: disable some parts of test-suite
Waldemar Brodkorb [Thu, 8 Dec 2016 02:34:17 +0000 (03:34 +0100)]
uclibc-ng-test: disable some parts of test-suite

The math tests are experimental at the moment and require more
adaptions before they can be enabled again.
The locale tests are not compatible with musl toolchains,
so disable them.

Use latest git version from upstream for other bugfixes.

Fixes:
 http://autobuild.buildroot.net/results/74e/74e7add310797772bc51f9ea9847408a8b05d643/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqt5xmlpatterns: install examples
Matt Kraai [Thu, 8 Dec 2016 14:38:50 +0000 (06:38 -0800)]
qt5xmlpatterns: install examples

Signed-off-by: Matt Kraai <kraai@ftbfs.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: update my entry list
Marcin Niestroj [Thu, 8 Dec 2016 14:51:49 +0000 (15:51 +0100)]
DEVELOPERS: update my entry list

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/openvpn: bump version to 2.3.14
Bernd Kuhls [Thu, 8 Dec 2016 18:40:42 +0000 (19:40 +0100)]
package/openvpn: bump version to 2.3.14

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoefibootmgr: depends on wchar
Erico Nunes [Mon, 5 Dec 2016 23:07:18 +0000 (00:07 +0100)]
efibootmgr: depends on wchar

After commit 3ae07b4746 recently, efibootmgr now selects
BR2_PACKAGE_GETTEXT if the toolchain requires it.
gettext depends on wchar, so this dependency should be propagated as
well.
menuconfig currently complains loudly if you select efibootmgr, with an
error such as:

  warning: (... && BR2_PACKAGE_EFIBOOTMGR ... && ) selects
  BR2_PACKAGE_GETTEXT which has unmet direct dependencies
  (BR2_USE_WCHAR)

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoefivar: introduce BR2_PACKAGE_EFIVAR_ARCH_SUPPORTS
Erico Nunes [Mon, 5 Dec 2016 23:07:17 +0000 (00:07 +0100)]
efivar: introduce BR2_PACKAGE_EFIVAR_ARCH_SUPPORTS

efivar only makes sense on platforms that support UEFI.
UEFI is only supported by some architectures at the moment, being mostly
employed on platforms such as x86, x86_64 and aarch64. Some other
platforms such as MIPS and PowerPC may have some unofficial UEFI
support. UEFI is also limited to little endian architectures.

efivar was being supported in Buildroot without architecture
restrictions so far, however this has led to the creation of a number of
hacks in the recipes, mostly for architectures that are not supported by
UEFI.
In order to avoid spending more time to debug these failures and
maintaining more hacks for unsupported architectures, efivar can be
restricted to that platforms where it makes sense and where it is more
likely to receive some testing and actual usage.

The existing hacks for the now unsupported architectures are removed,
and the dependency is propagated to efibootmgr as it depends on efivar.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoefivar: fix comment after uClibc compatibility patch
Erico Nunes [Mon, 5 Dec 2016 23:07:15 +0000 (00:07 +0100)]
efivar: fix comment after uClibc compatibility patch

uClibc support was recently added to efivar through a small
compatibility patch.
This commit updates a comment in the efivar recipe to reflect this, as
we no longer have glibc as the only supported C library.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/freeswitch: bump version to 1.6.13
Bernd Kuhls [Wed, 7 Dec 2016 21:25:35 +0000 (22:25 +0100)]
package/freeswitch: bump version to 1.6.13

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: generate KBUILD_BUILD_TIMESTAMP date whith LC_ALL=C
Jean-Baptiste Trédez [Wed, 7 Dec 2016 15:20:42 +0000 (16:20 +0100)]
linux: generate KBUILD_BUILD_TIMESTAMP date whith LC_ALL=C

Fix kernel reproducible build if a non-C locale is used on the host
system.

When building the Linux kernel, scripts/gen_initramfs_list.sh does 'date
-d"$KBUILD_BUILD_TIMESTAMP" +%s'. In linux.mk, Buildroot sets
KBUILD_BUILD_TIMESTAMP to "$(shell date -d @$(SOURCE_DATE_EPOCH))".

For example, if LANG=fr_FR.UTF-8 is defined in the host system, it does
not work:

- LC_ALL=C date -d"$(LC_ALL=C date)" : ok
- LC_ALL=C date -d"$(LC_ALL=fr_FR.UTF-8 date)" : error

LANG/LC_ALL variables exported in the main Makefiles are not passed in
the $(shell ...) sub-shells.

Signed-off-by: Jean-Baptiste Trédez <jean-baptiste.tredez@basystemes.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqt5connectivity: install examples
Matt Kraai [Wed, 7 Dec 2016 15:11:30 +0000 (07:11 -0800)]
qt5connectivity: install examples

Signed-off-by: Matt Kraai <kraai@ftbfs.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomadplay: fix build on noMMU platforms
Thomas Petazzoni [Wed, 7 Dec 2016 22:24:07 +0000 (23:24 +0100)]
madplay: fix build on noMMU platforms

A recent change in uClibc-ng removed the MADV_* definitions for
madvise(), but kept the madvise() function itself. This defeats the
logic used in madplay: it checks if madvise() is available, and if it
is, uses it and assumes the MADV_* definitions exist.

This inconsistency has been reported to upstream uClibc-ng, but in the
mean time, we can simply tell madplay to not use madvise(), which is
anyway useless on noMMU platforms.

Fixes:

  http://autobuild.buildroot.net/results/3291554ea013e5f4a8f3447e10e664dffa8b131b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouhttpd: add patch to remove -Werror
Thomas Petazzoni [Wed, 7 Dec 2016 21:50:14 +0000 (22:50 +0100)]
uhttpd: add patch to remove -Werror

Fixes:

  http://autobuild.buildroot.net/results/febbd094090e14fe7a79e6f691c290075da4fd59/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-tools: fix build on musl
Thomas Petazzoni [Wed, 7 Dec 2016 21:37:19 +0000 (22:37 +0100)]
lttng-tools: fix build on musl

Add patch to add a missing <pthread.h> include to fix the build on musl.

Fixes:

  http://autobuild.buildroot.net/results/ce0b438ca4dcf7ccef95c7050305d8cd58fbb24a/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopru-software-support: fix legal info again
Thomas Petazzoni [Wed, 7 Dec 2016 21:22:20 +0000 (22:22 +0100)]
pru-software-support: fix legal info again

Commit 00810e0ea3976c5b26a7fd264870f15e17a2eaa2 still didn't fix the
license information properly, so this is a new commit (properly tested
this time) fixing the license information.

Fixes:

  http://autobuild.buildroot.net/results/ece1407b9f32472fb55823bb554dc026546cd26d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agophp: disable FPM interface on Sparc
Thomas Petazzoni [Wed, 7 Dec 2016 21:08:09 +0000 (22:08 +0100)]
php: disable FPM interface on Sparc

Building fails with "Sparc v8 and predecessors are not and will not be
supported (see bug report 53310)", so we disable FPM on Sparc.

Fixes:

  http://autobuild.buildroot.net/results/6a86f6cf07f6b6dccd7bfaab6d7682f9faf3527b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopkg-autotools: search in the entire source directory for ltmain.sh
Waldemar Brodkorb [Wed, 7 Dec 2016 18:41:20 +0000 (19:41 +0100)]
pkg-autotools: search in the entire source directory for ltmain.sh

Fixes static linking of berkeleydb package, where ltmain.sh
is not in the sub-directory that contains configure.
Always search the complete source directory.

Fixes:
 http://autobuild.buildroot.net/results/f0a96f671644d9f9efcf245b354affdc84f7d7da

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/easydbus: new package
Marcin Niestroj [Wed, 7 Dec 2016 14:49:05 +0000 (15:49 +0100)]
package/easydbus: new package

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocmake: adjust dependencies added for libuv
Thomas Petazzoni [Wed, 7 Dec 2016 11:12:33 +0000 (12:12 +0100)]
cmake: adjust dependencies added for libuv

Commit 1ffcf364b6e9894a876dc581a090f87685945412 updated cmake to 3.7.0,
which requires selecting the libuv package. At the time, the libuv
package only depended on BR2_TOOLCHAIN_HAS_THREADS. However, later on,
it was changed in master to depend on BR2_TOOLCHAIN_HAS_THREADS_NPTL, a
change which was not taken into account in the cmake 3.7.0 bump that was
merged in the next branch.

Due to this, builds of cmake is attempted on architectures that don't
provide NPTL thread support, causing a build failure. This commit fixes
that by adjusting the dependency.

Fixes:

  http://autobuild.buildroot.net/results/16a5e1cbb57c0124537c4f3dc0807ba1eaa975ec/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/ffmpeg: bump version to 3.2.2
Bernd Kuhls [Tue, 6 Dec 2016 21:11:45 +0000 (22:11 +0100)]
package/ffmpeg: bump version to 3.2.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogcc: fix powerpc64le arch config name
Erico Nunes [Mon, 5 Dec 2016 23:07:16 +0000 (00:07 +0100)]
gcc: fix powerpc64le arch config name

Buildroot references powerpc64 little endian as BR2_powerpc64le and not
BR2_powerpc64el.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agotoolchain-external: disallow sourcery codebench ARM toolchain for ARMv8 cores
Peter Korsgaard [Tue, 6 Dec 2016 16:42:18 +0000 (17:42 +0100)]
toolchain-external: disallow sourcery codebench ARM toolchain for ARMv8 cores

This toolchain uses GCC 4.8.x, which doesn't support the ARMv8 cores.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogcc: disallow 4.9.x for ARM cortex-a72
Peter Korsgaard [Tue, 6 Dec 2016 16:36:18 +0000 (17:36 +0100)]
gcc: disallow 4.9.x for ARM cortex-a72

a72 support was only added in the 5.1 cycle.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogcc: disallow 4.8.x for ARMv8 cores
Peter Korsgaard [Tue, 6 Dec 2016 16:36:17 +0000 (17:36 +0100)]
gcc: disallow 4.8.x for ARMv8 cores

Notice: A53/A57 were in fact supported in aarch64 mode in 4.8 (in aarch32
mode only from 4.9), but it doesn't handle --with-abi, and as there is
unlikely to be any aarch64 based legacy projects unwilling to use a newer
GCC version it is simpler to disallow it for all modes.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoMakefile: move SED definition into the main Makefile
Thomas Petazzoni [Sun, 4 Dec 2016 21:37:24 +0000 (22:37 +0100)]
Makefile: move SED definition into the main Makefile

Since commit f71a621d91ec27f175fc84012962f88b1107305f, we are using the
SED variable in the main Makefile. However, this variable is only
defined in package/Makefile.in, which gets included only when a
configuration is defined.

This means that, if you do:

 $ make menuconfig savedefconfig

without a configuration defined, it fails with:

/bin/bash: /BR2_DEFCONFIG=/d: No such file or directory
Makefile:898: recipe for target 'savedefconfig' failed
make[1]: *** [savedefconfig] Error 127

This issue affects users of the "buildroot-submodule" project, which
does menuconfig+savedefconfig automatically. They worked around this
issue in commit
https://github.com/Openwide-Ingenierie/buildroot-submodule/commit/d12676b608a58529c6b551aa176464166a200428,
but really "make menuconfig savedefconfig" should work out of the box.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agombedtls: bump to version 2.4.0
Rahul Jain [Tue, 6 Dec 2016 10:42:28 +0000 (16:12 +0530)]
mbedtls: bump to version 2.4.0

This change also fixes
http://autobuild.buildroot.net/results/27b/27b35d03b576392955e21498ac1e62590ef5f5db/build-end.log

Signed-off-by: Rahul Jain <Rahul.Jain@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoffmpeg: fix build for ffplay
Phil Eichinger [Tue, 6 Dec 2016 14:32:37 +0000 (15:32 +0100)]
ffmpeg: fix build for ffplay

Upstream has dropped SDL support for ffplay in favor of SDL2.
This results in silently not building ffplay even if it is selected
in Buildroot config.

[Peter: propagate !static dependency from sdl2]
Signed-off-by: Phil Eichinger <phil@zankapfel.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/shairport-sync: bump version to 2.8.6
Jörg Krause [Tue, 6 Dec 2016 10:56:42 +0000 (11:56 +0100)]
package/shairport-sync: bump version to 2.8.6

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosysklogd: fix build on musl
Thomas Petazzoni [Mon, 28 Nov 2016 22:20:58 +0000 (23:20 +0100)]
sysklogd: fix build on musl

This commit add a stack of small patches that make sysklogd build fine
with the musl C library. Build with uClibc and glibc has been tested
with those patches applied as well.

The first patch is slightly rework (better description and capital
letter to the title) in preparation for upstream submission.

Fixes:

  http://autobuild.buildroot.net/results/8fa2bf73f983330884bce2e5ac31e01dee112ba9/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoraspberrypi-usbboot: new package
Thomas Petazzoni [Mon, 5 Dec 2016 20:59:06 +0000 (21:59 +0100)]
raspberrypi-usbboot: new package

This new package currently installs the "rpiboot" utility, which is
needed to access via USB mass storage the built-in eMMC of Raspberry Pi
compute modules.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoDEVELOPERS: remove Tom Sparks
Thomas Petazzoni [Tue, 6 Dec 2016 09:08:06 +0000 (10:08 +0100)]
DEVELOPERS: remove Tom Sparks

Tom privately notified that he is not able to support the packages he
originally added in Buildroot, so this commit removes him from the
DEVELOPERS file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external-linaro-{arm,armeb}: allow on ARMv8
Thomas Petazzoni [Mon, 5 Dec 2016 22:15:43 +0000 (23:15 +0100)]
toolchain-external-linaro-{arm,armeb}: allow on ARMv8

The Linaro toolchains are currently only available on ARMv7-A, but can
in fact also be used to generate 32 bits code for ARMv8 platforms. This
commit therefore adjusts their architecture dependency.

Example, a 32 bits ARM build produces a 32 bits busybox binary:

$ file output/target/bin/busybox
output/target/bin/busybox: setuid ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32, BuildID[sha1]=16a7a70eb9cac08759e52a260478b9c287f59238, stripped

Which was built for Cortex-A72:

$ ./output/host/usr/bin/arm-linux-gnueabihf-readelf -A output/target/bin/busybox
Attribute Section: aeabi
File Attributes
  Tag_CPU_name: "Cortex-A72"
  Tag_CPU_arch: v8
  Tag_CPU_arch_profile: Application
  Tag_ARM_ISA_use: Yes
  Tag_THUMB_ISA_use: Thumb-2
  Tag_FP_arch: FP for ARMv8
  Tag_ABI_PCS_wchar_t: 4
  Tag_ABI_FP_rounding: Needed
  Tag_ABI_FP_denormal: Needed
  Tag_ABI_FP_exceptions: Needed
  Tag_ABI_FP_number_model: IEEE 754
  Tag_ABI_align_needed: 8-byte
  Tag_ABI_align_preserved: 8-byte, except leaf SP
  Tag_ABI_enum_size: int
  Tag_ABI_VFP_args: VFP registers
  Tag_CPU_unaligned_access: v6
  Tag_MPextension_use: Allowed
  Tag_Virtualization_use: TrustZone and Virtualization Extensions

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: add Cortex-A57 and Cortex-A72
Thomas Petazzoni [Wed, 30 Nov 2016 21:12:11 +0000 (22:12 +0100)]
arch/Config.in.arm: add Cortex-A57 and Cortex-A72

Add two popular ARM64 cores to the list of supported cores: Cortex-A57
and Cortex-A72.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: Add Cortex-A53 CPU
Matt Flax [Wed, 30 Nov 2016 21:12:10 +0000 (22:12 +0100)]
arch/Config.in.arm: Add Cortex-A53 CPU

Adds the Cortex-A53 CPU to the target architecture variant choice. This
sets the toolchain to use Cortex-A53 as the target. The effect is that
various Cortex-A53 tunings are enabled for the compilation of packages.

Signed-off-by: Matt Flax <flatmax@flatmax.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: specify ABI for ARM64
Thomas Petazzoni [Wed, 30 Nov 2016 21:12:09 +0000 (22:12 +0100)]
arch/Config.in.arm: specify ABI for ARM64

There's currently only one widely supported ABI for ARM64, called lp64,
so we define BR2_GCC_TARGET_ABI to the appropriate value.

Note that there is another ABI for ARM64 being worked on, ilp32, but its
support is not fully upstream in the kernel, so we're not adding support
for it for the moment.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: add FPU related options for ARMv8 cores
Thomas Petazzoni [Wed, 30 Nov 2016 21:12:08 +0000 (22:12 +0100)]
arch/Config.in.arm: add FPU related options for ARMv8 cores

The ARMv8 cores have a mandatory FPU unit called FP-ARMv8, so we:

 - add a new hidden Config.in option for the availability of this
   unit (BR2_ARM_CPU_HAS_FP_ARMV8)

 - allow the selection of a possible choice in the "Floating point
   strategy", and add two new choices: BR2_ARM_FPU_FP_ARMV8 and
   BR2_ARM_FPU_NEON_FP_ARMV8.

 - specify the -mfpu values for BR2_ARM_FPU_FP_ARMV8 and
   BR2_ARM_FPU_NEON_FP_ARMV8 cases, when used on ARM 32 bits (-mfpu
   doesn't exist on ARM64, instead -mcpu modifiers are used, so they
   will be added on a per-core basis).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[yann.morin.1998@free.fr: drop the FP strategy dependency]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/arm: drop legacy dependency for floating point strategy
Yann E. MORIN [Wed, 30 Nov 2016 21:12:07 +0000 (22:12 +0100)]
arch/arm: drop legacy dependency for floating point strategy

The floating point strategy currently depends on EABI || EABIHF. The
reason was that, wayback when we also supported OABI, we only exposed FP
for EABI or EABIHF, and hide it for OABI, which did not support FP.

It's been a while now that we do not support OABI, but the dependency
stuck all along.

Remove it as it is no longer needed, and is always true.

However, the choice is empty for AArch64, as we still have no entry for
their floating point strategy yet.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: add BR2_ARM_CPU_ARMV8
Thomas Petazzoni [Wed, 30 Nov 2016 21:12:06 +0000 (22:12 +0100)]
arch/Config.in.arm: add BR2_ARM_CPU_ARMV8

In order to prepare the addition of ARM64 cores, add the blind
BR2_ARM_CPU_ARMV8 option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: prepare addition of 64 bits cores
Thomas Petazzoni [Wed, 30 Nov 2016 21:12:05 +0000 (22:12 +0100)]
arch/Config.in.arm: prepare addition of 64 bits cores

Until now the "Target Architecture Variant" choice was not visible on
AArch64. In order to prepare the addition of the 64 bits core to this
choice, this commit adds a "depends on !BR2_ARCH_IS_64" dependency to
all currently supported cores (that are 32 bits only).

Following this commit, the "Target Architecture Variant" choice appears
on AArch64, but is for now empty.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch: merge Config.in.aarch64 into Config.in.arm
Thomas Petazzoni [Wed, 30 Nov 2016 21:12:04 +0000 (22:12 +0100)]
arch: merge Config.in.aarch64 into Config.in.arm

The 64 bits ARM processors are capable of running 32 bits ARM code, and
some platforms are indeed using this capability. Due to this, if we were
to keep the separation between Config.in.aarch64 and Config.in.arm, we
would have to duplicate the definition of all 64-bits capable ARM cores
into both files.

Instead of going down this route, let's take the same route as the x86
one: a single Config.in.x86 file, used for both x86 32 bits and x86 64
bits, with the appropriate logic to only show the relevant cores
depending on which architecture is selected.

In order to do this, we:

 - Make the "ARM instruction set" choice only visible on ARM 32 bits,
   since we currently don't support ARM vs. Thumb on AArch64.

 - Add the relevant values for the BR2_ARCH option.

 - Add the relevant values for the BR2_ENDIAN option.

 - Make the "aapcs-linux" BR2_GCC_TARGET_ABI value only used on ARM 32
   bits, since this ABI doesn't mean anything on AArch64.

 - Make the BR2_GCC_TARGET_FPU option depends on ARM 32 bits, since
   there is no -mfpu option on AArch64.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agovim: be more careful when removing the documentation
Thomas Petazzoni [Mon, 5 Dec 2016 20:36:32 +0000 (21:36 +0100)]
vim: be more careful when removing the documentation

The current VIM_REMOVE_DOCS hook removes all .txt files from
/usr/share/vim. Unfortunately, this also removes the rgb.txt file,
which is needed at runtime for vim, as reported in bug #9466.

This commit changes VIM_REMOVE_DOCS to remove only
/usr/share/vim/vim*/doc/. Size-wise, it's equivalent because:

 - We are no longer removing a few README.txt in other directories,
   taking more space.

 - We are now removing the /usr/share/vim/vim*/doc/ folder entirely,
   which contained a few files not named *.txt

So overall, the size of /usr/share/vim/ before and after this patch is
still 11MB.

Fixes bug #9466.

Reported-by: Mateusz Furdyna <sir.ferdek@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopkg-autotools: generic configure fix for powerpc64
Sam bobroff [Mon, 28 Nov 2016 05:11:39 +0000 (16:11 +1100)]
pkg-autotools: generic configure fix for powerpc64

Many (100+) packages supported by buildroot contain old configure
scripts (or build them from old versions of autotools) that are unable
to determine how to link shared libraries on powerpc64 and
powerpc64le. This causes that test to erroneously fail on toolchains
that are not "bi-endian" (which is the case for toolchains built by
buildroot), which causes configure to build static libraries instead
of dynamic ones. Although these builds succeed, they tend to cause
linker failures in binaries later linked against them.

Because affected configure files can be discovered automatically, this
patch introduces a hook (enabled only when building for powerpc64 and
powerpc64le) that uses a script to scan and fix each package.

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopru-software-support: fix licensing information
Thomas Petazzoni [Mon, 5 Dec 2016 21:40:01 +0000 (22:40 +0100)]
pru-software-support: fix licensing information

Fix the path to the license file, and adjust the licensing information
according to the contents of this file.

Fixes:

  http://autobuild.buildroot.net/results/213cdda78b0a4762ee4fecc0f178df1225062c6f/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/liquid-dsp: fix build failure on powerpc64le
Sam bobroff [Mon, 5 Dec 2016 03:30:57 +0000 (14:30 +1100)]
package/liquid-dsp: fix build failure on powerpc64le

Commit 7d435d8510db69ed2f9108abaa52479bce127b72 fixed building on
powerpc and powerpc64. This extends that fix to cover powerpc64le,
which suffers from the same problem.

Fixes:
http://autobuild.buildroot.net/results/45c4651a833e4667d4ef68e619cf4b5749a288da

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonginx-dav-ext: depends on BR2_PACKAGE_NGINX_HTTP_DAV_MODULE
Johan Oudinet [Mon, 5 Dec 2016 14:28:25 +0000 (15:28 +0100)]
nginx-dav-ext: depends on BR2_PACKAGE_NGINX_HTTP_DAV_MODULE

This package adds missing WebDAB commands to NGINX. So, it makes sense
iff Nginx is compiled with the WebDAV support.

Fixes:

  http://autobuild.buildroot.net/results/6e997faf553dc70d0aa1ee811fd669650349cba2/

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
[Thomas: fix indentation, add autobuilder reference.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonginx-naxsi: depends on BR2_PACKAGE_NGINX_HTTP
Johan Oudinet [Mon, 5 Dec 2016 14:28:24 +0000 (15:28 +0100)]
nginx-naxsi: depends on BR2_PACKAGE_NGINX_HTTP

This package adds XSS and SQLi protection to Nginx HTTP server.
So, it makes sense iff the HTTP part of nginx is enabled.

Fixes:

  http://autobuild.buildroot.net/results/1df67325f11a6f1c88d0c9cc5f4feab0b57bc2a6/

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
[Thomas: fix indentation, add autobuilder reference.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoefivar: not available for static builds
Rahul Bedarkar [Mon, 5 Dec 2016 16:08:22 +0000 (21:38 +0530)]
efivar: not available for static builds

efivar uses dlfcn.h which is not available in static builds
configuration. Also propagate dependency to efibootmgr. This commit
also does s/requires/needs/ in comment while at it.

Fixes:
  http://autobuild.buildroot.net/results/ab3/ab32ccacfac2e65e1fcb307058d06c3d0122979d/

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogstreamer1: fix compile for microblaze and xtensa architectures
Peter Seiderer [Mon, 5 Dec 2016 20:27:15 +0000 (21:27 +0100)]
gstreamer1: fix compile for microblaze and xtensa architectures

Fix unaligned access support detection introduced to gstreamer
by commit 'gstconfig.h: Detect unaligned access support at compile-time' ([1])
by assuming no unaligned support for unknown architectures.

Fixes [2], [3]:

  ../gst/gstconfig.h:112:4: error: #error "Could not detect architecture; don't know whether it supports unaligned access! Please file a bug."
  #  error "Could not detect architecture; don't know whether it supports unaligned access! Please file a bug."

[1] https://cgit.freedesktop.org/gstreamer/gstreamer/commit/?h=1.10&id=6ef601367e0f5adb7a8b02cec94dec04fccf701a
[2] http://autobuild.buildroot.net/results/c1cd60d3f44f2938e5f42453d034ea070898f837
[3] http://autobuild.buildroot.net/results/c3a6662f0acfda179a58cdad9165f36826229826

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agochrony: bump version to 2.4.1
Peter Korsgaard [Mon, 5 Dec 2016 20:07:02 +0000 (21:07 +0100)]
chrony: bump version to 2.4.1

Fixes a crash issue with smoothtime directive.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoti-cgt-pru: fix typo in comment
Peter Korsgaard [Mon, 5 Dec 2016 07:07:49 +0000 (08:07 +0100)]
ti-cgt-pru: fix typo in comment

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/openpowerlink: fix build with Linux kernel 4.7+
Romain Naour [Thu, 3 Nov 2016 21:05:23 +0000 (22:05 +0100)]
package/openpowerlink: fix build with Linux kernel 4.7+

dev->trans_start was replaced by netif_trans_update helper in kernel
4.7 by commit 860e9538a9482bb84589f7d0718a7e6d0a944d58.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/openpowerlink: bump to v2.5.0
Romain Naour [Thu, 3 Nov 2016 21:05:22 +0000 (22:05 +0100)]
package/openpowerlink: bump to v2.5.0

 - Rebase existing patches
 - Use a "menu" instead of "choice" to select Ethernet Powerlink
   Drivers since we can now build several kernel modules at once.
 - Select the Intel 82573 driver by default.
 - Disable library with simulation interface.
 - Disable zynq/FPGA (PCIe) interface otherwise the kernelpcp library
   is always build.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
[Thomas: minor Config.in tweaks.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqextserialport: remove redundant patch 0001-gui
Arnout Vandecappelle [Thu, 24 Nov 2016 22:37:47 +0000 (23:37 +0100)]
qextserialport: remove redundant patch 0001-gui

The same thing was done in upstream commit 220d7a2f "QtGui module only
needed by Windows", though it was done differently upstream.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add developer for nginx-dav-ext
Thomas Petazzoni [Sun, 4 Dec 2016 22:35:31 +0000 (23:35 +0100)]
DEVELOPERS: add developer for nginx-dav-ext

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonginx: group the external modules enabling logic
Thomas Petazzoni [Sun, 4 Dec 2016 22:34:17 +0000 (23:34 +0100)]
nginx: group the external modules enabling logic

This commit moves the logic that allows to enable the naxsi external
module below the "external modules" comment, which was already used for
the upload and dav-ext modules.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonginx-dav-ext: new package
Johan Oudinet [Tue, 29 Nov 2016 16:47:51 +0000 (17:47 +0100)]
nginx-dav-ext: new package

Nginx built-in support for webdav is missing support for two commands:
PROPFIND and OPTIONS. This commit adds a new package that provides an
external nginx module with improved webdav support.

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
[Thomas:
 - Remove the BR2_PACKAGE_NGINX_HTTP_DAV_EXT_MODULE sub-option of the
   nginx package. The BR2_PACKAGE_NGINX_DAV_EXT option is sufficient.
 - Move the nginx.mk code together with another external module being
   enabled, nginx-upload.
 - Add LICENSE and LICENSE_FILES variables.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoerlang: odbc support requires thread support
Thomas Petazzoni [Sun, 4 Dec 2016 21:44:56 +0000 (22:44 +0100)]
erlang: odbc support requires thread support

Fixes:

  http://autobuild.buildroot.net/results/cba60679fa916128796a7b4131ed50403bc74798/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/aubio: add upstream hash link
Romain Naour [Sun, 4 Dec 2016 20:58:44 +0000 (21:58 +0100)]
package/aubio: add upstream hash link

Paul Brossier, the aubio maintainer, added a sha256 hash for the
Buildroot package. Thanks !

https://github.com/aubio/aubio/issues/77

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopru-software-support: add library for PRU firmware
Ash Charles [Fri, 2 Dec 2016 04:22:41 +0000 (23:22 -0500)]
pru-software-support: add library for PRU firmware

TI provides a set of headers files and libraries useful in developing
firmware for real-time (PRU) cores embedded in some processors e.g.
AM3358.  This package stages these files for any packages creating
PRU firmware.

Note: As per [1], use commit v4.0.2 to sync with common TI Linux
      versions.

[1] http://e2e.ti.com/support/arm/sitara_arm/f/791/p/552190/2018113#2018113

Signed-off-by: Ash Charles <ash.charles@savoirfairelinux.com>
[Thomas:
 - rename BR2_PACKAGE_PRU_EXAMPLES to BR2_PACKAGE_PRU_SOFTWARE_SUPPORT,
   since the package directory name should match the Config.in option
   for this package
 - use select for BR2_PACKAGE_HOST_TI_CGT_PRU, and therefore add the
   appropriate "depends on BR2_PACKAGE_HOST_TI_CGT_PRU_ARCH_SUPPORTS".]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoti-cgt-pru: add package for PRU Host toolchain
Ash Charles [Fri, 2 Dec 2016 04:22:40 +0000 (23:22 -0500)]
ti-cgt-pru: add package for PRU Host toolchain

TI provides a binary code generation toolchain to develop firmware for
the programmable real-time unit/co-processor found in some SOCs such as
some models in the AM335x line. This toolchain includes C/C++ support
(clpru) rather than just assembler (pasm) supported by the pre-existing
am335x-pru-package [1].  Following the lead of the Yocto meta-ti
layer [2], this package provides a host toolchain suitable for an x86
(or x86_64) Linux targeting an ARM-based PRU core.

[1] http://processors.wiki.ti.com/index.php/PRU_Assembly_Instructions#pasm_vs._clpru
[2] http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-ti/devtools/ti-cgt-pru_2.1.1.bb

Signed-off-by: Ash Charles <ash.charles@savoirfairelinux.com>
[Thomas: add BR2_PACKAGE_HOST_TI_CGT_PRU_ARCH_SUPPORTS boolean option,
so that packages selecting host-ti-cgt-pru can easily inherit its
architecture dependencies.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomksh: update to R54
Waldemar Brodkorb [Sun, 4 Dec 2016 18:08:40 +0000 (19:08 +0100)]
mksh: update to R54

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/olimex_a20_olinuxino_lime_mali: bump kernel version
Romain Naour [Sun, 4 Dec 2016 16:30:25 +0000 (17:30 +0100)]
configs/olimex_a20_olinuxino_lime_mali: bump kernel version

Bump the kernel to the next commit which fix the build with gcc6.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Francois Perrad <francois.perrad@gadz.org>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add Waldemar as developer for uclibc-ng-test
Thomas Petazzoni [Sun, 4 Dec 2016 20:50:40 +0000 (21:50 +0100)]
DEVELOPERS: add Waldemar as developer for uclibc-ng-test

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add entry for aubio
Romain Naour [Sun, 4 Dec 2016 16:30:26 +0000 (17:30 +0100)]
DEVELOPERS: add entry for aubio

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibxmlrpc: fix build without C++ compiler
Alvaro Gamez Machado [Sun, 4 Dec 2016 15:55:40 +0000 (16:55 +0100)]
libxmlrpc: fix build without C++ compiler

Conditionally disable compilation of optional C++ module.

Fixes:

  http://autobuild.buildroot.net/results/cbff6c816606a515467d467677763533a41fc276/

Signed-off-by: Alvaro Gamez Machado <alvaro.gamez@hazent.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/tzdata: bump version to 2016j
Martin Bark [Sat, 3 Dec 2016 14:36:27 +0000 (14:36 +0000)]
package/tzdata: bump version to 2016j

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/zic: bump version to 2016j
Martin Bark [Sat, 3 Dec 2016 14:36:26 +0000 (14:36 +0000)]
package/zic: bump version to 2016j

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add tzdata and zic to my list
Martin Bark [Sat, 3 Dec 2016 14:36:25 +0000 (14:36 +0000)]
DEVELOPERS: add tzdata and zic to my list

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/aubio: add ffmpeg libav optional dependency
Romain Naour [Sat, 3 Dec 2016 12:17:39 +0000 (13:17 +0100)]
package/aubio: add ffmpeg libav optional dependency

Aubio libav support require libavcodec, libavformat, libavutil and
libavresample. Enable libav support only when
BR2_PACKAGE_FFMPEG_AVRESAMPLE is set.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/aubio: add fftw optional dependency
Romain Naour [Sat, 3 Dec 2016 12:17:38 +0000 (13:17 +0100)]
package/aubio: add fftw optional dependency

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/aubio: add jack2 optional dependency
Romain Naour [Sat, 3 Dec 2016 12:17:37 +0000 (13:17 +0100)]
package/aubio: add jack2 optional dependency

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/aubio: add libsamplerate optional dependency
Romain Naour [Sat, 3 Dec 2016 12:17:36 +0000 (13:17 +0100)]
package/aubio: add libsamplerate optional dependency

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/aubio: add libsndfile optional dependency
Romain Naour [Sat, 3 Dec 2016 12:17:35 +0000 (13:17 +0100)]
package/aubio: add libsndfile optional dependency

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/aubio: new package
Romain Naour [Sat, 3 Dec 2016 12:17:34 +0000 (13:17 +0100)]
package/aubio: new package

Aubio attempt to build aubio.so shared library so disable it for static
build only.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libdrm: bump version to 2.4.74
Bernd Kuhls [Sat, 3 Dec 2016 10:42:08 +0000 (11:42 +0100)]
package/libdrm: bump version to 2.4.74

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolsqlite3: fix hash
Francois Perrad [Sat, 3 Dec 2016 09:25:13 +0000 (10:25 +0100)]
lsqlite3: fix hash

see http://autobuild.buildroot.net/results/9c8973271591dbcd4e7ba397961cd8209cf4d2f6

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xserver_xorg-server: bump version to 1.19.0
Bernd Kuhls [Sat, 3 Dec 2016 11:58:09 +0000 (12:58 +0100)]
package/x11r7/xserver_xorg-server: bump version to 1.19.0

This release bumped video ABI to version 23
https://cgit.freedesktop.org/xorg/xserver/commit/hw/xfree86/common/xf86Module.h?id=8d3f0e964e399dcfa8eb5e85d405217fdc5dbcd4
https://cgit.freedesktop.org/xorg/xserver/commit/hw/xfree86/common/xf86Module.h?id=c07b796b47ae7f5a616d5e8e02ab0f84dc438a93
https://cgit.freedesktop.org/xorg/xserver/commit/hw/xfree86/common/xf86Module.h?id=4af00242ef1e39499b932d12423fdf449296090a

and depends on xlib_libXfont2
https://cgit.freedesktop.org/xorg/xserver/commit/?id=05a793f5b3c40747d5a92a076def7f4fb673c7e7

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-video-intel: bump version to fix crash with xserver_xorg...
Bernd Kuhls [Sat, 3 Dec 2016 11:58:08 +0000 (12:58 +0100)]
package/x11r7/xdriver_xf86-video-intel: bump version to fix crash with xserver_xorg-server 1.19.x

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-video-qxl: add support for xlib_libXfont2
Bernd Kuhls [Sat, 3 Dec 2016 11:58:07 +0000 (12:58 +0100)]
package/x11r7/xdriver_xf86-video-qxl: add support for xlib_libXfont2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xlib_libXfont2: new package
Bernd Kuhls [Sat, 3 Dec 2016 11:58:06 +0000 (12:58 +0100)]
package/x11r7/xlib_libXfont2: new package

Needed for xserver_xorg-server 1.19+
https://cgit.freedesktop.org/xorg/xserver/commit/?id=05a793f5b3c40747d5a92a076def7f4fb673c7e7

We need to keep the xlib_libXfont package because xapp_bdftopcf and
xapp_xfs were not ported yet to xlib_libXfont2:
https://lists.x.org/archives/xorg-announce/2016-August/002702.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/nvidia-driver: bump version to 375.20
Bernd Kuhls [Sat, 3 Dec 2016 11:58:05 +0000 (12:58 +0100)]
package/nvidia-driver: bump version to 375.20

http://www.nvidia.com/download/driverResults.aspx/111596/en-us
"Added support for X.Org xserver ABI 23 (xorg-server 1.19)"

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/tor: bump version to 0.2.8.10
Bernd Kuhls [Sat, 3 Dec 2016 12:05:47 +0000 (13:05 +0100)]
package/tor: bump version to 0.2.8.10

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agorpi-userland: bump version
Peter Seiderer [Sat, 3 Dec 2016 23:11:37 +0000 (00:11 +0100)]
rpi-userland: bump version

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agorpi-firmware: bump version
Peter Seiderer [Sat, 3 Dec 2016 23:11:36 +0000 (00:11 +0100)]
rpi-firmware: bump version

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoraspberrypi3_defconfig: bump kernel version to 4.4.36
Peter Seiderer [Sat, 3 Dec 2016 23:11:35 +0000 (00:11 +0100)]
raspberrypi3_defconfig: bump kernel version to 4.4.36

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoraspberrypi2_defconfig: bump kernel version to 4.4.36
Peter Seiderer [Sat, 3 Dec 2016 23:11:34 +0000 (00:11 +0100)]
raspberrypi2_defconfig: bump kernel version to 4.4.36

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoraspberrypi_defconfig: bump kernel version to 4.4.36
Peter Seiderer [Sat, 3 Dec 2016 23:11:33 +0000 (00:11 +0100)]
raspberrypi_defconfig: bump kernel version to 4.4.36

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoraspberrypi0_defconfig: bump kernel version to 4.4.36
Peter Seiderer [Sat, 3 Dec 2016 23:11:32 +0000 (00:11 +0100)]
raspberrypi0_defconfig: bump kernel version to 4.4.36

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocjson: bump to version v1.0.2
Fabrice Fontaine [Sat, 3 Dec 2016 19:47:45 +0000 (20:47 +0100)]
cjson: bump to version v1.0.2

This is a major update in cjson:
 - project site moved from sourceforge to github
 - project recommends to use the new cmake buildsystem instead of the
   legacy make
 - BR2_STATIC_LIBS is now OK (README does not mention issue anymore)
 - As include path and library name have changed, tinycbor has to be
   updated
 - As cjson can now be built as a static library, fix a bug in
   json2cbor compilation from tinycbor package

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/dependencies: use the new kconfig option to check UTF8 locale
Yann E. MORIN [Sun, 4 Dec 2016 09:43:06 +0000 (10:43 +0100)]
support/dependencies: use the new kconfig option to check UTF8 locale

Currently, we require a host with an UTF-8 locale as soone as we build a
Buildroot toolchain with support for locales. This means that we do
erquire such a locale when building a toolchain with either uClibc,
glibc or musl.

However, glibc and musl do not require such a locale to be present.

Use the new option to check if an UTF8 locale is needed on the host,
rather than deriving that from toolchain settings.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/uclibc: needs a host with an UTF8 locale to build locales
Yann E. MORIN [Sun, 4 Dec 2016 09:43:05 +0000 (10:43 +0100)]
package/uclibc: needs a host with an UTF8 locale to build locales

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocore: add a kconfig option to require an UTF8 locale on the host
Yann E. MORIN [Sun, 4 Dec 2016 09:43:04 +0000 (10:43 +0100)]
core: add a kconfig option to require an UTF8 locale on the host

This can be selected when we need the host to have an UTF-8 locale
(e.g. to build uClibc with support for locales).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/tor: add optional support for libcap
Bernd Kuhls [Sun, 4 Dec 2016 10:37:22 +0000 (11:37 +0100)]
package/tor: add optional support for libcap

- without libcap
$ host/usr/bin/x86_64-linux-readelf -a target/usr/bin/tor | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libevent-2.0.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libssl.so.1.0.0]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.1.0.0]
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.0]

- with libcap
$ host/usr/bin/x86_64-linux-readelf -a target/usr/bin/tor | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libevent-2.0.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libssl.so.1.0.0]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.1.0.0]
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libcap.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.0]

The tor configure script has no option to en-/disable libcap support.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouclibc: update to 1.0.20
Waldemar Brodkorb [Sun, 4 Dec 2016 11:20:27 +0000 (12:20 +0100)]
uclibc: update to 1.0.20

The test suite is removed from the package and is already a separate
package in buildroot. All patches are upstream, so remove them.
The UCLIBC_HAS_LFS option is removed upstream.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
[Thomas: remove BR2_UCLIBC_INSTALL_TEST_SUITE option, add it to
Config.in.legacy.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/enlightenment: bump to version 0.21.4
Romain Naour [Sun, 4 Dec 2016 12:22:04 +0000 (13:22 +0100)]
package/enlightenment: bump to version 0.21.4

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/efl: use liblz4 from lz4 package
Romain Naour [Sun, 4 Dec 2016 12:22:05 +0000 (13:22 +0100)]
package/efl: use liblz4 from lz4 package

Efl libraries bundle a copy of liblz4 which is also provided by
lz4 Buildroot package. Switch to liblz4 from lz4 package.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-libust: needs autoreconf
Thomas Petazzoni [Sun, 4 Dec 2016 14:03:10 +0000 (15:03 +0100)]
lttng-libust: needs autoreconf

The recently introduced
0002-doc-examples-Makefile.am-define-C-and-C-compilers-fo.patch touches
Makefile.am, so lttng-libust needs to be autoreconfed.

Fixes:

  http://autobuild.buildroot.net/results/e917552ea1069da74c4e392556914d05c010a250/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-babeltrace: remove patch applied upstream
Thomas Petazzoni [Sun, 4 Dec 2016 09:08:23 +0000 (10:08 +0100)]
lttng-babeltrace: remove patch applied upstream

In commit 5b0dac7ef5d8106ec77d128c53f480fd8721c05c, when bumping to
lttng-babeltrace, one patch was kept while it had been applied in the
upstream babeltrace project, causing a build failure.

The patch 0003-fix-uuid-support-detection-on-static-build.patch has been
applied upstream as 2741f55be80ae8af169ae795ea28d2a39c18fa60 in the
master branch, and as d94e7873e9080e820e7742e468736b1317a88de1 in the
maintenance branch that was used to tag 1.5.0.

Fixes:

  http://autobuild.buildroot.net/results/585f960eb81b0e15858aadc4aca516af23012b61/
  (and about a hundred of similar build failures)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocmake: pass HOST_CONFIGURE_OPTS at configure time
Thomas Petazzoni [Sat, 3 Dec 2016 15:24:23 +0000 (16:24 +0100)]
cmake: pass HOST_CONFIGURE_OPTS at configure time

Since we bumped CMake from 3.5.2 to 3.6.3 in commit
99ed85d74081a8611a6f6d1f3d745a5c40aef975, CMake uses pkg-config during
its configure step to find available libraries on the host.

If host-pkgconf was not built before host-cmake, everything was working
fine. However, if host-pkgconf was built before, the configure step of
host-cmake was finding pkg-config and used it to find
libraries. Unfortunately, since we were not passing
PKG_CONFIG_PATH/PKG_CONFIG_SYSROOT_DIR, pkg-config was behaving in its
"default" mode, i.e returning results valid when building things for the
target, not for the host. This lead to header paths pointing to the
staging directory being used when building native binary objects,
causing all sort of build failures.

This commit fixes that by passing $(HOST_CONFIGURE_OPTS) to the
environment of host-cmake configure step. This variable contains
HOST_MAKE_ENV, which itself contains the appropriate
PKG_CONFIG_PATH/PKG_CONFIG_SYSROOT_DIR definitions.

At the same time, we drop LDFLAGS="$(HOST_LDFLAGS)" because this
definition is already in $(HOST_CONFIGURE_OPTS).

Fixes:

  http://autobuild.buildroot.net/results/4e703ed8c2eb0f914794038b0ef7bd73a67f38ce/
  (and 424 similar build failures)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonodejs: security bump 0.10.x series to 0.10.48
Peter Korsgaard [Fri, 2 Dec 2016 20:16:52 +0000 (21:16 +0100)]
nodejs: security bump 0.10.x series to 0.10.48

c-ares: fix for single-byte buffer overwrite, CVE-2016-5180, more
information at https://c-ares.haxx.se/adv_20160929.html

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>