]> rtime.felk.cvut.cz Git - coffee/buildroot.git/log
coffee/buildroot.git
7 years agopackage/google-breakpad: bump to the latest version
Romain Naour [Sun, 27 Nov 2016 16:16:40 +0000 (17:16 +0100)]
package/google-breakpad: bump to the latest version

This version add the C++11 support and microdump.

Add the C++11 dependency since it's now mendatory.
Use the same linux-syscall-support version as the one defined by DEPS
file in the Google-breakpad sources.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Pascal Huerst <pascal.huerst@gmail.com>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
[Thomas: propagate the C++11 related dependency to
BR2_GOOGLE_BREAKPAD_ENABLE.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/google-breakpad: switch to the new git repository
Romain Naour [Sun, 27 Nov 2016 16:16:39 +0000 (17:16 +0100)]
package/google-breakpad: switch to the new git repository

Google-breakpad moved to a new git repository last year and the old svn
repository has been deleted. So, the Buildroot archive mirror is used.

svn: E160013: Unable to connect to a repository at URL 'http://google-breakpad.googlecode.com/svn/trunk'
svn: E160013: '/svn/trunk' path not found
--2016-11-27 10:42:34--  http://sources.buildroot.net/google-breakpad-1373.tar.gz

Swith to the git repository using the git hash corresponding to the
1373 svn revision. But there is an issue with the third parties...
Some of them are not bundled with Google-breakpad or as git submodule.
Even worst, the google-breakpad source code use #include
"third_party/lss" directly, so we can't provide missing third parties
with an external package.

That's why the linux-syscall-support package was added to Buildroot,
it provide the missing linux_syscall_support.h file which is must be
copied to src/third_party/lss/ in the Google-breakpad sources.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Pascal Huerst <pascal.huerst@gmail.com>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add Romain Naour for linux-syscall-support
Thomas Petazzoni [Sat, 17 Dec 2016 15:13:38 +0000 (16:13 +0100)]
DEVELOPERS: add Romain Naour for linux-syscall-support

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/linux-syscall-support: new package
Romain Naour [Sun, 27 Nov 2016 16:16:38 +0000 (17:16 +0100)]
package/linux-syscall-support: new package

This package provide a header file which will be used by
Google-breakpad package. This avoid using depot-tools script to fetch
all third parties used by Google-breakpad.

Use the version corresponding to the Google-breakpad svn revision 1373:
http://linux-syscall-support.googlecode.com/svn/trunk/lss@24 829466d3-f3f5-3ae4-62ad-de35cf9bba21

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Pascal Huerst <pascal.huerst@gmail.com>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
[Thomas: directly implement installation in the install commands, rather
than using post-install hooks.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolvm2: ensured TARGET_AR is used during build
Jordan Yelloz [Mon, 12 Dec 2016 18:13:54 +0000 (10:13 -0800)]
lvm2: ensured TARGET_AR is used during build

The same way TARGET_CC was not being used during the build, TARGET_AR
was not used either. Now TARGET_CONFIGURE_OPTS is injected into
LVM2_MAKE_ENV which should include all the toolchain substitutions.

Signed-off-by: Jordan Yelloz <jordan@yelloz.me>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopkg-generic: run $(PKG)_PRE_RSYNC_HOOKS before checking for the existence of $(SRCDIR)
Tal Shorer [Sun, 11 Dec 2016 18:12:45 +0000 (20:12 +0200)]
pkg-generic: run $(PKG)_PRE_RSYNC_HOOKS before checking for the existence of $(SRCDIR)

This will allow packages to define their pre-rsync hooks which will be
guaranteed to run even if the source is missing.

Signed-off-by: Tal Shorer <tal.shorer@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoRevert "package/aespipe: fix host compile"
Thomas Petazzoni [Sat, 17 Dec 2016 14:56:21 +0000 (15:56 +0100)]
Revert "package/aespipe: fix host compile"

This reverts commit cb33a7d6bd89306635749b497cd004e986bcd7e5, as it
causes build failures on platforms where gcc does not understand the
"-no-pie" option.

Fixes:

  http://autobuild.buildroot.net/results/51be9526300b3d03e2e304dec9cae953f2f59de4/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: check that a repo and version is defined when using a custom repo
Christian Kellermann [Mon, 12 Dec 2016 11:27:37 +0000 (12:27 +0100)]
linux: check that a repo and version is defined when using a custom repo

If not set the system will use an empty string which will result in
download errors for 'linux-.tar.gz' packages.

This patch makes it obvious to the user that the variable needs to be
set.

Signed-off-by: Christian Kellermann <christian.kellermann@solectrix.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agorapidjson: bump to 1.1.0
Luca Ceresoli [Thu, 15 Dec 2016 22:35:09 +0000 (23:35 +0100)]
rapidjson: bump to 1.1.0

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomusl: workaround kernel if_ether.h header conflict
Baruch Siach [Fri, 16 Dec 2016 04:52:17 +0000 (06:52 +0200)]
musl: workaround kernel if_ether.h header conflict

Add a patch that defines _LINUX_IF_ETHER_H in netinet/if_ether.h to avoid the
conflicting kernel if_ether.h.

Other musl distros (Alpine, Sabotage, Gentoo) patch[1] the kernel headers
instead. This is not practical in Buildroot, since we allow the user to choose
the kernel version.

This only fixes the normal case of including linux/if_ether.h (directly or
indirectly) after netinet/if_ether.h.

Fixes (tcpreplay):
http://autobuild.buildroot.net/results/a65/a65b27f9e288f94f041ced64313dbf55af47bf36/

[1] https://cgit.gentoo.org/proj/musl.git/diff/sys-kernel/linux-headers/files/libc-compat.h-prevent-redefinition-of-struct-ethhdr.patch?id=8eddda8072add075ebf56cf6d288bc1450d6b5f8

Cc: Rich Felker <dalias@aerifal.cx>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain: extend musl workaround for recent kernels
Baruch Siach [Thu, 15 Dec 2016 19:48:20 +0000 (21:48 +0200)]
toolchain: extend musl workaround for recent kernels

Kernels v4.7 and newer[1] require the __USE_MISC macro for libc-compat.h
suppressions to be effective. musl does not define this macros, so add an
unconditional definition of __USE_MISC to libc-compat.h.

In addition, since musl define IFF_LOWER_UP and friends as macros (instead of
enums), define __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO to
suppress the kernel corresponding definitions to avoid conflict.

Fixes (xl2tp):
http://autobuild.buildroot.net/results/0b9/0b9384c4beaac85f3a17c3245c8a7418c2e2e296/
http://autobuild.buildroot.net/results/657/657bc5687cf01aee38d32d45ba57fb62b2bd56d0/
http://autobuild.buildroot.net/results/bcd/bcd81618de2f745a19c923c66d787b5182bb54aa/

[1] Since commit f0a3fdca79 (uapi glibc compat: fix compilation when
    !__USE_MISC in glibc)

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-incremental: new package
Yegor Yefremov [Fri, 16 Dec 2016 15:54:29 +0000 (16:54 +0100)]
python-incremental: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocan-utils: bump version
Yegor Yefremov [Fri, 16 Dec 2016 11:19:16 +0000 (12:19 +0100)]
can-utils: bump version

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-sh: new package
Yegor Yefremov [Fri, 16 Dec 2016 11:40:03 +0000 (12:40 +0100)]
python-sh: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pytablewriter: bump to version 0.14.1
Yegor Yefremov [Fri, 16 Dec 2016 15:02:52 +0000 (16:02 +0100)]
python-pytablewriter: bump to version 0.14.1

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-dominate: bump to version 2.3.1
Yegor Yefremov [Fri, 16 Dec 2016 15:02:51 +0000 (16:02 +0100)]
python-dominate: bump to version 2.3.1

Use PyPI as download location.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-dataproperty: bump to version 0.13.5
Yegor Yefremov [Fri, 16 Dec 2016 15:02:50 +0000 (16:02 +0100)]
python-dataproperty: bump to version 0.13.5

Add new dependency: python-mbstrdecoder.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-dateutil: bump to version 2.6.0
Yegor Yefremov [Fri, 16 Dec 2016 15:02:49 +0000 (16:02 +0100)]
python-dateutil: bump to version 2.6.0

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pytz: bump to version 2016.10
Yegor Yefremov [Fri, 16 Dec 2016 15:02:48 +0000 (16:02 +0100)]
python-pytz: bump to version 2016.10

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-mbstrdecoder: new package
Yegor Yefremov [Fri, 16 Dec 2016 15:02:47 +0000 (16:02 +0100)]
python-mbstrdecoder: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomysql: rename package to oracle-mysql, make a virtual package
Ryan Coe [Fri, 16 Dec 2016 22:26:51 +0000 (14:26 -0800)]
mysql: rename package to oracle-mysql, make a virtual package

This commit turns mysql into a virtual package, after renaming the
original mysql package to oracle-mysql. This way, all existing packages
that "depends on" or "select" BR2_PACKAGE_MYSQL continue to work with no
modification.

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add entry for mariadb
Ryan Coe [Fri, 16 Dec 2016 22:26:53 +0000 (14:26 -0800)]
DEVELOPERS: add entry for mariadb

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomariadb: new package
Ryan Coe [Fri, 16 Dec 2016 22:26:52 +0000 (14:26 -0800)]
mariadb: new package

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: remove musl-cross prebuilt toolchain
Romain Naour [Fri, 16 Dec 2016 15:29:45 +0000 (16:29 +0100)]
toolchain-external: remove musl-cross prebuilt toolchain

The upstream link to download musl-cross prebuilt toolchain is dead [1] and
there no new download location. Also the last prebuilt toolchain use musl
1.1.12 version which is not uptodate (currently 1.1.15).

Remove this support and recommend to use Buildroot toolchain instead.

[1] https://googledrive.com/host/0BwnS5DMB0YQ6bDhPZkpOYVFhbk0

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotinycbor: disable parallel build
Peter Seiderer [Fri, 16 Dec 2016 22:30:22 +0000 (23:30 +0100)]
tinycbor: disable parallel build

Maybe fixes ([1]):

 make[1]: Entering directory `/home/peko/autobuild/instance-1/output/build/tinycbor-v0.4'
 .config:8: *** missing separator.  Stop.

[1] http://autobuild.buildroot.net/results/8e8fd1e19d6d07212f29e19a305712e715fe781b

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosystemd: enable selinux if libselinux is enabled
Adam Duskett [Sat, 17 Dec 2016 05:29:42 +0000 (05:29 +0000)]
systemd: enable selinux if libselinux is enabled

systemd currently has selinux disabled unconditionally.  This prevents
/sys/fs/selinux from being mounted automatically at boot which causes
audit to no longer function. This patch fixes the problem by checking if
libselinux is enabled and enabling support for selinux in systemd if so.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xserver_xorg-server: Explicitly disable glamor support when dependencie...
Bernd Kuhls [Sat, 17 Dec 2016 06:34:48 +0000 (07:34 +0100)]
package/x11r7/xserver_xorg-server: Explicitly disable glamor support when dependencies are not met

Fixes
http://autobuild.buildroot.net/results/b48/b48074089da770463f7ffcc27e385ac59456edc5/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/aespipe: fix host compile
Bernd Kuhls [Sat, 17 Dec 2016 07:16:59 +0000 (08:16 +0100)]
package/aespipe: fix host compile

Building host-aespipe fails on

$ cat /etc/debian_version
stretch/sid

at linking stage:

/usr/bin/gcc -L/home/buildroot/br6/output/host/lib -L/home/buildroot/br6/output/host/usr/lib -Wl,-rpath,/home/buildroot/br6/output/host/usr/lib -o aespipe aespipe.o aes-amd64.o md5-amd64.o md5-2x-amd64.o aes-intel64.o sha512.o rmd160.o
/usr/bin/ld: aes-amd64.o: relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC

Fix is also used in Debian:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837393

[Peter: add comment explaining why]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/aespipe: bump version to 2.4d
Bernd Kuhls [Sat, 17 Dec 2016 07:16:58 +0000 (08:16 +0100)]
package/aespipe: bump version to 2.4d

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux-headers: bump 4.{4, 8}.x series
Gustavo Zacarias [Fri, 16 Dec 2016 18:35:27 +0000 (15:35 -0300)]
linux-headers: bump 4.{4, 8}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogvfs: bump to version 1.30.3
Gustavo Zacarias [Fri, 16 Dec 2016 19:48:29 +0000 (16:48 -0300)]
gvfs: bump to version 1.30.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocjson: fix error with sh4a and powerpc
Fabrice Fontaine [Thu, 15 Dec 2016 18:08:59 +0000 (19:08 +0100)]
cjson: fix error with sh4a and powerpc

Fixes:
 - http://autobuild.buildroot.net/results/3d899790acdc5c21733ff6f7f5a1b500e862ea0a

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/orangepi: bump kernel and u-boot versions
Sergey Matyukevich [Thu, 15 Dec 2016 20:49:56 +0000 (23:49 +0300)]
configs/orangepi: bump kernel and u-boot versions

Update kernel to 4.9 and U-Boot to 2016.09.01.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoboard/orangepi: drop redundant files
Peter Korsgaard [Thu, 15 Dec 2016 16:24:45 +0000 (17:24 +0100)]
board/orangepi: drop redundant files

The orangepi board variants use identical post-build and post-image scripts,
so move them up to board/orangepi and add symlinks in the variant
subdirectories, similary to how we handle it for the raspberry pi variants.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoorangepi: add basic support for orangepi-one board
Sergey Matyukevich [Tue, 13 Dec 2016 20:52:37 +0000 (23:52 +0300)]
orangepi: add basic support for orangepi-one board

Board support package includes the following components:
- mainline u-boot 2016.09.01
- mainline kernel 4.9

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoorangepipc: rename to orangepi-pc
Sergey Matyukevich [Tue, 13 Dec 2016 20:52:36 +0000 (23:52 +0300)]
orangepipc: rename to orangepi-pc

Rename orangepipc files, configs, and directories:
- oragepipc_defconfig -> orangepi_pc_defconfig
- board/orangepi/orangepipc -> board/orangepi/orangepi-pc

The purpose of the patch is to improve readability before
adding other boards of orangepi family.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodocker-engine: security bump to 1.12.3
Peter Korsgaard [Wed, 14 Dec 2016 23:03:59 +0000 (00:03 +0100)]
docker-engine: security bump to 1.12.3

Fixes CVE-2016-8867: https://forums.docker.com/t/docker-1-12-2-security-advisory/23975

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodocker-engine: needs pkg-config
Peter Korsgaard [Wed, 14 Dec 2016 22:39:43 +0000 (23:39 +0100)]
docker-engine: needs pkg-config

Fixes:
http://autobuild.buildroot.org/results/fcc/fcc32f6cdc46f354a016a9b137d4f51d4054cdb6/
http://autobuild.buildroot.org/results/083/0832b7be86c525522e2caed66246d5aeb365afb2/
http://autobuild.buildroot.org/results/ede/ede0ddf0c5685ece8443a9b1bbd5c63b4d98af33/

pkg-config is used for some of the docker-engine dependencies (at least
libseccomp and libsystemd), so make sure it is available.

The make.sh script used to configure docker-engine uses the PKG_CONFIG
variable, but the libseccomp-golang go module simply uses whatever
pkg-config binary it finds in the path at build time, so also pass
TARGET_MAKE_ENV to ensure our cross-pkg-config is used.

For consistency and robustness against future changes, use both approaches
for the configure and build steps.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/gdb: remove version 7.9
Jörg Krause [Wed, 14 Dec 2016 13:40:58 +0000 (14:40 +0100)]
package/gdb: remove version 7.9

Now that 7.12 has been added and 7.11 is the default version, let's
remove the old 7.9 release.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/gdb: switch to 7.11 as the default version
Jörg Krause [Wed, 14 Dec 2016 13:40:57 +0000 (14:40 +0100)]
package/gdb: switch to 7.11 as the default version

7.12 is around, 7.11 has already seen a point release, so it's time to
make 7.11 the default version for gdb.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/gdb: add support for gdb 7.12
Jörg Krause [Wed, 14 Dec 2016 13:40:56 +0000 (14:40 +0100)]
package/gdb: add support for gdb 7.12

gdb 7.12 was released on October 2016, it's time to include it in
Buildroot, which this commit does.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/mpd: bump version to 0.19.21
Jörg Krause [Thu, 15 Dec 2016 12:56:42 +0000 (13:56 +0100)]
package/mpd: bump version to 0.19.21

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agowireshark: bump to version 2.2.3
Gustavo Zacarias [Thu, 15 Dec 2016 11:24:34 +0000 (08:24 -0300)]
wireshark: bump to version 2.2.3

The only security bug fixed concerns windows so it's not a security bump
for buildroot.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agotinyalsa: add license files
Rahul Bedarkar [Thu, 15 Dec 2016 11:40:41 +0000 (17:10 +0530)]
tinyalsa: add license files

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agotinyalsa: bump version to 1.1.0
Rahul Bedarkar [Thu, 15 Dec 2016 11:40:40 +0000 (17:10 +0530)]
tinyalsa: bump version to 1.1.0

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/wavpack: bump version to 5.0.0
Jörg Krause [Thu, 15 Dec 2016 12:44:52 +0000 (13:44 +0100)]
package/wavpack: bump version to 5.0.0

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agotcpreplay: bump to version 4.1.2
Baruch Siach [Thu, 15 Dec 2016 11:49:04 +0000 (13:49 +0200)]
tcpreplay: bump to version 4.1.2

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agofs: set packages permissions even with no system device tables
Yann E. MORIN [Wed, 14 Dec 2016 22:28:10 +0000 (23:28 +0100)]
fs: set packages permissions even with no system device tables

Currently, when there is no syztem device table (permissions or static
devices) defined, then package permissions are not applied, because they
are guarded by the check on the system device tables being non empty.

Fix that by narrowing the guarding condition.

Note that the dependency on host-makedevs was not conditional; we always
build it even if we don't need it. Making it conditional is not
possible, because we don't know all the packages permissions by the time
the fs infra is parsed (packages from br2-external are parsed after it).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/linksprite_pcduino: bump u-boot version
Sergey Matyukevich [Wed, 14 Dec 2016 19:45:26 +0000 (22:45 +0300)]
configs/linksprite_pcduino: bump u-boot version

Update U-Boot to 2016.11.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/mx6: Select NEON and VFP related options
Fabio Estevam [Wed, 14 Dec 2016 15:40:35 +0000 (13:40 -0200)]
configs/mx6: Select NEON and VFP related options

MX6 has a Cortex-A9 core, which supports NEON and VFP.

Add support for them.

Suggested-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agomx6: udoo: Create a mx6qdl directory for consistency
Fabio Estevam [Wed, 14 Dec 2016 15:03:21 +0000 (13:03 -0200)]
mx6: udoo: Create a mx6qdl directory for consistency

The udoo neo files are currently placed inside udoo/neo directory.

Place the mx6qdl udoo related files inside udoo/mx6dl for consistency.

[Peter also update path in readme.txt]
Suggested-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agofs/ext2: default to ext2 rev1
Peter Korsgaard [Tue, 13 Dec 2016 08:18:27 +0000 (09:18 +0100)]
fs/ext2: default to ext2 rev1

Rev0 is very old (E.G. from before Linux was maintained in git), the kernel
prints a scary warning when used:

EXT4-fs warning (device sda): ext4_update_dynamic_rev:746: updating to rev 1
because of new feature flag, running e2fsck is recommended

And rev0 support is broken in u-boot 2016.11:
http://lists.denx.de/pipermail/u-boot/2016-December/275916.html

So default to rev1 instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/linksprite_pcduino: bump kernel and u-boot versions
Sergey Matyukevich [Wed, 14 Dec 2016 05:24:04 +0000 (08:24 +0300)]
configs/linksprite_pcduino: bump kernel and u-boot versions

Update kernel to 4.9 and U-Boot to 2016.09.01.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/mx6sx_udoo_neo: Remove BR2_TARGET_GENERIC_GETTY_PORT
Fabio Estevam [Wed, 14 Dec 2016 14:22:52 +0000 (12:22 -0200)]
configs/mx6sx_udoo_neo: Remove BR2_TARGET_GENERIC_GETTY_PORT

As console=ttymxc0 is passed in U-Boot we can use /dev/console to
access the serial console and then BR2_TARGET_GENERIC_GETTY_PORT
can be removed.

Suggested-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agonetsnmp: handle libnl dependency properly
Julien Floret [Wed, 14 Dec 2016 08:26:48 +0000 (09:26 +0100)]
netsnmp: handle libnl dependency properly

libnl3 include path was hardcoded in the configure script,
causing the following gcc warning:

WARNING: unsafe header/library path used in cross-compilation:
'/usr/include/libnl3'

Let's apply an upstream patch that addresses the issue: now
pkg-config is used to detect libnl include path.

Also:
- add optional libnl build dependency;
- enable libnl support only when libnl package is selected.

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/ipmitool: bump version to 1.8.18
Jörg Krause [Wed, 14 Dec 2016 08:47:57 +0000 (09:47 +0100)]
package/ipmitool: bump version to 1.8.18

Some patches are not necessary anymore as upstream fixed the issues.

As we are not patching configure.ac anymore, there is no need to
autoreconf the package.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/lttng-babeltrace: enable debug info support for the host variant
Yann E. MORIN [Mon, 31 Oct 2016 12:48:57 +0000 (13:48 +0100)]
package/lttng-babeltrace: enable debug info support for the host variant

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Philippe Proulx <eeppeliteloop@gmail.com>
[Thomas: fix typo, adjust on top of master.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/elfutils: add host variant
Yann E. MORIN [Mon, 31 Oct 2016 12:48:56 +0000 (13:48 +0100)]
package/elfutils: add host variant

elfutils (libelf and libdw) can be used by host-lttng-babeltrace.
Enable all library dependencies, but don't build the programs.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomx6sx: Add support for mx6sx udoo neo boards
Fabio Estevam [Tue, 13 Dec 2016 17:13:13 +0000 (15:13 -0200)]
mx6sx: Add support for mx6sx udoo neo boards

Add support for mx6sx udoo neo boards. For more information about these
boards, please check:
http://www.udoo.org/udoo-neo

The U-Boot and kernel dts patches will be removed when we bump U-Boot
to 2017.01 and kernel to 4.10 version as they have already been sent
upstream.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/imx6ulpico: Bump to kernel 4.9
Fabio Estevam [Tue, 13 Dec 2016 17:50:17 +0000 (15:50 -0200)]
configs/imx6ulpico: Bump to kernel 4.9

Bump to kernel 4.9 and remove the wifi dts patch as it is already
part of 4.9.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogdk-pixbuf: security bump to version 2.36.1
Gustavo Zacarias [Tue, 13 Dec 2016 17:44:53 +0000 (14:44 -0300)]
gdk-pixbuf: security bump to version 2.36.1

Fixes an integer buffer overflow in the jpeg loader (details still
embargoed).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopython-pyicu: bump to version 1.9.5
Gustavo Zacarias [Tue, 13 Dec 2016 15:47:40 +0000 (12:47 -0300)]
python-pyicu: bump to version 1.9.5

Fixes:
http://autobuild.buildroot.net/results/48c/48cfb0fe00fdd52af502f9570d291125fb57b9f0/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agozlib: use $(HOST_MAKE_ENV) when calling $(MAKE1)
Gustavo Zacarias [Tue, 13 Dec 2016 14:50:45 +0000 (11:50 -0300)]
zlib: use $(HOST_MAKE_ENV) when calling $(MAKE1)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agozlib: use $(TARGET_MAKE_ENV) when calling $(MAKE1)
Gustavo Zacarias [Tue, 13 Dec 2016 14:50:44 +0000 (11:50 -0300)]
zlib: use $(TARGET_MAKE_ENV) when calling $(MAKE1)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/mpd: bump version to 0.19.20
Jörg Krause [Tue, 13 Dec 2016 09:38:10 +0000 (10:38 +0100)]
package/mpd: bump version to 0.19.20

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopolicycoreutils: restorecon libglib2 dependency
Matt Weber [Tue, 13 Dec 2016 04:21:08 +0000 (22:21 -0600)]
policycoreutils: restorecon libglib2 dependency

Updated to match Config.in select of libglib2
package as dependency if restorecon is enabled.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopolicycoreutils: CPPFLAGS undefine _FILE_OFFSET_BITS
Matt Weber [Tue, 13 Dec 2016 04:21:07 +0000 (22:21 -0600)]
policycoreutils: CPPFLAGS undefine _FILE_OFFSET_BITS

Undefining _FILE_OFFSET_BITS here because of a "bug" with glibc fts.h
large file support.

Similar action was taken previously for CFLAGS.

Resolves:
http://autobuild.buildroot.net/results/4cb/4cb70d776bee01f1284e0c0be5b3fb5f1011353a/
http://autobuild.buildroot.net/results/f43/f438149e7d83475d425e1c1f17550f3cf5f69340/

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agophp: add apache support
Fabrice Fontaine [Sun, 11 Dec 2016 22:29:16 +0000 (23:29 +0100)]
php: add apache support

Continue work started by Bernd Kuhls in
https://patchwork.ozlabs.org/patch/437544/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agophp: fix build for AArch64
Tatsuyuki Ishi [Mon, 12 Dec 2016 04:51:13 +0000 (13:51 +0900)]
php: fix build for AArch64

Add a patch from a PHP Github pull request that fixes the build at -O0
on AArch64.

Signed-off-by: Tatsuyuki Ishi <ishitatsuyuki@gmail.com>
[Thomas: improved patch commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/enlightenment: bump to version 0.21.5
Romain Naour [Mon, 12 Dec 2016 21:00:16 +0000 (22:00 +0100)]
package/enlightenment: bump to version 0.21.5

Bug fix release:
https://www.enlightenment.org/news/e-0.21.5-release

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoicu: fix build failure for musl
Gustavo Zacarias [Mon, 12 Dec 2016 20:54:25 +0000 (17:54 -0300)]
icu: fix build failure for musl

musl doesn't have xlocale.h, and stdtod_l is crippled, so disable it.
See thread from OE:
http://lists.openembedded.org/pipermail/openembedded-core/2016-November/128527.html
Fixes:
http://autobuild.buildroot.net/results/6ca/6caebf0f6c4adf66e67bedd0f04155413a9aa7bd/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agousb_modeswitch: bump to version 2.4.0
Rahul Bedarkar [Mon, 12 Dec 2016 18:01:56 +0000 (23:31 +0530)]
usb_modeswitch: bump to version 2.4.0

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agonano: bump to version 2.7.2
Gustavo Zacarias [Mon, 12 Dec 2016 20:05:00 +0000 (17:05 -0300)]
nano: bump to version 2.7.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agozsh: bump to version 5.3
Gustavo Zacarias [Mon, 12 Dec 2016 15:58:40 +0000 (12:58 -0300)]
zsh: bump to version 5.3

And drop upstream patch.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoicu: bump to version 58.2
Gustavo Zacarias [Mon, 12 Dec 2016 15:25:18 +0000 (12:25 -0300)]
icu: bump to version 58.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibgtk3: bump to version 3.22.5
Gustavo Zacarias [Mon, 12 Dec 2016 15:23:33 +0000 (12:23 -0300)]
libgtk3: bump to version 3.22.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoolimex_a20_olinuxino_lime: bump kernel to 4.9
Francois Perrad [Mon, 12 Dec 2016 14:35:06 +0000 (15:35 +0100)]
olimex_a20_olinuxino_lime: bump kernel to 4.9

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/dovecot: needs OpenSSL
Bernd Kuhls [Mon, 12 Dec 2016 06:15:43 +0000 (07:15 +0100)]
package/dovecot: needs OpenSSL

The latest version bump to 2.27 introduced a bug in the configure
script which occurs when OpenSSL support is missing:
http://lists.busybox.net/pipermail/buildroot/2016-December/179397.html

This patch makes OpenSSL mandatory following the upstream advice:
http://www.dovecot.org/list/dovecot/2016-December/106346.html
"Nobody really should be building without OpenSSL nowadays anyway"

Fixes
http://autobuild.buildroot.net/results/85f/85f2f176c108ab36520f02d975f27c27cddce84b/

[Peter: drop legacy handling]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/eudev: bump version to 3.2.1
Bernd Kuhls [Mon, 12 Dec 2016 05:39:24 +0000 (06:39 +0100)]
package/eudev: bump version to 3.2.1

Remove patch 0002 applied upstream:
https://github.com/gentoo/eudev/commit/4f3b8298fb55a7a591831cf71067bc160cd60599

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoe2fsprogs: fix missing OPTS
Maxime Hadjinlian [Mon, 12 Dec 2016 09:19:38 +0000 (10:19 +0100)]
e2fsprogs: fix missing OPTS

With the commit 64544178f180f03cedd8fe403d3718406d909c88 many packages
broke because they could not find the ext2fs.pc file.

This is perfectly normal, as the DESTDIR and the install target were not
passed anymore to make.

[Peter: remove redundant E2FSPROGS_INSTALL_STAGING_OPTS]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agotoolchain: add 4.9.x choice for headers
Fabio Estevam [Sun, 11 Dec 2016 22:01:49 +0000 (20:01 -0200)]
toolchain: add 4.9.x choice for headers

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux-headers: bump 4.{8, 4}.x series
Fabio Estevam [Sun, 11 Dec 2016 21:43:37 +0000 (19:43 -0200)]
linux-headers: bump 4.{8, 4}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux: bump default to version 4.9
Fabio Estevam [Sun, 11 Dec 2016 21:43:36 +0000 (19:43 -0200)]
linux: bump default to version 4.9

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux-headers: bump to 4.9 kernel version
Fabio Estevam [Sun, 11 Dec 2016 21:43:35 +0000 (19:43 -0200)]
linux-headers: bump to 4.9 kernel version

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/jpeg: better indentation
Yann E. MORIN [Sun, 11 Dec 2016 18:14:23 +0000 (19:14 +0100)]
package/jpeg: better indentation

Use easier-to-read layout; fix leading spaces.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agojpeg: fix typo introduced when fixing the indentation
Thomas Petazzoni [Sun, 11 Dec 2016 17:36:03 +0000 (18:36 +0100)]
jpeg: fix typo introduced when fixing the indentation

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agojpeg-turbo: add simd support for aarch64
Peter Korsgaard [Sun, 11 Dec 2016 15:52:19 +0000 (16:52 +0100)]
jpeg-turbo: add simd support for aarch64

>From the 1.5-b1 release notes:

Added ARM 64-bit (ARMv8) NEON SIMD implementations of the commonly-used
compression algorithms (including the slow integer forward DCT and h2v2 &
h2v1 downsampling algorithms, which are not accelerated in the 32-bit NEON
implementation.) This speeds up the compression of full-color JPEGs by about
75% on average on a Cavium ThunderX processor and by about 2-2.5x on average
on Cortex-A53 and Cortex-A57 cores.

Add it unconditionally for all aarch64 cores, as neon support is required
for all "standard" ARMv8 implementations.  If an ARMv8 implementation w/o
NEON ever shows up, then we will need to add a BR2_AARCH64_CPU_HAS_NEON and
handle it like ARM.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agojpeg-turbo: add simd support for powerpc cores with altivec
Peter Korsgaard [Sun, 11 Dec 2016 15:52:18 +0000 (16:52 +0100)]
jpeg-turbo: add simd support for powerpc cores with altivec

>From the 1.5-b1 release notes:

Added full SIMD acceleration for PowerPC platforms using AltiVec VMX
(128-bit SIMD) instructions.  Although the performance of libjpeg-turbo on
PowerPC was already good, due to the increased number of registers available
to the compiler vs.  x86, it was still possible to speed up compression by
about 3-4x and decompression by about 2-2.5x (relative to libjpeg v6b)
through the use of AltiVec instructions.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agojpeg: rework jpeg-turbo simd support handling
Peter Korsgaard [Sun, 11 Dec 2016 15:52:17 +0000 (16:52 +0100)]
jpeg: rework jpeg-turbo simd support handling

In preperation for adding more architectures to the jpeg-turbo simd
handling, introduce a hidden BR2_PACKAGE_JPEG_SIMDS_SUPPORT symbol and use
that to enable simd support and default to jpeg-turbo, instead of open
coding it in both places.

While we are at it, reword the help text to be more useful.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agojpeg-turbo: now checks for pkg-config
Peter Korsgaard [Sun, 11 Dec 2016 15:52:16 +0000 (16:52 +0100)]
jpeg-turbo: now checks for pkg-config

The jpeg-turbo configure script now contains PKG_PROG_PKG_CONFIG, even
though it doesn't so far use pkg-config to detect any dependencies (it does
install a .pc file now though):

checking pkg-config is at least version 0.9.0... ./configure: line 13540: \
  /home/peko/source/buildroot/output/host/usr/bin/pkg-config: No such file or directory

Depend on host-pkgconf for consistency.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoacl: backport upstream patch to fix static build
Rahul Bedarkar [Sun, 11 Dec 2016 15:30:43 +0000 (21:00 +0530)]
acl: backport upstream patch to fix static build

When building tar package with acl in static build configuration, we
get definition clash error for 'quote' function.

../gnu/libgnu.a(quotearg.o): In function 'quote':
quotearg.c:(.text+0x12fc): multiple definition of 'quote'
../sysroot/usr/lib/libacl.a(quote.o):/home/test/autobuild/run/instance-1/output/build/acl-2.2.52/libmisc/quote.c:27: first defined here

In acl upstream, this is already fixed by renaming quote and unquote
internal functions. This commit backports upstream patch.

Fixes:
  http://autobuild.buildroot.net/results/d64/d64d13745c980d322d3b80c3b324d03eb7f17262

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodoc/manual: document the new waf-package infra variables
Romain Naour [Sun, 11 Dec 2016 15:10:15 +0000 (16:10 +0100)]
doc/manual: document the new waf-package infra variables

Document LIBFOO_WAF_OPTS, LIBFOO_BUILD_OPTS, LIBFOO_INSTALL_STAGING_OPTS
and LIBFOO_INSTALL_TARGET_OPTS.

Also document LIBFOO_CONF_OPTS which was missing in waf-package
reference.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoe2fsprogs: pass LDCONFIG=true also at install time
Maxime Hadjinlian [Fri, 18 Nov 2016 15:24:26 +0000 (16:24 +0100)]
e2fsprogs: pass LDCONFIG=true also at install time

We correctly set LDCONFIG=true for MAKE_OPTS, but not for the other
steps which don't inherit it, and therefore e2fsprogs tries to use the
host ldconfig during staging and target installation, which causes some
weird error messages at build time (even if they don't abort the build).

Fix that by passing LDCONFIG=true at install time.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain/wrapper: use the {str, len} tuples for the unsafe paths
Yann E. MORIN [Sun, 4 Dec 2016 09:21:56 +0000 (10:21 +0100)]
toolchain/wrapper: use the {str, len} tuples for the unsafe paths

In 61cb120 (toolchain/wrapper: extend paranoid check to -isystem), we
introduced a {str,len} tuple to check the various arguments pased to
gcc, to avoid hard-coding an ever-growing, long list of those args
directly in the condition check.

Now, we're left with a long list of unsafe paths, somehow hidden within
the code, which can use the same mechanism we use for arguments.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain/wrapper: make the {str, len} tuple more generic, add comments
Yann E. MORIN [Sun, 4 Dec 2016 09:21:55 +0000 (10:21 +0100)]
toolchain/wrapper: make the {str, len} tuple more generic, add comments

In 61cb120 (toolchain/wrapper: extend paranoid check to -isystem), we
introduced a {str,len} tuple to check the various arguments passed to
gcc, to avoid hard-coding an ever-growing, long list of those args
directly in the condition check.

It was made specific to the arguments (the structure member is named
'arg'), but can also be used to store the unsafe paths as well.

Also, that piece is almost un-documented.

Rename the structure member so that it is more generic, and add a bit of
comments to explain the whole of it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoConfig.in.legacy: findfs is available in BR2_PACKAGE_UTIL_LINUX_BINARIES
Phil Eichinger [Thu, 1 Dec 2016 14:45:33 +0000 (15:45 +0100)]
Config.in.legacy: findfs is available in BR2_PACKAGE_UTIL_LINUX_BINARIES

031659024b3cf27bb68dc58d07519b563ef472a1 removed the option
BR2_PACKAGE_UTIL_LINUX_FINDFS as it is always built by default.

Signed-off-by: Phil Eichinger <phil@zankapfel.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/aubio: disable unit tests with --notests
Romain Naour [Tue, 6 Dec 2016 19:49:09 +0000 (20:49 +0100)]
package/aubio: disable unit tests with --notests

For each build step, --notests needs to be passed to waf script
to avoid runing the unit tests.
This allow to remove the patch removing the unit tests from wscript.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopkg-waf: add a common variable for each step
Romain Naour [Tue, 6 Dec 2016 19:49:08 +0000 (20:49 +0100)]
pkg-waf: add a common variable for each step

Some waf packages may want to pass additional variables to waf script
for each build step. Add the possibility to do so by defining
<pkg>_WAF_OPTS.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopkg-waf: add additional variables for build step
Romain Naour [Tue, 6 Dec 2016 19:49:07 +0000 (20:49 +0100)]
pkg-waf: add additional variables for build step

Some waf packages may want to pass additional variables to waf script in
build step. Add the possibility to do so by defining <pkg>_BUILD_OPTS.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopkg-waf: add additional variables for each install step
Romain Naour [Tue, 6 Dec 2016 19:49:06 +0000 (20:49 +0100)]
pkg-waf: add additional variables for each install step

Some waf packages may want to pass additional variables to waf script
in install step. Add the possibility to do so by defining the
following variables:

  <pkg>_INSTALL_STAGING_OPTS for the install to staging directory
  <pkg>_INSTALL_TARGET_OPTS for the install to target directory

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>