buildroot.git
9 years agogcc: bump 5.x series to version 5.2.0
Gustavo Zacarias [Fri, 17 Jul 2015 14:31:13 +0000 (11:31 -0300)]
gcc: bump 5.x series to version 5.2.0

Also rename the BR2_GCC_VERSION_5_1_X symbol to BR2_GCC_VERSION_5_X to
reflect this change to match the new versioning scheme.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/upmpdcli: disable for PowerPC CS toolchains
Jörg Krause [Thu, 16 Jul 2015 22:45:06 +0000 (00:45 +0200)]
package/upmpdcli: disable for PowerPC CS toolchains

Those toolchains use gcc <= 4.5, which is too old as they are missing to
construct an empty std::shared_ptr with a nullptr (0) as an argument. This
is only introduced with gcc-4.6.

Fixes:
http://autobuild.buildroot.net/results/faf/faf1b071c0a5bd8395d79abf2e6a32169ad7f136
http://autobuild.buildroot.net/results/247/247b3f1ac3d3a9712e9410eef298fce8d885f92c
http://autobuild.buildroot.net/results/de6/de601c4d4dd7922895892d78d3a37902fb98c7be
http://autobuild.buildroot.net/results/a4d/a4d7bf9863c134f59d285616b9c1f78201bd1a3e

and many more.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoARC: update tools to arc-2015.06 release
Alexey Brodkin [Wed, 15 Jul 2015 12:51:18 +0000 (15:51 +0300)]
ARC: update tools to arc-2015.06 release

I'm happy to update GNU tools for ARC cores to the most recent
arc-2015.06 release.

This release brings following major improvements:
 * GCC: source update to v4.8.4
 * GCC: C ABI compatibility between MetaWare and GNU toolchains
 * uClibc: support for thread local storage and Native Pthread Library (NPTL)
 * GDB: updated to version 7.9.1

Also a lot of fixes and improvements has been done, please refer to
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2015.06
for more details.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Anton Kolesov <akolesov@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agokmod: remove unnecessary autoreconf
Thomas De Schampheleire [Fri, 17 Jul 2015 19:44:43 +0000 (21:44 +0200)]
kmod: remove unnecessary autoreconf

Commit 047fea1d4fa33c4c934272a05649907a59186015 removed a patch on kmod that
was the reason for autoreconfiguring kmod, but autoreconf itself was not
removed.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agorelease: remove manual build files from release tarballs
Thomas De Schampheleire [Fri, 17 Jul 2015 10:20:35 +0000 (12:20 +0200)]
release: remove manual build files from release tarballs

The Buildroot release tarballs inadvertently contain a build/docs directory,
containing the manual sources, the generated lists, and manual.text and
manual.pdf (but excluding manual.html).

This directory is populated as $(BUILD_DIR) (==$(O)/build), while O is
set explicitly from the release target to a subdirectory
buildroot-xxxx.yy-git/ which was populated with 'git archive'.

Since the generated manuals are available in docs/manual, which is
also referred to from the README, the build directory is not needed and
should be removed from the release tarball.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.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@free-electrons.com>
9 years agotrivial: fix typo optimazation
Thomas De Schampheleire [Fri, 17 Jul 2015 11:20:39 +0000 (13:20 +0200)]
trivial: fix typo optimazation

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosetools: Add missing bison dependency
Clayton Shotwell [Wed, 15 Jul 2015 17:31:04 +0000 (12:31 -0500)]
setools: Add missing bison dependency

The setools package needs the yacc utility which is part of the bison
package to build.

Fixes http://autobuild.buildroot.net/results/8f9/8f95e83411552397ca29e9aee5c457a1a762b364/

Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogettext: bump to version 0.19.5.1
Gustavo Zacarias [Wed, 15 Jul 2015 13:16:57 +0000 (10:16 -0300)]
gettext: bump to version 0.19.5.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agousb_modeswitch: bump to version 2.2.4
Gustavo Zacarias [Wed, 15 Jul 2015 14:17:17 +0000 (11:17 -0300)]
usb_modeswitch: bump to version 2.2.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolxc: add hash file
Baruch Siach [Thu, 16 Jul 2015 07:36:50 +0000 (10:36 +0300)]
lxc: add hash file

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/apache: security bump to version 2.4.16
Bernd Kuhls [Thu, 16 Jul 2015 16:49:17 +0000 (18:49 +0200)]
package/apache: security bump to version 2.4.16

Fixes CVE-2015-3183, CVE-2015-3185, CVE-2015-0253, CVE-2015-0228
http://marc.info/?l=apache-httpd-announce&m=143704705330655&w=2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboot/uboot: bump to version 2015.07
Jörg Krause [Thu, 16 Jul 2015 19:09:01 +0000 (21:09 +0200)]
boot/uboot: bump to version 2015.07

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocore/out-of-tree: fix Makefile wrapper
Yann E. MORIN [Thu, 16 Jul 2015 21:16:46 +0000 (23:16 +0200)]
core/out-of-tree: fix Makefile wrapper

Commit 971faf8 (Makefile: fix out-of-tree builds with multiple targets
with 'all') renamed the default target to '_all' to avoid name-clashing.

In doing so, I forgot to also fix the instance in the .PHONY rule.

Fix that now.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotar: add missing hash for host variant
Hollis Blanchard [Thu, 16 Jul 2015 21:15:13 +0000 (14:15 -0700)]
tar: add missing hash for host variant

This fixes a very early error in a fresh build:
"ERROR: No hash found for tar-1.28.cpio.gz"

[Thomas: adjust commit title.]

Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocan-utils: fix musl build
Yegor Yefremov [Thu, 16 Jul 2015 20:11:25 +0000 (22:11 +0200)]
can-utils: fix musl build

Include additional headers like <sys/time.h> and <linux/sockios.h>
to resolve undefined symbols.

Fixes following autobuild failure:
http://autobuild.buildroot.net/results/0dd/0ddb5a70358bdbb491fbee670c7843c15217e78d/

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoaudit: Update patch from upstream feedback
Clayton Shotwell [Thu, 16 Jul 2015 21:05:23 +0000 (16:05 -0500)]
audit: Update patch from upstream feedback

After working with the audit maintainers to get patches accepted, the
following one had to be reworked to meet their standards. This patch
will be included in the next version of audit.

Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain-external: fix uClibc-ng 64bit dynamic loader link
Baruch Siach [Thu, 16 Jul 2015 08:25:34 +0000 (11:25 +0300)]
toolchain-external: fix uClibc-ng 64bit dynamic loader link

Commit 34f95bf9dbb0 (toolchain-external: fix support of uClibc-ng toolchains,
2015-07-13) added the missing ld-uClibc.so.1 dynamic linker symlink that
binaries expect when linked with uClibc-ng. However on 64bit targets the
linker is called ld64-uClibc.so.1. Handle that case as well.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibesmtp: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:31 +0000 (15:28 -0300)]
libesmtp: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agofbset: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:30 +0000 (15:28 -0300)]
fbset: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agofindutils: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:29 +0000 (15:28 -0300)]
findutils: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agofping: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:28 +0000 (15:28 -0300)]
fping: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agogamin: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:27 +0000 (15:28 -0300)]
gamin: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agogesftpserver: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:26 +0000 (15:28 -0300)]
gesftpserver: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agogmpc: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:25 +0000 (15:28 -0300)]
gmpc: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agoiftop: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:24 +0000 (15:28 -0300)]
iftop: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agojasper: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:23 +0000 (15:28 -0300)]
jasper: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agoless: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:22 +0000 (15:28 -0300)]
less: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agolibcap-ng: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:21 +0000 (15:28 -0300)]
libcap-ng: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agolibdvdnav: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:20 +0000 (15:28 -0300)]
libdvdnav: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agolibdvdread: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:19 +0000 (15:28 -0300)]
libdvdread: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agolibcuefile: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:18 +0000 (15:28 -0300)]
libcuefile: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agomusepack: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:17 +0000 (15:28 -0300)]
musepack: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agolibreplaygain: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:16 +0000 (15:28 -0300)]
libreplaygain: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agolibsamplerate: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:15 +0000 (15:28 -0300)]
libsamplerate: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agolibsndfile: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:14 +0000 (15:28 -0300)]
libsndfile: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agolinux-fusion: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:13 +0000 (15:28 -0300)]
linux-fusion: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agolm-sensors: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:12 +0000 (15:28 -0300)]
lm-sensors: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agomplayer: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:11 +0000 (15:28 -0300)]
mplayer: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agonasm: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:10 +0000 (15:28 -0300)]
nasm: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agongircd: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:09 +0000 (15:28 -0300)]
ngircd: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agoproftpd: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:08 +0000 (15:28 -0300)]
proftpd: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agosawman: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:07 +0000 (15:28 -0300)]
sawman: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agosdl_gfx: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:06 +0000 (15:28 -0300)]
sdl_gfx: add hash file

Also update homepage URL.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agosdl_image: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:05 +0000 (15:28 -0300)]
sdl_image: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agosdl_mixer: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:04 +0000 (15:28 -0300)]
sdl_mixer: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agosdl_net: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:03 +0000 (15:28 -0300)]
sdl_net: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agosdl_sound: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:02 +0000 (15:28 -0300)]
sdl_sound: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agosdl_ttf: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:01 +0000 (15:28 -0300)]
sdl_ttf: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agosdl: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:00 +0000 (15:28 -0300)]
sdl: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agoshared-mime-info: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:27:59 +0000 (15:27 -0300)]
shared-mime-info: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agospice-protocol: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:27:58 +0000 (15:27 -0300)]
spice-protocol: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agospice: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:27:57 +0000 (15:27 -0300)]
spice: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agostatserial: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:27:56 +0000 (15:27 -0300)]
statserial: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agotaglib: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:27:55 +0000 (15:27 -0300)]
taglib: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agoudisks: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:27:54 +0000 (15:27 -0300)]
udisks: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agotime: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:27:53 +0000 (15:27 -0300)]
time: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agotcping: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:27:52 +0000 (15:27 -0300)]
tcping: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agouclibc: remove obsolete patches
Waldemar Brodkorb [Wed, 15 Jul 2015 06:53:09 +0000 (08:53 +0200)]
uclibc: remove obsolete patches

Patches are in 1.0.4 release included.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agouclibc: update uClibc-ng to latest version
Waldemar Brodkorb [Wed, 15 Jul 2015 06:52:05 +0000 (08:52 +0200)]
uclibc: update uClibc-ng to latest version

Fixes gcc 5.1 errors and contains all recent
improvements to Xtensa/ARC NPTL/TLS.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libmemcached: disable documentation
Romain Naour [Mon, 11 May 2015 22:09:52 +0000 (00:09 +0200)]
package/libmemcached: disable documentation

libmemcached fail to build the documentation/man due to
an python sphinx error.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoskeleton: use backtick instead of $(shell ...) make function
Arnout Vandecappelle [Sun, 12 Jul 2015 14:35:30 +0000 (16:35 +0200)]
skeleton: use backtick instead of $(shell ...) make function

Only the instance for setting the root password is changed. The
instance in SYSTEM_GETTY is harmless since it just uses echo and tail.

If SKELETON_TARGET_GENERIC_ROOT_PASSWD is passed as a hashed password
by the user, it contains $, so the '-quotes are needed. If it is not,
we need the backtick to be expanded so "-quotes are needed. Therefore,
the quoting is moved to the definition of SYSTEM_ROOT_PASSWORD.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agompg123: replace $(shell ...) call with $(subst ...)
Arnout Vandecappelle [Sun, 12 Jul 2015 14:35:29 +0000 (16:35 +0200)]
mpg123: replace $(shell ...) call with $(subst ...)

There's no reason to use a shell here.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboost: use backtick instead of $(shell ...) make function
Arnout Vandecappelle [Sun, 12 Jul 2015 14:35:28 +0000 (16:35 +0200)]
boost: use backtick instead of $(shell ...) make function

Also remove the variables TARGET_CC_VERSION and HOST_CC_VERSION which
lack the BOOST_ prefix and are used only once.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: use backtick instead of $(shell ...) make function
Arnout Vandecappelle [Sun, 12 Jul 2015 14:35:27 +0000 (16:35 +0200)]
linux: use backtick instead of $(shell ...) make function

Verified that LINUX_VERSION_PROBED is only used in "-quoted commands
(actually, usually it's not quoted).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackages: use backtick instead of $(shell ...) make function
Arnout Vandecappelle [Sun, 12 Jul 2015 14:35:26 +0000 (16:35 +0200)]
packages: use backtick instead of $(shell ...) make function

It is often difficult to know exactly when make will expand the
variable, and usually it can only be expanded after the dependencies
have been built (e.g. pkg-config or the .pc file). Using a backtick
instead makes it very clear that it will be expanded only while
executing the command.

This change is useful for two cases:

1. The per-package staging (and host) directory will be created as part
   of the configure step, so any $(shell ...) variable that is used in
   the configure step will fail because the directory doesn't exist
   yet.

2. 'make printvars' evaluates the variables it prints. It will therefore
   trigger a lot of errors from missing .pc files and others. The
   backticks, on the other hand, are not expanded, so with this change
   the output of 'make printvars' becomes clean again.

This commit contains only the easy changes: replace $(shell ...) with
`...`, and also replace ' with " where needed. Follow-up commits will
tackle the more complicated cases that need additional explanation.

After this change, the following instances of $(shell ...) will remain:

- All assignments that use :=
- All variables that are used in make conditionals (which don't expand
  the backticks).
- All variables that only refer to system executables and make
  variables that don't change.
- The calls to check-host-* in dependencies.mk, because it is eval'ed.

[Original patch by Fabio Porcedda, but extended quite a bit by Arnout.]

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoti-gfx: systemd support
Alex Suykov [Sat, 23 May 2015 10:07:32 +0000 (13:07 +0300)]
ti-gfx: systemd support

The startup script too complex to embed it completely into the
.service file, so it is left as a standalone script.

[Thomas:
 - use relative path for the symbolic link
 - slightly tweak the service Description string]

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopulseaudio: systemd support
Alex Suykov [Sat, 23 May 2015 10:06:55 +0000 (13:06 +0300)]
pulseaudio: systemd support

[Thomas:
 - use relative path for the service symlink
 - slightly adjust the service description]

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboot/uboot: Add support for dtb.img format
Jan Viktorin [Tue, 14 Jul 2015 15:14:01 +0000 (17:14 +0200)]
boot/uboot: Add support for dtb.img format

Allow to generate u-boot-dtb.img. This is the same format
as u-boot.img, however, it contains a built-in device-tree.
This file is being loaded by the U-Boot SPL.

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agorsyslog: Fix systemd service creation
Maxime Hadjinlian [Tue, 14 Jul 2015 14:38:20 +0000 (16:38 +0200)]
rsyslog: Fix systemd service creation

The rsyslog.service is installed by rsyslog, but the link is not created
so the service is not enabled.
In order to install the service file, use the correct configure flag.

So the INSTALL_INIT_SYSTEMD will create the link, it will also create
another link which is due to the fact that the rsyslog.service contains
an Alias=

If we were to use systemctl enable to enable the service, it would
create both,so we mimic that.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodocs/manual: Fix trivial typo
Jan Viktorin [Tue, 14 Jul 2015 15:17:20 +0000 (17:17 +0200)]
docs/manual: Fix trivial typo

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodocs/manual: relax python version requirement
Baruch Siach [Tue, 14 Jul 2015 15:49:18 +0000 (18:49 +0300)]
docs/manual: relax python version requirement

Buildroot should now work with host installed python version 3. Update the
manual accordingly.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agovala: bump to version 0.28.0
Gustavo Zacarias [Tue, 14 Jul 2015 19:42:53 +0000 (16:42 -0300)]
vala: bump to version 0.28.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoMakefile: save MAKE_VERSION
Gustavo Zacarias [Tue, 14 Jul 2015 21:30:39 +0000 (18:30 -0300)]
Makefile: save MAKE_VERSION

Save MAKE_VERSION as RUNNING_MAKE_VERSION since this is later clobbered
by the make package.

It will be used by the webkitgtk24 package to check for older make
versions which have a bug building it with parallel jobs (it hangs).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodocs/manual: add documentation for linux-ext and linux-tools.
Romain Naour [Tue, 14 Jul 2015 17:35:15 +0000 (19:35 +0200)]
docs/manual: add documentation for linux-ext and linux-tools.

[Thomas: misc improvements.]

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/perf: migrate perf to use the new linux-tools infrastructure
Romain Naour [Tue, 14 Jul 2015 17:35:14 +0000 (19:35 +0200)]
package/perf: migrate perf to use the new linux-tools infrastructure

Remove the perf package and add legacy handling.

[Thomas:
  - improve the Config.in.legacy help text
  - improve the comment explaining why we pass O= when building perf]

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-tools: add cpupower
Romain Naour [Tue, 14 Jul 2015 17:35:13 +0000 (19:35 +0200)]
linux-tools: add cpupower

This patch is based on the patch send by James Knight:
http://lists.busybox.net/pipermail/buildroot/2015-May/128754.html

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: James Knight <james.knight@rockwellcollins.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: add linux-tools infra
Romain Naour [Tue, 14 Jul 2015 17:35:12 +0000 (19:35 +0200)]
linux: add linux-tools infra

This commit add an infrastructure to build linux kernel
tools available in the kernel sources.

Currently, the only linux kernel tool packaged in Buildroot
is perf and it's packaged as a separate generic package.
This is a problem for licence information raised in this
thread [1].

Since these tools require to build a Linux kernel, we can
use some hooks in linux package like we did for linux
extensions [2] and remove the perf package.

[1] http://lists.busybox.net/pipermail/buildroot/2015-May/128783.html
[2] http://lists.busybox.net/pipermail/buildroot/2015-March/121835.html

[Thomas: fix minor typos in comments.]

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/perf: use correct definition of ARCH on x86_64
Steven Noonan [Tue, 14 Jul 2015 17:35:11 +0000 (19:35 +0200)]
package/perf: use correct definition of ARCH on x86_64

LINUX_MAKE_FLAGS defines ARCH=$(KERNEL_ARCH), and KERNEL_ARCH is x86_64 on
a 64-bit x86 kernel build. The perf Makefiles expect that the ARCH will be
"x86" on both 32-bit x86 and 64-bit x86.

I didn't experience issues with the Linux 3.14.x version of perf, but this
issue cropped up once I started building 3.19.x.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
[Romain:
  - fix coding style]
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/perf: if libunwind is enabled, depend on it
Steven Noonan [Tue, 14 Jul 2015 17:35:10 +0000 (19:35 +0200)]
package/perf: if libunwind is enabled, depend on it

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
[Romain:
  - fix coding style]
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/perf: if numactl (libnuma) is enabled, depend on it
Steven Noonan [Tue, 14 Jul 2015 17:35:09 +0000 (19:35 +0200)]
package/perf: if numactl (libnuma) is enabled, depend on it

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
[Romain:
  - fix coding style]
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/perf: if slang is enabled, depend on it
Steven Noonan [Tue, 14 Jul 2015 17:35:08 +0000 (19:35 +0200)]
package/perf: if slang is enabled, depend on it

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
[Romain:
  - fix coding style]
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobtrfs-progs: bump to version 4.1.2
Gustavo Zacarias [Tue, 14 Jul 2015 19:06:24 +0000 (16:06 -0300)]
btrfs-progs: bump to version 4.1.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage: include package/skeleton/Config.in
Thomas Petazzoni [Tue, 14 Jul 2015 16:17:09 +0000 (18:17 +0200)]
package: include package/skeleton/Config.in

This was missing from the patch introducing the skeleton package. It
was working fine, except that the skeleton package was not in the
global variable PACKAGES.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agograph-depends: Strip skeleton from dependency
Maxime Hadjinlian [Tue, 14 Jul 2015 11:36:26 +0000 (13:36 +0200)]
graph-depends: Strip skeleton from dependency

skeleton being a mandatory dependency, we don't want all our packages to
have a link back to that node, the graph would be awful.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoskeleton: New package
Maxime Hadjinlian [Tue, 14 Jul 2015 11:36:25 +0000 (13:36 +0200)]
skeleton: New package

Create a proper package for the skeleton.

The main Makefile is modified to remove the skeleton support.
The 'dirs' target, will create the $(TARGET_DIR).
The file 'output/target/.root' doesn't exists anymore, as there's no
Make rule to statisfy.

The infrastructure are modified to filter host-skeleton.
It's needed becauses the host-dependencies are derived from the
dependencies of the target package where 'host-' is preprended to the
depedency name.

In the pkg-generic we add skeleton as a dependency to every package.

The whole system/system.mk is now removed at the profit of
package/skeleton/skeleton.mk

[Thomas:
  - rebase on top of master and fix some minor conflicts
  - remove the 'select BR2_PACKAGE_SKELETON' in
    BR2_ROOTFS_SKELETON_DEFAULT and BR2_ROOTFS_SKELETON_CUSTOM, since
    anyway the skeleton package is always enabled.
  - fixup a few mistakes in the getty handling due to misnamed
    variables.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibnl: remove patch to fix bmon breakage
Gustavo Zacarias [Tue, 14 Jul 2015 14:06:20 +0000 (11:06 -0300)]
libnl: remove patch to fix bmon breakage

Upstream decided that programs should be fixed, so so be it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobmon: bump to version 3.7
Gustavo Zacarias [Tue, 14 Jul 2015 14:06:19 +0000 (11:06 -0300)]
bmon: bump to version 3.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/qpid-proton: needs host-python2
Yann E. MORIN [Tue, 14 Jul 2015 14:03:39 +0000 (16:03 +0200)]
package/qpid-proton: needs host-python2

qpid-proton is using constructs that are not valid in python3, so we
must use a host python2 interpreter. To make this happen this commit
adds a dependency on host-python and explicitly tells CMake to use
$(HOST_DIR)/usr/bin/python2.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoglib-networking: bump to version 2.44.0
Gustavo Zacarias [Tue, 14 Jul 2015 14:01:00 +0000 (11:01 -0300)]
glib-networking: bump to version 2.44.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibglib2: bump to version 2.44.1
Gustavo Zacarias [Tue, 14 Jul 2015 14:00:59 +0000 (11:00 -0300)]
libglib2: bump to version 2.44.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodejavu: bump to version 2.35
Gustavo Zacarias [Tue, 14 Jul 2015 13:35:29 +0000 (10:35 -0300)]
dejavu: bump to version 2.35

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nodejs: version bump to 0.10.40
Martin Bark [Tue, 14 Jul 2015 13:20:03 +0000 (14:20 +0100)]
package/nodejs: version bump to 0.10.40

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosamba4: bump to version 4.2.3
Gustavo Zacarias [Tue, 14 Jul 2015 13:19:40 +0000 (10:19 -0300)]
samba4: bump to version 4.2.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agorpi-userland: add Restart=always to vcfiled.service
Thomas Petazzoni [Tue, 14 Jul 2015 13:54:27 +0000 (15:54 +0200)]
rpi-userland: add Restart=always to vcfiled.service

As suggested by Maxime Hadjinlian, add Restart=always to
vcfiled.service so that this service gets restarted if it ever exits
for some reason.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agorpi-userland: systemd support
Alex Suykov [Sat, 23 May 2015 10:07:07 +0000 (13:07 +0300)]
rpi-userland: systemd support

[Thomas: use relative path for the symbolic link.]

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotriggerhappy: systemd support
Alex Suykov [Sat, 23 May 2015 10:14:07 +0000 (13:14 +0300)]
triggerhappy: systemd support

[Thomas: use a relative symbolic link.]

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotinyhttpd: systemd support
Alex Suykov [Sat, 23 May 2015 10:08:37 +0000 (13:08 +0300)]
tinyhttpd: systemd support

[Thomas: use relative symlink.]

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomongoose: systemd support
Alex Suykov [Sat, 23 May 2015 10:05:13 +0000 (13:05 +0300)]
mongoose: systemd support

[Thomas: use relative symbolic link.]

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosnappy: disable tests
Vicente Olivert Riera [Tue, 14 Jul 2015 11:31:11 +0000 (13:31 +0200)]
snappy: disable tests

This will also fix an unsafe header path problem:

/br/output/host/usr/bin/mips-linux-gnu-g++ -DHAVE_CONFIG_H -I.
-I/usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64   -Os  -c -o snappy_unittest-snappy-test.o `test
-f 'snappy-test.cc' || echo './'`snappy-test.cc
mips-linux-gnu-g++: ERROR: unsafe header/library path used in
cross-compilation: '/usr/include'
Makefile:730: recipe for target 'snappy_unittest-snappy_unittest.o'
failed

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoolsr: update hash source comment
Baruch Siach [Tue, 14 Jul 2015 11:17:52 +0000 (14:17 +0300)]
olsr: update hash source comment

Commit ec9e34c9bb7c (olsr: bump version, 2015-07-14) update the hash but left
the old source comment. Fix this.

Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>