buildroot.git
7 years agoxterm: depend on libXinerama if appropriate
Jérôme Pouiller [Mon, 14 Nov 2016 13:22:37 +0000 (14:22 +0100)]
xterm: depend on libXinerama if appropriate

xterm may depends on libXinerama.so:

$ arm-linux-readelf -d ./usr/bin/xterm | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libXft.so.2]
 0x00000001 (NEEDED)                     Shared library: [libfontconfig.so.1]
 0x00000001 (NEEDED)                     Shared library: [libXmu.so.6]
 0x00000001 (NEEDED)                     Shared library: [libXaw.so.7]
 0x00000001 (NEEDED)                     Shared library: [libXt.so.6]
 0x00000001 (NEEDED)                     Shared library: [libX11.so.6]
 0x00000001 (NEEDED)                     Shared library: [libXinerama.so.1]
 0x00000001 (NEEDED)                     Shared library: [libXpm.so.4]
 0x00000001 (NEEDED)                     Shared library: [libICE.so.6]
 0x00000001 (NEEDED)                     Shared library: [libncursesw.so.6]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]

However, build order with libXinerama is not defined.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agorpm: switch to version 4.13.0
James Knight [Fri, 18 Nov 2016 18:50:53 +0000 (13:50 -0500)]
rpm: switch to version 4.13.0

Switch from RPM5's implementation to rpm.org's more active stream [1].

The history of RPM and the common RPM5-fork is covered in an LWN article
"Who maintains RPM?" [2]. Since rpm.org's implementation is used/
maintained on most RPM-based distributions as well as a series of other
minor details (see [3]), the switch is being made.

[1]: http://lists.buildroot.org/pipermail/buildroot/2015-August/137580.html
[2]: https://lwn.net/Articles/196523/
[3]: https://patchwork.ozlabs.org/patch/668151/

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
[Thomas: adjust licensing.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libdvbcsa: fix altivec problems on powerpc64
Sam bobroff [Mon, 28 Nov 2016 22:57:29 +0000 (09:57 +1100)]
package/libdvbcsa: fix altivec problems on powerpc64

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

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoRevert "jasper: Disable debugging when building for xtensa"
Max Filippov [Mon, 28 Nov 2016 21:54:30 +0000 (13:54 -0800)]
Revert "jasper: Disable debugging when building for xtensa"

This reverts commit 71d9b0c1f06896f113b09e941aa84d979bff5710.
Now that -mauto-litpools is in TARGET_ABI when building for xtensa, -O0
builds succeed, so this workaround is no longer needed.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoncftp: bump version to 3.2.6
Vicente Olivert Riera [Wed, 30 Nov 2016 17:21:52 +0000 (17:21 +0000)]
ncftp: bump version to 3.2.6

Upstream provides xz tarballs instead of bz2, so make the switch.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibgtk3: bump version to 3.22.4
Vicente Olivert Riera [Wed, 30 Nov 2016 15:57:42 +0000 (15:57 +0000)]
libgtk3: bump version to 3.22.4

Release notes:
  http://ftp.gnome.org/pub/gnome/sources/gtk+/3.22/gtk+-3.22.4.news

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoluarocks: bump to version 2.4.2
Francois Perrad [Wed, 30 Nov 2016 16:10:41 +0000 (17:10 +0100)]
luarocks: bump to version 2.4.2

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolua-messagepack: bump to version 0.3.6
Francois Perrad [Wed, 30 Nov 2016 16:10:40 +0000 (17:10 +0100)]
lua-messagepack: bump to version 0.3.6

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolsqlite3: bump to version 0.9.4
Francois Perrad [Wed, 30 Nov 2016 16:10:39 +0000 (17:10 +0100)]
lsqlite3: bump to version 0.9.4

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-libust: bump version to 2.9.0
Vicente Olivert Riera [Wed, 30 Nov 2016 17:04:45 +0000 (17:04 +0000)]
lttng-libust: bump version to 2.9.0

Drop sha256 hash. The combination of md5 and sha1 hashes is enough.

Add a patch that fixes a build failure due to using the compiler of the
host machine. The patch has been submitted as a pull request:
  https://github.com/lttng/lttng-ust/pull/41

Release notes:
  https://lists.lttng.org/pipermail/lttng-dev/2016-November/026761.html

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-babeltrace: bump version to 1.5.0
Vicente Olivert Riera [Wed, 30 Nov 2016 17:04:44 +0000 (17:04 +0000)]
lttng-babeltrace: bump version to 1.5.0

Drop sha256 hash. The combination of md5 and sha1 hashes is enough.

Release notes:
  https://lists.lttng.org/pipermail/lttng-dev/2016-November/026762.html

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-modules: bump version to 2.9.0
Vicente Olivert Riera [Wed, 30 Nov 2016 17:04:43 +0000 (17:04 +0000)]
lttng-modules: bump version to 2.9.0

Release notes:
  https://lists.lttng.org/pipermail/lttng-dev/2016-November/026760.html

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-tools: bump version to 2.9.0
Vicente Olivert Riera [Wed, 30 Nov 2016 17:04:42 +0000 (17:04 +0000)]
lttng-tools: bump version to 2.9.0

Drop sha256 hash. The combination of md5 and sha1 hashes is enough.

Remove upstream patches:

 - 0001-Fix-snapshot-del-output-with-name-on-musl.patch
   https://github.com/lttng/lttng-tools/commit/07f5023712313d73ab3feac62390a2d50457b7aa

 - 0002-Fix-strerror_r-behavior-is-glibc-specific.patch
   https://github.com/lttng/lttng-tools/commit/b6dacfe27a91af50a1f81a2a7eadf4f34ca75769

 - 0003-Set-thread-stack-size-to-ulimit-soft-value.patch
   https://github.com/lttng/lttng-tools/commit/1a1a34b40ab10a195633b1ed5e2e9b42fdae0a78

Release notes:
  https://lists.lttng.org/pipermail/lttng-dev/2016-November/026763.html

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: bump Linaro AArch64 toolchain to 2016.11
Romain Naour [Tue, 29 Nov 2016 21:43:01 +0000 (22:43 +0100)]
toolchain-external: bump Linaro AArch64 toolchain to 2016.11

Tested with Qemu v2.7.0 and the qemu_aarch64_virt_defconfig

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: bump Linaro ARMeb toolchain to 2016.11
Romain Naour [Tue, 29 Nov 2016 21:43:00 +0000 (22:43 +0100)]
toolchain-external: bump Linaro ARMeb toolchain to 2016.11

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: bump Linaro ARM toolchain to 2016.11
Romain Naour [Tue, 29 Nov 2016 21:42:59 +0000 (22:42 +0100)]
toolchain-external: bump Linaro ARM toolchain to 2016.11

Tested with qemu-2.4.1-11.fc23 and the qemu_arm_vexpress_defconfig

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogstreamer1/gst1-imx: bump version to 0.12.3
Vicente Olivert Riera [Wed, 30 Nov 2016 11:25:18 +0000 (11:25 +0000)]
gstreamer1/gst1-imx: bump version to 0.12.3

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogstreamer1/gst-omx: bump version to 1.10.2
Vicente Olivert Riera [Wed, 30 Nov 2016 11:25:17 +0000 (11:25 +0000)]
gstreamer1/gst-omx: bump version to 1.10.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogstreamer1/gst1-validate: bump version to 1.10.2
Vicente Olivert Riera [Wed, 30 Nov 2016 11:25:16 +0000 (11:25 +0000)]
gstreamer1/gst1-validate: bump version to 1.10.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogstreamer1/gst1-rtsp-server: bump version to 1.10.2
Vicente Olivert Riera [Wed, 30 Nov 2016 11:25:15 +0000 (11:25 +0000)]
gstreamer1/gst1-rtsp-server: bump version to 1.10.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogstreamer1/gst1-libav: bump version to 1.10.2
Vicente Olivert Riera [Wed, 30 Nov 2016 11:25:14 +0000 (11:25 +0000)]
gstreamer1/gst1-libav: bump version to 1.10.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogstreamer1/gst1-plugins-ugly: bump version to 1.10.2
Vicente Olivert Riera [Wed, 30 Nov 2016 11:25:13 +0000 (11:25 +0000)]
gstreamer1/gst1-plugins-ugly: bump version to 1.10.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogstreamer1/gst1-plugins-bad: bump version to 1.10.2
Vicente Olivert Riera [Wed, 30 Nov 2016 11:25:12 +0000 (11:25 +0000)]
gstreamer1/gst1-plugins-bad: bump version to 1.10.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogstreamer1/gst1-plugins-good: bump version to 1.10.2
Vicente Olivert Riera [Wed, 30 Nov 2016 11:25:11 +0000 (11:25 +0000)]
gstreamer1/gst1-plugins-good: bump version to 1.10.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogstreamer1/gst1-plugins-base: bump version to 1.10.2
Vicente Olivert Riera [Wed, 30 Nov 2016 11:25:10 +0000 (11:25 +0000)]
gstreamer1/gst1-plugins-base: bump version to 1.10.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogstreamer1/gstreamer1: bump version to 1.10.2
Vicente Olivert Riera [Wed, 30 Nov 2016 11:25:09 +0000 (11:25 +0000)]
gstreamer1/gstreamer1: bump version to 1.10.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/bluez5_utils: bump version to 5.43
Bernd Kuhls [Tue, 29 Nov 2016 21:04:15 +0000 (22:04 +0100)]
package/bluez5_utils: bump version to 5.43

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agobash: bump version to 4.4
Vicente Olivert Riera [Tue, 29 Nov 2016 12:24:04 +0000 (12:24 +0000)]
bash: bump version to 4.4

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoreadline: bump version to 7.0
Vicente Olivert Riera [Tue, 29 Nov 2016 12:24:03 +0000 (12:24 +0000)]
readline: bump version to 7.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogit: bump version to 2.11.0
Vicente Olivert Riera [Wed, 30 Nov 2016 09:45:05 +0000 (09:45 +0000)]
git: bump version to 2.11.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/{mesa3d, mesa3d-headers}: bump version to 13.0.2
Vicente Olivert Riera [Tue, 29 Nov 2016 11:38:13 +0000 (11:38 +0000)]
package/{mesa3d, mesa3d-headers}: bump version to 13.0.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agobtrfs-progs: bump version to 4.8.4
Vicente Olivert Riera [Tue, 29 Nov 2016 11:41:05 +0000 (11:41 +0000)]
btrfs-progs: bump version to 4.8.4

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosqlite: bump version to 3150200 (3.15.2)
Vicente Olivert Riera [Tue, 29 Nov 2016 11:29:19 +0000 (11:29 +0000)]
sqlite: bump version to 3150200 (3.15.2)

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agovala: bump version to 0.34.3
Vicente Olivert Riera [Tue, 29 Nov 2016 10:34:11 +0000 (10:34 +0000)]
vala: bump version to 0.34.3

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoMakefile: drop redundant shell call when deriving BASE_DIR
Danomi Manchego [Wed, 23 Nov 2016 02:31:31 +0000 (21:31 -0500)]
Makefile: drop redundant shell call when deriving BASE_DIR

Commit 173135df5b69dfd5ae6fe6cf2de8833c6f74c143 ("core: re-enter make if
$(CURDIR) or $(O) are not canonical paths") introduced the CANONICAL_O
variable, defined as:

CANONICAL_O := $(shell mkdir -p $(O) >/dev/null 2>&1)$(realpath $(O))

This duplicates the definition of BASE_DIR, by different means:

BASE_DIR := $(shell mkdir -p $(O) && cd $(O) >/dev/null && pwd)

So one of these shell calls is redundant. CANONICAL_O is defined first,
so this commit replaces the BASE_DIR derivation with $(CANONICAL_O).

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xdriver_xf86-video-sis: Add patch for ABI 23 support (xserver_xorg...
Bernd Kuhls [Sun, 27 Nov 2016 11:06:14 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-video-sis: Add patch for ABI 23 support (xserver_xorg-server 1.19+)

Re-numbered patches as well.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xdriver_xf86-video-qxl: Add patches for newer xserver_xorg-server releases
Bernd Kuhls [Sun, 27 Nov 2016 11:06:13 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-video-qxl: Add patches for newer xserver_xorg-server releases

0002-xserverfix.patch added xlib_libXfont as new dependency.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xdriver_xf86-video-*: mass addition of patches for ABI 23 support ...
Bernd Kuhls [Sun, 27 Nov 2016 11:06:12 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-video-*: mass addition of patches for ABI 23 support (xserver_xorg-server 1.19+)

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xdriver_xf86-video-vmware: bump version to 13.2.1
Bernd Kuhls [Sun, 27 Nov 2016 11:06:11 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-video-vmware: bump version to 13.2.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xdriver_xf86-video-openchrome: bump version to 0.5.0
Bernd Kuhls [Sun, 27 Nov 2016 11:06:10 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-video-openchrome: bump version to 0.5.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xdriver_xf86-video-ati: bump version to 7.8.0
Bernd Kuhls [Sun, 27 Nov 2016 11:06:09 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-video-ati: bump version to 7.8.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xdriver_xf86-video-amdgpu: bump version to 1.2.0
Bernd Kuhls [Sun, 27 Nov 2016 11:06:08 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-video-amdgpu: bump version to 1.2.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xdriver_xf86-input-synaptics: bump version to 1.9.0
Bernd Kuhls [Sun, 27 Nov 2016 11:06:07 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-input-synaptics: bump version to 1.9.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xdriver_xf86-input-mouse: bump version to 1.9.2
Bernd Kuhls [Sun, 27 Nov 2016 11:06:06 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-input-mouse: bump version to 1.9.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xdriver_xf86-input-keyboard: bump version to 1.9.0
Bernd Kuhls [Sun, 27 Nov 2016 11:06:05 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-input-keyboard: bump version to 1.9.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xdriver_xf86-input-joystick: bump version to 1.6.3
Bernd Kuhls [Sun, 27 Nov 2016 11:06:04 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-input-joystick: bump version to 1.6.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libdrm: bump version to 2.4.73
Bernd Kuhls [Sun, 27 Nov 2016 10:40:23 +0000 (11:40 +0100)]
package/libdrm: bump version to 2.4.73

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ffmpeg: bump version to 3.2.1
Bernd Kuhls [Sun, 27 Nov 2016 10:40:22 +0000 (11:40 +0100)]
package/ffmpeg: bump version to 3.2.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoefibootmrg: Allow build with uClibc
Andy Shevchenko [Sun, 27 Nov 2016 14:32:04 +0000 (16:32 +0200)]
efibootmrg: Allow build with uClibc

Details at https://github.com/rhinstaller/efibootmgr/issues/61.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
[Thomas: efivar still doesn't build on musl, so same for efibootmgr.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoefivar: allow build with uClibc
Andy Shevchenko [Sun, 27 Nov 2016 14:32:03 +0000 (16:32 +0200)]
efivar: allow build with uClibc

Details at https://github.com/rhinstaller/efivar/issues/76.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
[Thomas: tweak the dependency, efivar still doesn't build with musl.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoefivar: bump to version 30
Andy Shevchenko [Sun, 27 Nov 2016 14:32:02 +0000 (16:32 +0200)]
efivar: bump to version 30

Use newest release.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/qemu: add option to include tools
Sam bobroff [Wed, 23 Nov 2016 00:16:52 +0000 (11:16 +1100)]
package/qemu: add option to include tools

Add an option to QEMU to include the "tools" (configure option:
--enable-tools) in the target. This adds a dependency on pixman, but
that's already present.

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/{mesa3d, mesa3d-headers}: bump version to 13.0.1
Vicente Olivert Riera [Mon, 14 Nov 2016 14:01:36 +0000 (14:01 +0000)]
package/{mesa3d, mesa3d-headers}: bump version to 13.0.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/efl: bump to 1.18.3
Romain Naour [Fri, 25 Nov 2016 22:26:22 +0000 (23:26 +0100)]
package/efl: bump to 1.18.3

Bug fixes release:
https://www.enlightenment.org/news/efl-1.18.3

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocmake: bump version to 3.7.0
Vicente Olivert Riera [Mon, 14 Nov 2016 13:15:41 +0000 (13:15 +0000)]
cmake: bump version to 3.7.0

libuv is now a required dependency.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain: kill ADI Blackfin toolchain
Arnout Vandecappelle [Wed, 23 Nov 2016 23:40:35 +0000 (00:40 +0100)]
toolchain: kill ADI Blackfin toolchain

This toolchain has many problems which are fixed in contemporary gcc
and uClibc-ng. In addition, several hacks are needed to be able to
work with this toolchain. All these hacks are removed as well.  Also
the package exceptions for this toolchain are removed.

The BR2_BFIN_INSTALL_FDPIC_SHARED and BR2_BFIN_INSTALL_FLAT_SHARED
options don't get a legacy entry. For the ADI toolchain, there already
is a legacy entry, so it doesn't make sense to add it twice. For other
external toolchains, these options didn't actually work, because they
rely on the specific layout of the ADI toolchain.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: support gcc < 4.3
Arnout Vandecappelle [Wed, 23 Nov 2016 23:40:34 +0000 (00:40 +0100)]
toolchain-external: support gcc < 4.3

We currently support gcc as old as 4.3. However, Buildroot works
perfectly well with even older gcc versions (tested with 4.1). So we
can add an option BR2_TOOLCHAIN_EXTERNAL_GCC_OLD to support that. The
help text of this option is written with plenty of discouragement.

We use _OLD and not something like _PRE_4_3, because at some point we
will likely remove the 4.3 option and what would then require a name
change.

We don't set any _AT_LEAST option in this case because it's no use -
there is no lower bound on the version in this case. We therefore leave
BR2_TOOLCHAIN_GCC_AT_LEAST empty (the implicit default). When it is
empty, we don't do a version check at all in check_gcc_version
(previously we errored out when it was empty).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibatomic_ops: bump version to 7.4.4
Vicente Olivert Riera [Wed, 23 Nov 2016 14:39:14 +0000 (14:39 +0000)]
libatomic_ops: bump version to 7.4.4

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibatomic_ops: add support for MIPS architecture
Vicente Olivert Riera [Wed, 23 Nov 2016 14:39:13 +0000 (14:39 +0000)]
libatomic_ops: add support for MIPS architecture

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomoarvm: select libffi when building for MIPS
Vicente Olivert Riera [Wed, 23 Nov 2016 14:39:12 +0000 (14:39 +0000)]
moarvm: select libffi when building for MIPS

Otherwise the compilation will fail like this:

./libmoar.so: undefined reference to `dcCallbackThunkEntry'

See: https://github.com/MoarVM/MoarVM/issues/222

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomoarvm: enable optional support for libffi
Vicente Olivert Riera [Wed, 23 Nov 2016 14:39:11 +0000 (14:39 +0000)]
moarvm: enable optional support for libffi

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomoarvm: use pkgconfig to find libraries and headers
Vicente Olivert Riera [Wed, 23 Nov 2016 14:39:10 +0000 (14:39 +0000)]
moarvm: use pkgconfig to find libraries and headers

MoarVM's Configure.pl script uses pkgconfig to find libraries and
headers, but it uses the one installed in the host machine which is
wrong and can lead to errors of unsafe include paths.

Instead, make it depend on the host-pkgconf package and specify the path
to our pkgconfig binary by using the --pkgconfig configure option.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomoarvm: bump version to 2016.11
Vicente Olivert Riera [Wed, 23 Nov 2016 14:39:09 +0000 (14:39 +0000)]
moarvm: bump version to 2016.11

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/qemu: fixup enable host QEMU for powerpc64/powerpc64le
Sam bobroff [Thu, 24 Nov 2016 05:56:42 +0000 (16:56 +1100)]
package/qemu: fixup enable host QEMU for powerpc64/powerpc64le

Fixes next commit d634d9dda7f3c328d63469cb628c79da49a09e89, which itself
fixes:

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

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kexec-lite: Update to latest version
Sam Mendoza-Jonas [Fri, 25 Nov 2016 02:19:53 +0000 (13:19 +1100)]
package/kexec-lite: Update to latest version

Upstream kexec-lite now has support for kexec on POWER9 based machines.
Update so this works in simulators and is ready for when real machines
are available.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Acked-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoodroid-scripts: bump version to cfd289b1d69136b8bfd725d90cd648da4654f2bd
Dagg Stompler [Fri, 25 Nov 2016 07:52:55 +0000 (09:52 +0200)]
odroid-scripts: bump version to cfd289b1d69136b8bfd725d90cd648da4654f2bd

- add support for new monitor modes.
- fix cvbs modes

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoodroid-scripts: init display as early as possible
Dagg Stompler [Fri, 25 Nov 2016 07:48:46 +0000 (09:48 +0200)]
odroid-scripts: init display as early as possible

this commit will init the display as early as possible so the user can
see on screen the boot process.
the displey init will be called after the logging init to provide some
logging of the init.

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/qemu: enable host QEMU for powerpc64/powerpc64le
Sam bobroff [Wed, 23 Nov 2016 02:25:02 +0000 (13:25 +1100)]
package/qemu: enable host QEMU for powerpc64/powerpc64le

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoMakefile: fix ignored trace at target-finalize
Gaël PORTAY [Tue, 22 Nov 2016 20:53:33 +0000 (15:53 -0500)]
Makefile: fix ignored trace at target-finalize

Make may throw an error (but ignored) trace when cleaning up the
rootfs.

The target-finalize rule intends to remove the folder
`$(TARGET_DIR)/usr/share' but this directory may still contain items
(such as the `udhcpc' helper script) and causes the rmdir to fail.

The stderr output is redirected to /dev/null but it returns and error
which is escaped by the leading `-'; but make reports an ignored-error.

See the log below:
$ make
(...)
rm -rf (...)/target/usr/share/gtk-doc
rmdir (...)/target/usr/share
rmdir: failed to remove '(...)/target/usr/share': Directory not empty
make[1]: [Makefile:650: target-finalize] Error 1 (ignored)
find /(...)/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 (...)/host/usr/bin/arm-buildroot-linux-uclibcgnueabihf-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true

This patch apply the same rule at the instruction immediately after:
* redirecting stderr to /dev/null (already done) and
* executing true if the `rmdir' instruction fails.

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogcc: the special workaround for ARC is no longer required
Waldemar Brodkorb [Wed, 23 Nov 2016 11:20:16 +0000 (12:20 +0100)]
gcc: the special workaround for ARC is no longer required

It seems with the change to gcc 6.x based toolchain this
workaround is no longer required. Tested with an arc hs toolchain.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Acked-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomakedevs: remove target package
Arnout Vandecappelle [Wed, 23 Nov 2016 14:14:04 +0000 (15:14 +0100)]
makedevs: remove target package

The makedevs package is a fork of the makedevs tool from busybox. It is
part of the Buildroot infrastructure, not something that should be used
on the target. It something like this is needed on the target, upstream
busybox should be used. And if one of the Buildroot-specific features
is needed, then that feature should be upstreamed to busybox.

Besides, there were already two things wrong with the target package:
- it didn't take into account the overlap with busybox (no depends on
  BR2_PACKAGE_BUSYBOX_SHOW_OTHERS, no dependency on busybox);
- it didn't take into account the libcap feature.

The target package was introduced more or less accidentally in 81cd9d45
where the intention was to make it more similar to other packages.

So, kill it with fire.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoMakefile: make exported variable definitions consistent
Jérôme Pouiller [Wed, 23 Nov 2016 12:58:57 +0000 (13:58 +0100)]
Makefile: make exported variable definitions consistent

Use a space before and after the equal sign when defining the TZ, LANG
and LC_ALL variables, as suggested by the Buildroot coding style.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoConfig.in: improve BR2_REPRODUCIBLE help text
Jérôme Pouiller [Wed, 23 Nov 2016 12:58:56 +0000 (13:58 +0100)]
Config.in: improve BR2_REPRODUCIBLE help text

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofs/common: lock modification times in $TARGET_DIR
Jérôme Pouiller [Wed, 23 Nov 2016 12:58:47 +0000 (13:58 +0100)]
fs/common: lock modification times in $TARGET_DIR

Make sure all files in $TARGET_DIR have a defined modification time
before to generate filesystems.

This work was sponsored by `BA Robotic Systems'.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-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>
8 years agobusybox: disable build timestamps for reproducible builds
Gilles Chanteperdrix [Wed, 23 Nov 2016 12:58:46 +0000 (13:58 +0100)]
busybox: disable build timestamps for reproducible builds

Busybox includes some information about the build environment in its
binary. For BR2_REPRODUCIBLE, remove that information.

Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux: override build timestamp for reproducible builds
Gilles Chanteperdrix [Wed, 23 Nov 2016 12:58:44 +0000 (13:58 +0100)]
linux: override build timestamp for reproducible builds

Linux kernel include a few information about build environment in its binary.
This feature is incompatible with BR2_REPRODUCIBLE. This patch overload build
information when BR2_REPRODUCIBLE is enabled.

Note that usage of KBUILD_BUILD_TIMESTAMP is not mandatory since Buildroot
use `fakedate'. However, native solution is prefered when upstream
provide one.

Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofs/tar: make results reproducible
Jérôme Pouiller [Wed, 23 Nov 2016 12:58:43 +0000 (13:58 +0100)]
fs/tar: make results reproducible

In order to make tar images reproducible, force files order in tarball.

This work was sponsored by `BA Robotic Systems'.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoMakefile: add '-n' to gzip invocations to improve reproducibility
Jérôme Pouiller [Wed, 23 Nov 2016 12:58:42 +0000 (13:58 +0100)]
Makefile: add '-n' to gzip invocations to improve reproducibility

Default invocation to gzip include timestamp in output file. This feature is
incompatible with BR2_REPRODUCIBLE. It is possible to disable it with '-n'.

The environment variable GZIP can hold a set of default options for gzip. So
instead to find all gzip invocation in build process, we just export 'GZIP=-n'.

Notice bzip2, lzma and xz are not impacted by this problem. On the other hand, lzop
does include timestamp and does not provide any way to disable it.

This work was sponsored by `BA Robotic Systems'.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-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>
8 years agoMakefile: generate SOURCE_DATE_EPOCH for reproducible builds
Gilles Chanteperdrix [Wed, 23 Nov 2016 12:58:40 +0000 (13:58 +0100)]
Makefile: generate SOURCE_DATE_EPOCH for reproducible builds

When reproducibility is requested, generate a global SOURCE_DATE_EPOCH
environment variable which contains either the date of Buildroot last
commit if running from a git repository, or the latest release date.

This means that all packages embedding build dates will appear to
have the same build date, so in case of new commit or release, all
packages will appear to have been changed, even though some of them
may not have changed in fact.

The meaning of SOURCE_DATE_EPOCH is specified by the following
specification:
  https://reproducible-builds.org/specs/source-date-epoch/

Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: remove Arago toolchains
Arnout Vandecappelle [Mon, 7 Nov 2016 01:20:17 +0000 (02:20 +0100)]
toolchain-external: remove Arago toolchains

The Arago toolchains are no longer maintained and haven't been updated
for a long time.

With this removal, all the legacy toolchain-external support can be
removed as well.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external-arc: new package
Thomas Petazzoni [Mon, 7 Nov 2016 01:20:16 +0000 (02:20 +0100)]
toolchain-external-arc: new package

This commit adds a new package for the Synopsys external toolchain for
the ARC architecture.

The legacy implementation is removed.

Note that this toolchain is marked as BROKEN, but 2016.09 seems about
to be released so maybe it will be unbroken soon.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external-custom: new package
Thomas Petazzoni [Mon, 7 Nov 2016 01:20:15 +0000 (02:20 +0100)]
toolchain-external-custom: new package

This commit adds a new package to support custom external toolchains.

The legacy implementation is removed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external-musl-cross: new package
Thomas Petazzoni [Mon, 7 Nov 2016 01:20:14 +0000 (02:20 +0100)]
toolchain-external-musl-cross: new package

This commit adds a new package for the pre-built Musl external
toolchains.

The legacy implementation is removed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external-codesourcery-x86: new package
Thomas Petazzoni [Mon, 7 Nov 2016 01:20:13 +0000 (02:20 +0100)]
toolchain-external-codesourcery-x86: new package

This commit adds a new package for the Sourcery CodeBench external
toolchain for the i386/x86_64 architecture.

The legacy implementation is removed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external-codesourcery-amd64: new package
Romain Naour [Mon, 7 Nov 2016 01:20:12 +0000 (02:20 +0100)]
toolchain-external-codesourcery-amd64: new package

This commit adds a new package for the Sourcery CodeBench external
toolchain for the AMD-64 architecture.

The legacy implementation is removed.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external-codesourcery-sh: new package
Thomas Petazzoni [Mon, 7 Nov 2016 01:20:11 +0000 (02:20 +0100)]
toolchain-external-codesourcery-sh: new package

This commit adds a new package for the Sourcery CodeBench external
toolchain for the SuperH 4a architecture.

The legacy implementation is removed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external-codesourcery-niosII: new package
Thomas Petazzoni [Mon, 7 Nov 2016 01:20:10 +0000 (02:20 +0100)]
toolchain-external-codesourcery-niosII: new package

This commit adds a new package for the Sourcery CodeBench external
toolchain for the nios-II architecture.

The legacy implementation is removed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external-codescape-mti-mips: new package
Thomas Petazzoni [Mon, 7 Nov 2016 01:20:09 +0000 (02:20 +0100)]
toolchain-external-codescape-mti-mips: new package

This commit adds a new package for the Codescape MTI external toolchain
for the MIPS architecture.

The legacy implementation is removed.

The Codescape hacks for IMG and MTI are duplicated.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external-codescape-img-mips: new package
Thomas Petazzoni [Mon, 7 Nov 2016 01:20:08 +0000 (02:20 +0100)]
toolchain-external-codescape-img-mips: new package

This commit adds a new package for the Codescape IMG external toolchain
for the MIPS architecture.

The legacy implementation is removed.

The Codescape hacks for IMG and MTI are duplicated.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external-codesourcery-mips: new package
Thomas Petazzoni [Mon, 7 Nov 2016 01:20:07 +0000 (02:20 +0100)]
toolchain-external-codesourcery-mips: new package

This commit adds a new package for the Sourcery CodeBench external
toolchain for the MIPS architecture.

The legacy implementation is removed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external-blackfin-uclinux: new package
Thomas Petazzoni [Mon, 7 Nov 2016 01:20:06 +0000 (02:20 +0100)]
toolchain-external-blackfin-uclinux: new package

This commit adds a new package for the Analog Devices external toolchain
for the Blackfin architecture.

The legacy implementation is removed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external-linaro-armeb: new package
Thomas Petazzoni [Mon, 7 Nov 2016 01:20:05 +0000 (02:20 +0100)]
toolchain-external-linaro-armeb: new package

This commit adds a new package for the Linaro external toolchain for the
ARM Big-endian architecture.

The legacy implementation is removed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external-codesourcery-arm: Cortex-A12 and Cortex-A17 not supported
Arnout Vandecappelle [Mon, 7 Nov 2016 01:20:04 +0000 (02:20 +0100)]
toolchain-external-codesourcery-arm: Cortex-A12 and Cortex-A17 not supported

It's gcc 4.8.3 which doesn't support those cores yet.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external-codesourcery-arm: new package
Thomas Petazzoni [Mon, 7 Nov 2016 01:20:03 +0000 (02:20 +0100)]
toolchain-external-codesourcery-arm: new package

This commit adds a new package for the Sourcery CodeBench external
toolchain for the ARM architecture.

The legacy implementation is removed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external-linaro-arm: new package
Thomas Petazzoni [Mon, 7 Nov 2016 01:20:02 +0000 (02:20 +0100)]
toolchain-external-linaro-arm: new package

This commit adds a new package for the Linaro external toolchain for the
ARM architecture.

The legacy implementation is removed.

The comment about availability is duplicated for arm and armeb.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external-codesourcery-aarch64: new package
Thomas Petazzoni [Mon, 7 Nov 2016 01:20:01 +0000 (02:20 +0100)]
toolchain-external-codesourcery-aarch64: new package

This commit adds a new package for the Sourcery CodeBench external
toolchain for the AArch64 architecture.

The legacy implementation is removed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external-linaro-aarch64: new package
Thomas Petazzoni [Mon, 7 Nov 2016 01:20:00 +0000 (02:20 +0100)]
toolchain-external-linaro-aarch64: new package

This commit adds a new package for the Linaro external toolchain for
the AArch64 architecture.

The legacy implementation is removed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: introduce toolchain-external-package
Arnout Vandecappelle [Mon, 7 Nov 2016 01:19:59 +0000 (02:19 +0100)]
toolchain-external: introduce toolchain-external-package

The toolchain-external-package infrastructure is just a copy of the
toolchain-external commands, replacing TOOLCHAIN_EXTERNAL by $(2)
and adding double-dollars everywhere.

toolchain-external itself is converted to a virtual package, but it
is faked a little to make sue the toolchains that haven't been
converted to toolchain-external-package yet keep on working.

The TOOLCHAIN_EXTERNAL_MOVE commands don't have to be redefined
for every toolchain-external-package instance, so that is moved
out into the common part of pkg-toolchain-external.mk.

The musl-compat-headers dependency stays in the toolchain-external
package itself.

The musl ld link is duplicated in the legacy toolchain-external and
the toolchain-external-package, because they have separate hooks.

The handling of TOOLCHAIN_EXTERNAL_BIN deserves some special attention,
because its value will be different for different
toolchain-external-package instances. However, the value only depends
on variables that are set by Kconfig (BR2_TOOLCHAIN_EXTERNAL_PREFIX
and BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD) so it can easily be used in
the generic part. So we don't have to do anything specific for this
variable after all.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Romain Naour <romain.naour@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: move parts to pkg-toolchain-external.mk
Arnout Vandecappelle [Mon, 7 Nov 2016 01:19:58 +0000 (02:19 +0100)]
toolchain-external: move parts to pkg-toolchain-external.mk

pkg-toolchain-external.mk will be used later to define the
toolchain-external-package infra. Most of the variable and macro
definitions are shared with the legacy generic-package based
toolchain-external. Move these to pkg-toolchain-external.mk.

pkg-toolchain-external.mk is included implicitly by the include
toolchain/*/*.mk in the top-level Makefile. The order of inclusion is
not defined, but that doesn't matter because none of the variables
defined in pkg-toolchain-external.mk are used in conditions or in
rules in toolchain-external.mk, only in recursively-expanded
variables.

No functional changes at all. The output of 'make -qp' hasn't changed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Arnout: split off into separate patch]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: reorder the contents of toolchain-external.mk
Arnout Vandecappelle [Mon, 7 Nov 2016 01:19:57 +0000 (02:19 +0100)]
toolchain-external: reorder the contents of toolchain-external.mk

When the toolchain-external logic will be split into separate packages,
the order in which things are defined in toolchain-external.mk no
makes less sense. So reorder things in a more logical fashion.

Also add a few more comments to the different sections.

No functional changes at all. The output of 'make -qp' hasn't changed,
except for the order of arguments in
TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Arnout: split off into separate patch, slightly change some comments,
 reordered some parts]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>