]> rtime.felk.cvut.cz Git - coffee/buildroot.git/log
coffee/buildroot.git
6 years agolz4: bump to version 1.8.1.2
Baruch Siach [Thu, 19 Apr 2018 09:46:35 +0000 (12:46 +0300)]
lz4: bump to version 1.8.1.2

Use lib and lz4 make targets to avoid build of the manual generator, and
the examples. Both of them use the target compiler to build host tools.

Add license files hashes.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomulticat: bump to version 2.2
Baruch Siach [Thu, 19 Apr 2018 05:28:37 +0000 (08:28 +0300)]
multicat: bump to version 2.2

Drop upstream patches.

Add upstream patch fixing build with musl libc.

Add license file hash.

Set LDLIBS to TARGET_LDFLAGS for TARGET_LDFLAGS to be added to the link
commands. Makefile does not use the LDFLAGS environment variable. This
fixes static linking.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodhcpc: bump to version 7.0.3
Yegor Yefremov [Thu, 19 Apr 2018 05:57:37 +0000 (07:57 +0200)]
dhcpc: bump to version 7.0.3

Use sha256 checksum from *.distinfo.asc file.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotslib: update to 1.16
Martin Kepplinger [Thu, 19 Apr 2018 13:43:05 +0000 (15:43 +0200)]
tslib: update to 1.16

For those who wonder what happend, as usual, there's a changelog summary:
https://github.com/kergoth/tslib/releases

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodownload/git: ensure we have a sane repository
Yann E. MORIN [Tue, 17 Apr 2018 16:48:21 +0000 (18:48 +0200)]
download/git: ensure we have a sane repository

There are cases where a repository might be broken, e.g. when a previous
operation was killed or otherwise failed unexpectedly.

We fix that by always initialising the repository, as suggested by
Ricardo. git-init is safe on an otherwise-healthy repository:

    Running git init in an existing repository is safe. It will not
    overwrite things that are already there. [...]

Using git-init will just ensure that we have the strictly required files
to form a sane tree. Any blob that is still missing would get fetched
later on.

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reported-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodownload/git: ensure we always work in the expected repository
Yann E. MORIN [Tue, 17 Apr 2018 16:48:20 +0000 (18:48 +0200)]
download/git: ensure we always work in the expected repository

git always look directories up until it finds a repository. In case
the git cache is broken, it may no longer be identified as a repository,
and git will look higher in the directories until it finds one.

In the default conditions, this would be Buildroot's own git tree
(because DL_DIR is a subdir of Buildroot), but in some situations may
very well be any repository the user has Buildroot in, like a
br2-external tree...

So, we force git to use our git cache and never look elsewhere, as
Suggested by Ricardo.

Use GIT_DIR, as it has been there for ages now, while --git-dir was
only introduced later (even if most distros ship an later version),
as suggested by Arnout.

Also fix the one call to git that was not using the wrapper.

Reported-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopixiewps: add missing dependency on threads
Guillaume W. Bres [Wed, 18 Apr 2018 14:33:53 +0000 (16:33 +0200)]
pixiewps: add missing dependency on threads

Fixes:

  http://autobuild.buildroot.net/results/0c8d0eeb693ac29739845f489caffc2f9fa3b262/

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoscanpypi: add support for the new PyPI infrastructure
Yegor Yefremov [Wed, 18 Apr 2018 09:55:42 +0000 (11:55 +0200)]
scanpypi: add support for the new PyPI infrastructure

https://pypi.python.org URL has been changed to https://pypi.org.

Package's JSON object now contains sha256 checksum, so use it
instead of locally computed one. Change comments in the hash
file accordingly.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/wmctrl: x-includes and x-libraries must be set for cross-compiling
Romain Naour [Tue, 17 Apr 2018 18:22:08 +0000 (20:22 +0200)]
package/wmctrl: x-includes and x-libraries must be set for cross-compiling

set x-includes and x-libraries configure option for cross-compiling.
wmctrl can use poisoned paths if these options are not passed to
configure script.

Fixes:
http://autobuild.buildroot.net/results/7e5/7e5cba8a5650a00e10d1a5528f38cb2bf772aee1

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonmap: fix check-package warning
Thomas Petazzoni [Wed, 18 Apr 2018 08:58:06 +0000 (10:58 +0200)]
nmap: fix check-package warning

Fixes:

package/nmap/nmap.mk:88: expected indent with tabs
93 lines processed
1 warnings generated

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/python-xlrd: fix check-package warnings on Config.in.host
Thomas Petazzoni [Tue, 17 Apr 2018 12:57:05 +0000 (14:57 +0200)]
package/python-xlrd: fix check-package warnings on Config.in.host

Fixes:

package/python-xlrd/Config.in.host:4: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)

https://gitlab.com/buildroot.org/buildroot/-/jobs/63334884

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoConfig.in: fix check-package warning
Thomas Petazzoni [Tue, 17 Apr 2018 12:54:45 +0000 (14:54 +0200)]
Config.in: fix check-package warning

Fixes:

Config.in:203: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
Config.in:204: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)

https://gitlab.com/buildroot.org/buildroot/-/jobs/63334884

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomariadb: bump version to 10.1.32
Ryan Coe [Mon, 16 Apr 2018 18:40:00 +0000 (11:40 -0700)]
mariadb: bump version to 10.1.32

Release notes: https://mariadb.com/kb/en/mariadb-10132-release-notes/
Changelog: https://mariadb.com/kb/en/mariadb-10132-changelog/

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/wayland: Bump version to 1.15.0
Alexey Brodkin [Mon, 16 Apr 2018 16:58:30 +0000 (19:58 +0300)]
package/wayland: Bump version to 1.15.0

All hashes provided by upstream.

Updated Yann's patch:
 - Took v2 from https://patchwork.freedesktop.org/patch/143038/
 - Rebased on top of v1.15

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/weston: Bump version to 4.0.0
Alexey Brodkin [Mon, 16 Apr 2018 16:25:26 +0000 (19:25 +0300)]
package/weston: Bump version to 4.0.0

Added all hashes provided by upstream.

Yann's patch was integrated in upstream, see:
https://cgit.freedesktop.org/wayland/weston/commit/?id=fa41bdfbc

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agovalgrind: bump version to 3.13.0
Peter Seiderer [Mon, 16 Apr 2018 16:09:00 +0000 (18:09 +0200)]
valgrind: bump version to 3.13.0

- update site
- add license hash
- remove 0004-Fixes-for-musl-libc.patch (applied upstream, see [1]) and
  corresponding autoreconf option

[1] https://sourceware.org/git/?p=valgrind.git;a=commit;h=f8f1e9cb434cc97ce16586437407a6ac7e6a74a7

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agousb_modeswitch: set CXX to false when C++ is missing
Baruch Siach [Tue, 17 Apr 2018 04:00:28 +0000 (07:00 +0300)]
usb_modeswitch: set CXX to false when C++ is missing

Similar to the openocd fix in commit 5966e2dc54 (package/openocd: fix
fallout after no-C++ fixups) the jimctl that is bundled with
usb_modeswitch also wants to find a binary. This broke with commit
4cd1ab158 (core: alternate solution to disable C++). Revert to 'false'
instead of 'no' here as well.

Fixes:
http://autobuild.buildroot.net/results/b4d/b4d4e925763cb6558af915f9781afe07fc557ebc/
http://autobuild.buildroot.net/results/61b/61b9dc2148df2e8fd0b30e62aedbfd30bb755e19/
http://autobuild.buildroot.net/results/468/468a7e6b049f159fbb4e79d3a12b53ca890f6933/

Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl: bump to version 5.26.2
Francois Perrad [Tue, 17 Apr 2018 03:25:57 +0000 (05:25 +0200)]
perl: bump to version 5.26.2

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5: qt5websockets: install missing qml modules
Manfred Schlaegl [Wed, 11 Apr 2018 12:40:37 +0000 (14:40 +0200)]
qt5: qt5websockets: install missing qml modules

QML modules for QtWebSockets are located in /usr/qml/QtWebSockets since
Qt 5.5.

/usr/qml/Qt/WebSockets still exists for compatibility reasons, but
it contains only a qmldir file which points to ../../QtWebSockets/.

see also: http://doc.qt.io/qt-5.6/qtwebsockets-qmlmodule.html

Signed-off-by: Manfred Schlaegl <manfred.schlaegl@ginzinger.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt53d: install missing QML modules, plugins and examples
Romain Reignier [Mon, 16 Apr 2018 00:30:43 +0000 (02:30 +0200)]
qt53d: install missing QML modules, plugins and examples

Some files were missing on the first build of qt53d but added later:
- by qt5base for the plugins because it copies the whole /usr/lib/qt/plugins
  directory
- by qt5declarative for the QML modules because it copies the whole
  /usr/qml directory

Also, the qt53d examples were not installed if
BR2_PACKAGE_QT5BASE_EXAMPLES was set.

Signed-off-by: Romain Reignier <rom.reignier@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomicropython: bump version to v1.9.3
Blomme, Maarten [Mon, 16 Apr 2018 13:28:47 +0000 (13:28 +0000)]
micropython: bump version to v1.9.3

(With correct formatting now)

The build step now requires building mpy-cross first.

Signed-off-by: Blomme, Maarten <Maarten.Blomme@flir.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolegacy: remove options made legacy 5 years ago
Yann E. MORIN [Mon, 16 Apr 2018 14:11:16 +0000 (16:11 +0200)]
legacy: remove options made legacy 5 years ago

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/swupdate: default website have a new API
Julien Corjon [Mon, 16 Apr 2018 13:20:35 +0000 (15:20 +0200)]
package/swupdate: default website have a new API

2018.03 introduce a new website with Websocket asynchronous
communication[1]

[1] https://github.com/sbabic/swupdate/blob/master/doc/source/mongoose.rst

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-firmware: support paths with subdirs in LINUX_FIRMWARE_DIRS
Thomas Petazzoni [Sun, 15 Apr 2018 20:22:45 +0000 (22:22 +0200)]
linux-firmware: support paths with subdirs in LINUX_FIRMWARE_DIRS

Following commit cdb7876f63a253254b86637aaac8b255a426b60a
("linux-firmware: add Qualcomm video accelerator and GPU firmware
options"), LINUX_FIRMWARE_DIRS can now contain entries with subdirs,
such as "qcom/venus-1.8". Such entries are currently not supported by
the logic in LINUX_FIRMWARE_INSTALL_DIRS.

Indeed the current logic consists in:

 - Removing the destination directory
 - Copying to the destination directory

Unfortunately, the last step fails if a component of the path leading
to the destination directory does not exist. To overcome this, we
simply add the appropriate mkdir before the copy.

Fixes:

  http://autobuild.buildroot.net/results/54cbca90742faf486e59d95b95a0b0494e47b385/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoalsa-lib: update license file hash
Baruch Siach [Mon, 16 Apr 2018 06:26:26 +0000 (09:26 +0300)]
alsa-lib: update license file hash

FSF address update.

Fixes:
http://autobuild.buildroot.net/results/1b9/1b9ec9cc0f22a58ad37f21be1b6eb4cc064b6dbc/
http://autobuild.buildroot.net/results/d32/d32ae8b67c1aade7225c42a4685dc62fdaa0b0e3/
http://autobuild.buildroot.net/results/d9b/d9b8e918fa4a1f7a9470473f82bb21b3dce1acc4/

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoupmpdcli: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:44 +0000 (23:29 -0300)]
upmpdcli: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Replace the DAEMON variable, which was used only once, by the full path
of the binary file.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotvheadend: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:43 +0000 (23:29 -0300)]
tvheadend: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Replace the DAEMON variable, which was used only once, by the full path
of the binary file.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotriggerhappy: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:42 +0000 (23:29 -0300)]
triggerhappy: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Replace the DAEMON variable, which was used only once, by the full path
of the binary file.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotransmission: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:41 +0000 (23:29 -0300)]
transmission: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotpm2-abrmd: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:40 +0000 (23:29 -0300)]
tpm2-abrmd: don't test if the binary exists in the init script

The test doesn't make sense. Buildroot installs both abrmd and its init
script as part of the same package. But if it ever happens for some
reason, the error message from start-stop-daemon should be pretty clear.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotinyhttpd: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:39 +0000 (23:29 -0300)]
tinyhttpd: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosquid: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:38 +0000 (23:29 -0300)]
squid: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoprosody: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:37 +0000 (23:29 -0300)]
prosody: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Replace the DAEMON variable, which was used only once, by the full path
of the binary file.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoproftpd: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:36 +0000 (23:29 -0300)]
proftpd: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Replace the DAEMON variable, which was used only once, by the full path
of the binary file.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoopenvpn: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:35 +0000 (23:29 -0300)]
openvpn: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Replace the DAEMON variable, which was used only once, by the full path
of the binary file.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoopenntpd: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:34 +0000 (23:29 -0300)]
openntpd: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agontp: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:33 +0000 (23:29 -0300)]
ntp: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Replace the DAEMON variable, which was used only once, by the full path
of the binary file.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonfs-utils: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:32 +0000 (23:29 -0300)]
nfs-utils: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonetwork-manager: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:31 +0000 (23:29 -0300)]
network-manager: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Replace the NETWORKMANAGER_BIN variable, which was used only once, by
the full path of the binary file.

Drop the now useless variables prefix, exec_prefix and sbindir.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonetsnmp: don't test if the binaries exist in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:30 +0000 (23:29 -0300)]
netsnmp: don't test if the binaries exist in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonetplug: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:29 +0000 (23:29 -0300)]
netplug: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoneard: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:28 +0000 (23:29 -0300)]
neard: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Replace the DAEMON variable, which was used only once, by the full path
of the binary file.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agompd: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:27 +0000 (23:29 -0300)]
mpd: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomodem-manager: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:26 +0000 (23:29 -0300)]
modem-manager: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Drop the MODEMMANAGER_BIN variable, which was never initialized.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agohaveged: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:25 +0000 (23:29 -0300)]
haveged: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoeudev: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:24 +0000 (23:29 -0300)]
eudev: don't test if the binary exists in the init script

The test doesn't make sense. It just exits with error code 5 if the
binary doesn't exist, which is silly. Buildroot installs both udevd and
its init script as part of the same package. But if it ever happens for
some reason, the error message "/sbin/udevd: No such file or directory"
in the start case should be pretty clear.

Replace the UDEV_BIN variable, which was used only once, by the full
path of the binary file.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodnsmasq: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:23 +0000 (23:29 -0300)]
dnsmasq: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodmraid: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:22 +0000 (23:29 -0300)]
dmraid: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodhcpcd: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:21 +0000 (23:29 -0300)]
dhcpcd: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodbus: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:20 +0000 (23:29 -0300)]
dbus: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobind: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:19 +0000 (23:29 -0300)]
bind: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosqlite: avoid use of unsupported -Ofast CFLAGS
Joshua Henderson [Fri, 13 Apr 2018 20:22:34 +0000 (13:22 -0700)]
sqlite: avoid use of unsupported -Ofast CFLAGS

sqlite3 refuses to be built with -ffast-math (a side effect of -Ofast) when it
falls back to implementing its own isnan() function.

sqlite3.c: In function ‘sqlite3IsNaN’:
sqlite3.c:28554:3: error: #error SQLite will not work correctly with the -ffast-math option of GCC.

To work around this, when -Ofast is used replace with -O3.

Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agophp: remove Blackfin patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:37 +0000 (21:50 +0200)]
php: remove Blackfin patch

And renumber remaining patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowayland: remove Blackfin patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:36 +0000 (21:50 +0200)]
wayland: remove Blackfin patch

And renumber remaining patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agop7zip: remove Blackfin patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:35 +0000 (21:50 +0200)]
p7zip: remove Blackfin patch

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibsepol: remove Blackfin patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:34 +0000 (21:50 +0200)]
libsepol: remove Blackfin patch

And renumber remaining patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibsemanage: remove Blackfin patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:33 +0000 (21:50 +0200)]
libsemanage: remove Blackfin patch

And renumber the remaining patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibpng: remove Blackfin patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:32 +0000 (21:50 +0200)]
libpng: remove Blackfin patch

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibselinux: remove Blackfin patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:31 +0000 (21:50 +0200)]
libselinux: remove Blackfin patch

And renumber the remaining patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoicu: remove Blackfin patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:30 +0000 (21:50 +0200)]
icu: remove Blackfin patch

And renumber remaining patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agographite2: remove Blackfin related patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:29 +0000 (21:50 +0200)]
graphite2: remove Blackfin related patch

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogdb/7.10: remove Blackfin patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:28 +0000 (21:50 +0200)]
gdb/7.10: remove Blackfin patch

And renumber remaining patches

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogdb: remove Blackfin patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:27 +0000 (21:50 +0200)]
gdb: remove Blackfin patch

And renumber remaining patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoffmpeg: remove Blackfin related patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:26 +0000 (21:50 +0200)]
ffmpeg: remove Blackfin related patch

And renumber remaining patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocairo: remove Blackfin related patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:25 +0000 (21:50 +0200)]
cairo: remove Blackfin related patch

And renumber the remaining patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage: remove Blackfin related code
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:24 +0000 (21:50 +0200)]
package: remove Blackfin related code

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobinutils: remove Blackfin patches
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:23 +0000 (21:50 +0200)]
binutils: remove Blackfin patches

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogcc: remove Blackfin patches
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:22 +0000 (21:50 +0200)]
gcc: remove Blackfin patches

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotoolchain, gcc, gdb, binutils, uclibc: remove Blackfin code
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:21 +0000 (21:50 +0200)]
toolchain, gcc, gdb, binutils, uclibc: remove Blackfin code

This commit removes Blackfin related code from all toolchain code and
components.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux: remove Blackfin related code
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:20 +0000 (21:50 +0200)]
linux: remove Blackfin related code

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboot/uboot: remove Blackfin related code
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:19 +0000 (21:50 +0200)]
boot/uboot: remove Blackfin related code

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoarch: drop BR2_BINFMT_FLAT_SEP_DATA support
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:18 +0000 (21:50 +0200)]
arch: drop BR2_BINFMT_FLAT_SEP_DATA support

This was only used by Blackfin, so there's no good reason to keep it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoarch: remove Blackfin architecture
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:17 +0000 (21:50 +0200)]
arch: remove Blackfin architecture

The Blackfin architecture has for a long time been complicated to
maintain, with poor support in upstream binutils/gcc. As of April
2018, the Blackfin architecture has been dropped from the upstream
Linux kernel. Also, the Analog Device engineer who used to be in touch
with the Buildroot community also privately said we should drop the
support for this architecture, which Analog Devices is no longer
using, promoting and maintaining.

The BR2_BINFMT_FLAT_SEP_DATA option becomes unselectable, it will be
removed in a future commit.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/gdb_bfin_bf512: remove defconfig
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:16 +0000 (21:50 +0200)]
configs/gdb_bfin_bf512: remove defconfig

As we are about to remove the Blackfin architecture, remove the only
defconfig that was using this CPU architecture.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/config-fragments/autobuild: remove Blackfin configuration
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:15 +0000 (21:50 +0200)]
support/config-fragments/autobuild: remove Blackfin configuration

In preparation for the removal of the Blackfin architecture, drop the
autobuilder toolchain configuration that was testing Blackfin.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agozeromq: add libunwind as an optional dependency
Asaf Kahlon [Sun, 15 Apr 2018 19:39:57 +0000 (22:39 +0300)]
zeromq: add libunwind as an optional dependency

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonetwork-manager: support a defaults file in the init script
Carlos Santos [Fri, 13 Apr 2018 16:00:27 +0000 (13:00 -0300)]
network-manager: support a defaults file in the init script

Sometimes it is useful to pass some parameters to NetworkManager when it
starts (e.g. --log-level) instead of editting NetworkManager.conf. Allow
the user add a file with a NETWORKMANAGER_ARGS variable containing such
flags. This is simpler than overriding the whole startup script (e.g. by
means of a rootfs overlay).

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoswupdate: bump to version 2018.03
Jörg Krause [Fri, 13 Apr 2018 06:34:37 +0000 (08:34 +0200)]
swupdate: bump to version 2018.03

Remove upstream patches:
  * 0001-compat.h-introduce-compatibility-header.patch
  * 0002-Fix-build-if-DOWNLOAD-is-set-but-no-JSON.patch

Update note about bundled modified version of mongoose 6.11.

Update licenses. Some files are LGPL-2.1+ now. Remove Public Domain as the
relevant bundled sqlite3 code was removed some time age.

Regenerated the .config file by doing:

```
make swupdate-menuconfig
make swupdate-update-config
```
.. and removing the paths for the build options manually.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoethtool: bump to version 4.15
Baruch Siach [Fri, 13 Apr 2018 04:51:49 +0000 (07:51 +0300)]
ethtool: bump to version 4.15

Add the LICENSE file to license files.

Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoalsa-utils: bump version to 1.1.6
Jörg Krause [Fri, 13 Apr 2018 07:28:25 +0000 (09:28 +0200)]
alsa-utils: bump version to 1.1.6

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoalsa-lib: bump to version 1.1.6
Jörg Krause [Fri, 13 Apr 2018 07:28:24 +0000 (09:28 +0200)]
alsa-lib: bump to version 1.1.6

Regenerate patches using git as patch 0002 didn't applu and the others
were fuzzy.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
[Thomas: fix authorship in patches, order of SoB and use git
format-patch -N to avoid numbering]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/liteboard: Bump Linux to 4.16.2
Marcin Niestroj [Fri, 13 Apr 2018 10:09:29 +0000 (12:09 +0200)]
configs/liteboard: Bump Linux to 4.16.2

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/liteboard: Bump U-Boot to 2018.03
Marcin Niestroj [Fri, 13 Apr 2018 10:09:28 +0000 (12:09 +0200)]
configs/liteboard: Bump U-Boot to 2018.03

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agovalgrind: allow selection on aarch64
Anssi Hannula [Fri, 13 Apr 2018 12:13:14 +0000 (15:13 +0300)]
valgrind: allow selection on aarch64

valgrind works fine on aarch64, so allow selecting it on that
architecture.

Signed-off-by: Anssi Hannula <anssi.hannula@bitwise.fi>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosystemd: add compatibility symlink for 'shutdown'
Anssi Hannula [Fri, 13 Apr 2018 12:18:30 +0000 (15:18 +0300)]
systemd: add compatibility symlink for 'shutdown'

In addition to the 'halt', 'poweroff', 'reboot' symlinks pointing to
systemctl, add 'shutdown'.

Signed-off-by: Anssi Hannula <anssi.hannula@bitwise.fi>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibcap-ng: fix compilation without pthread.h
Fabrice Fontaine [Sun, 15 Apr 2018 08:18:49 +0000 (10:18 +0200)]
libcap-ng: fix compilation without pthread.h

Fixes:
 - http://autobuild.buildroot.net/results/6132f33fb282fda3c39deb292784b9006c9e7872

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas: add missing AUTORECONF = YES, since we're now patching
configure.ac]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agozeromq: patch configure.ac to check for ldaddr on when checking libunwind
Asaf Kahlon [Sun, 15 Apr 2018 18:15:55 +0000 (21:15 +0300)]
zeromq: patch configure.ac to check for ldaddr on when checking libunwind

configure.ac can fail the build when there's no dynamic library support,
since it cannot find dladdr which is needed only when we have libunwind.
Therefore, configure.ac was patched to check for dladdr only in the libunwind
check section. As a consequence of the patch, ZEROMQ_AUTORECONF was set.

The patch was applied to the zeromq master branch, see:
https://github.com/zeromq/libzmq/commit/c971445025535b9f989ab0b78f5ddd1c026f1878

Fixes:
http://autobuild.buildroot.net/results/2b1aaf7e35651f04a9e9d0269e49c1b0bd87ae29/

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-headers: bump 4.{4, 9}.x series
Fabio Estevam [Sat, 14 Apr 2018 00:20:41 +0000 (21:20 -0300)]
linux-headers: bump 4.{4, 9}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocjson: bump to version 1.7.6
Fabrice Fontaine [Sun, 15 Apr 2018 08:31:43 +0000 (10:31 +0200)]
cjson: bump to version 1.7.6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoflatbuffers: bump to version 1.9.0
Fabrice Fontaine [Sun, 15 Apr 2018 08:43:43 +0000 (10:43 +0200)]
flatbuffers: bump to version 1.9.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibglib2: fix gobject with gcc <= 4.7
Fabrice Fontaine [Sun, 15 Apr 2018 08:23:39 +0000 (10:23 +0200)]
libglib2: fix gobject with gcc <= 4.7

Patch under upstream review: https://bugzilla.gnome.org/show_bug.cgi?id=795138

Fixes:
 - http://autobuild.buildroot.net/results/b29a2f868438a2210873ea72f491db63175848be

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotcf-agent: bump to version 1.7.0
Eugene Tarassov [Thu, 12 Apr 2018 15:13:10 +0000 (08:13 -0700)]
tcf-agent: bump to version 1.7.0

Build issues with MicroBlaze and PPC64 targets are fixed, and the
three patches are upstream.

Signed-off-by: Eugene Tarassov <eugene@largest.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosquashfs: bump version to e38956b92f738518c29734399629e7cdb33072d3
Peter Seiderer [Mon, 9 Apr 2018 20:04:24 +0000 (22:04 +0200)]
squashfs: bump version to e38956b92f738518c29734399629e7cdb33072d3

- delete patch 0001-musl.patch (superseeded by upstream commit [1])
- disable new zstd support for host/target

[1] https://git.kernel.org/pub/scm/fs/squashfs/squashfs-tools.git/commit/?id=a81678d6a698b8a016f9abac9f3d981281cc52eb

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopixiewps: new package
Guillaume W. Bres [Thu, 12 Apr 2018 13:18:51 +0000 (15:18 +0200)]
pixiewps: new package

Pixie WPS is a C based tool to audit networks against so called "Pixie
Dust" attacks.

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
[Thomas:
 - fix license, it's GPL-3.0+
 - use PREFIX= instead of prefix= to actually have an effect, and
   install in /usr and not /usr/local
 - remove reference to PIXIEWPS_SUBDIR, which was never defined, and
   was not needed anyway]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoMakefile: take default SOURCE_DATE_EPOCH from repo containing Makefile
James Byrne [Tue, 10 Apr 2018 10:28:12 +0000 (11:28 +0100)]
Makefile: take default SOURCE_DATE_EPOCH from repo containing Makefile

For reproducible builds, SOURCE_DATE_EPOCH will be set to the git commit
date if it is not defined in the environment, but this was done by
explicitly using $(TOPDIR)/.git as the git repository, which would not
give the expected result if Buildroot had been put into a subdirectory
of another repository.

This commit removes that restriction, meaning that the default date will
now be the date of the git commit that contains Makefile, regardless of
what level above Makefile the repository is at. This works because the
current directory when the 'git log' command is executed will always be
the directory containing Makefile (it must be, since TOPDIR is set from
CURDIR).

In general this should be a sensible default, and in cases where a
different date is required SOURCE_DATE_EPOCH can be defined in the
environment before invoking make.

Signed-off-by: James Byrne <james.byrne@origamienergy.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mesa3d: add dependency on elfutils for R600 with LLVM
Valentin Korenblit [Wed, 11 Apr 2018 12:57:01 +0000 (14:57 +0200)]
package/mesa3d: add dependency on elfutils for R600 with LLVM

Gallium R600 needs libelf when mesa is built with llvm support.
Because of this, toolchain must use either uClibc or glibc, as
musl is not currently compatible with elfutils.

This patch solves:
configure: error: r600 requires libelf when using llvm

Fixes:

  http://autobuild.buildroot.org/results/8845ff0f28d3273ebe884126b85cd7c4a905d81b/

Signed-off-by: Valentin Korenblit <valentin.korenblit@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/freescale_{p1025twr, t1040d4rdb}: headers version
Vincent Stehlé [Thu, 12 Apr 2018 21:26:06 +0000 (23:26 +0200)]
configs/freescale_{p1025twr, t1040d4rdb}: headers version

The freescale p1025twr and t1040d4rdb defconfigs use a 4.15 series kernel;
specify BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15 accordingly.

This fixes the following build error:

  Incorrect selection of kernel headers: expected 4.16.x, got 4.15.x

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotoolchain: Bump ARC tools to arc-2018.03-rc1
Evgeniy Didin [Tue, 10 Apr 2018 16:06:04 +0000 (19:06 +0300)]
toolchain: Bump ARC tools to arc-2018.03-rc1

This commit bumps ARC toolchain to arc-2018.03-rc1.
We want to test how new toolchain-rc1 builds packages,
so we can make fixes before release of toolcain.

ARC GNU tools of version arc-2018.03-rc1 bring some quite significant changes like:
 * Binutils v2.29.51 with additional ARC patches
 * GCC 7.3.1 with additional ARC patches

Please note that it is a release candidate
and it might contain some breakages,
please don't use it for production builds.

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobtrfs-progs: bump to version 4.16
Baruch Siach [Wed, 11 Apr 2018 04:45:16 +0000 (07:45 +0300)]
btrfs-progs: bump to version 4.16

Drop upstream patch.

Add a patch for fixing static build.

Add license information about the newly introduced libbtrfsutil.

Disable the libbtrfsutil python binding. It does not cross compile
nicely.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/download/dl-wrapper: pass the correct -N option
Thomas Petazzoni [Wed, 11 Apr 2018 08:10:24 +0000 (10:10 +0200)]
support/download/dl-wrapper: pass the correct -N option

${raw_name} is never defined in dl-wrapper, and therefore the value
passed to the -N option is always empty. This causes a problem for the
'cvs' backend, which uses the value of this option as the CVS module
to be downloaded.

If the name of the CVS module is omitted, all the CVS modules from
that CVS repository are downloaded, which creates a tarball with a lot
more contents, and the actual useful contents in a sub-directory,
obviously breaking patches that should be applied, and the entire
build process that follows.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>