Thomas Petazzoni [Mon, 2 Sep 2013 16:06:36 +0000 (18:06 +0200)]
toolchain: refactor Stack Smashing Protection support
This commit refactors how Stack Smashing Protection support is handled
in Buildroot:
*) It turns the BR2_TOOLCHAIN_BUILDROOT_USE_SSP option into an option
that only enables the SSP support in uClibc, when using the internal
toolchain backend.
*) It adds an hidden BR2_TOOLCHAIN_HAS_SSP option that gets enabled
when the toolchain has SSP support. Here we have the usual dance:
glibc/eglibc in internal/external backend always select this
option, in the case of uClibc/internal, it gets selected when
BR2_TOOLCHAIN_BUILDROOT_USE_SSP is enabled, in the case of
uClibc/external, there is a new configuration option that the user
must select (or not) depending on whether the toolchain has SSP
support.
*) It adds a new options BR2_ENABLE_SSP in the "Build options" menu,
to enable the usage of SSP support, by adding
-fstack-protector-all to the CFLAGS.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:35 +0000 (18:06 +0200)]
gcc: force symlink creation
The HOST_GCC_CONFIGURE_SYMLINK creates a symbolic link
$(@D)/build/configure -> $(@D)/configure for each build step of
gcc. However, it was only using 'ln -s' and not 'ln -sf', which was
causing problems when doing 'make host-gcc-final-reconfigure' for
example, because the configure commands (including this macro) are
being re-executed, but the symbolic link already exists.
Changing this symbolic link creation to 'ln -sf' fixes this problem.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:34 +0000 (18:06 +0200)]
gcc/gcc-final: use the common HOST_GCC_CONFIGURE_SYMLINK macro
Each stage of the gcc build needs to make a small dance before the
configuration step to create a build sub-directory and a symbolic link
to the configure script. The common gcc.mk had a
HOST_GCC_CONFIGURE_SYMLINK already used by the gcc-initial and
gcc-intermediate steps, but the gcc-final step wasn't using it.
This commit fixes this inconsistency, and therefore removes the
HOST_GCC_FINAL_CONFIGURE_SYMLINK macro.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:33 +0000 (18:06 +0200)]
toolchain: add support for glibc
The support for eglibc 2.17 was added to the internal toolchain
backend for 2013.08. This commit now adds glibc 2.18 support to the
internal toolchain backend.
Since the building procedure is very similar to the one of eglibc, we
have renamed the 'eglibc' package to 'glibc', and made it capable of
handling either glibc or eglibc.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:32 +0000 (18:06 +0200)]
gcc: move C++ support option next to Fortran/Objective-C
The option to enable C++ support was still located in
toolchain/toolchain-buildroot/Config.in.2, with misc other toolchain
options. It seems more logical to have this option with the other
options to select the languages supported by the cross-compiler, so we
move it next to the Fortran/Objective-C options in
package/gcc/Config.in.host.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:31 +0000 (18:06 +0200)]
gcc: fix Objective-C support
This commit fixes the Objective-C support in the gcc package by making
sure that the runtime Objective-C library is properly installed to the
target.
It also takes this opportunity to slightly reword the Config.in option
help text to have a more meaningful explanation.
Finally, it fixes the gcc-final.mk code to use the correct
BR2_INSTALL_OBJC option rather than the non-existing
BR2_GCC_CROSS_OBJC option, to decide whether Objective-C support
should be enabled or not in the cross-compiler.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:30 +0000 (18:06 +0200)]
gcc: fix Fortran support
This commit fixes the Fortran support in the gcc package by making
sure that the runtime Fortran library is properly installed to the
target.
It also takes this opportunity to slightly reword the Config.in option
help text, to no longer mention gcc < 4.2 since they are no longer
supported in Buildroot, and to have a more meaningful explanation.
Finally, it fixes the gcc-final.mk code to use the correct
BR2_INSTALL_FORTRAN option rather than the non-existing
BR2_GCC_CROSS_FORTRAN option, to decide whether Fortran support should
be enabled or not in the cross-compiler.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:29 +0000 (18:06 +0200)]
toolchain-internal: skip gcc-intermediate when possible
When NPTL support was introduced, gcc required a three stages build
process. Since gcc 4.7, this is no longer necessary, and it is
possible to get back to a two stages build process. This patch takes
advantage of this, by doing a two stages build process when possible.
We introduce a few hidden kconfig options:
* BR2_GCC_VERSION_NEEDS_THREE_STAGE_BUILD, which is set by the gcc
Config.in logic to indicate that the compiler might need a three
stages build. Currently, all versions prior to 4.7.x are selecting
this kconfig option.
* BR2_TOOLCHAIN_LIBC_NEEDS_THREE_STAGE_BUILD, which indicates whether
the C library might need a three stages build. This is the case for
eglibc, and uClibc when NPTL is enabled.
* BR2_TOOLCHAIN_NEEDS_THREE_STAGE_BUILD finally is enabled when both
of the previous options are enabled. It indicates that a three
stages build is actually needed.
In addition to those options, the uClibc/gcc build logic is changed to
use only a two stages build process when possible.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:28 +0000 (18:06 +0200)]
eglibc: libstdc++ is not part of the C library
For some reason, the eglibc.mk file was trying to install libstdc++.so
from eglibc to the target. But the C++ standard library is provided by
GCC, not by the C library.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:27 +0000 (18:06 +0200)]
package/Makefile.in: fix incorrect comment
The TARGET_{CC,CXX,LD,...} variables no longer contain any --sysroot
option, since we're now using a toolchain wrapper for external
toolchains.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Sun, 15 Sep 2013 20:43:39 +0000 (22:43 +0200)]
system: default to devtmpfs for /dev
As discussed on the list, devtmpfs is quite a bit nicer default than
the old static /dev, so change it.
Notice that you NEED to enable CONFIG_DEVTMPFS / CONFIG_DEVTMPFS_MOUNT
in the kernel configuration if you manually build a kernel outside
buildroot, otherwise the rootfs won't work.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Assaf Inbal [Sun, 15 Sep 2013 06:20:49 +0000 (09:20 +0300)]
getty: add the ability to pass options to getty
Signed-off-by: Assaf Inbal <shmuelzon@gmail.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Assaf Inbal [Sun, 15 Sep 2013 06:20:48 +0000 (09:20 +0300)]
getty: Create specific getty config + cleanups
This commit introduces a specific BR2_TARGET_GENERIC_GETTY configuration flag.
This eliminates the need for checking if BR2_TARGET_GENERIC_GETTY_PORT is an
empty string or not. It also allows hiding various getty options when getty
isn't enabled.
Signed-off-by: Assaf Inbal <shmuelzon@gmail.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Ralph Siemsen [Sun, 15 Sep 2013 14:13:14 +0000 (10:13 -0400)]
apply-patches.sh: detect missing patches
The "patch" command returns an error code only if patches fail
to apply. Therefore the pipleline "cat <patchfile> | patch ..."
does not fail, even if <patchfile> is missing. Fix this by
adding an explicit check for patch file existence.
Based on feedback from buildroot mailing list, also change the
existing check for unsupported patch format into a fatal error.
Signed-off-by: Ralph Siemsen <ralphs@netwinder.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 15 Sep 2013 19:28:45 +0000 (21:28 +0200)]
Makefile: make $(BUILD_DIR)/.root rule idempotent
The $(BUILD_DIR)/.root rule is executed as part of the 'dirs'
target. The 'dirs' target is re-executed at every execution of 'make
external-deps', and make external-deps explicitly tells make to ignore
targets that have already been made (through the -B option). This
means that the $(BUILD_DIR)/.root rule has to be idempotant, which was
not the case this the introduction of the lib32/lib64 symbolic link.
Running 'make external-deps' three times in a row was sufficient to
trigger an error due to symbolic links being incorrectly created. This
patch fixes that.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Michael Rommel [Fri, 13 Sep 2013 20:57:04 +0000 (22:57 +0200)]
aiccu: new package
Automatic IPv6 Connectivity Configuration Utility for users of a
IPv6 tunnel broker, developed by sixxs.net
[Peter: drop strip patch, pass TARGET_CONFIGURE_OPTS]
Signed-off-by: Michael Rommel <rommel@layer-7.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Fri, 13 Sep 2013 16:42:38 +0000 (13:42 -0300)]
squid: fix build failure after bump
Add missing patch, fixes:
http://autobuild.buildroot.net/results/f6a/
f6a6dd1f3138406d1daa31e5e4ff5d5026b3c069/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Matt Weber [Fri, 13 Sep 2013 16:28:43 +0000 (11:28 -0500)]
omniorb: new package
[Peter: fix C++ dependency and trailing spaces, drop ';' from fixup hook]
Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Sun, 15 Sep 2013 14:52:20 +0000 (11:52 -0300)]
linux: bump 3.11.x stable version
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Sun, 15 Sep 2013 14:52:19 +0000 (11:52 -0300)]
linux-headers: bump 3.{0, 4, 10, 11}.x stable versions
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Arnaud Rébillout [Fri, 13 Sep 2013 07:33:58 +0000 (09:33 +0200)]
tcping: new package
tcping does a TCP connect to the given ip/port combination. The user can
specify a timeout in seconds. This is useful in shell scripts running in
firewalled environments. Often SYNs are just being dropped by firewalls,
thus connection establishment will be retried several times (for minutes)
until a TCP timeout is reached. With tcping it is possible to check first
if the desired port is reachable and then start connection establishment.
http://www.linuxco.de/tcping/tcping.html
[Peter: wrap help text, pass TARGET_LDFLAGS]
Signed-off-by: Arnaud Rébillout <rebillout@syscom.ch>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Jerzy Grzegorek [Fri, 13 Sep 2013 08:30:20 +0000 (10:30 +0200)]
package: remove the empty trailing lines
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Fri, 13 Sep 2013 09:06:43 +0000 (11:06 +0200)]
nfs-utils: fix build failure caused by missing include
Fixes http://autobuild.buildroot.net/results/
a7fabcf61d56bca4bb005a91f8f367ffc8474ea0/
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Wed, 4 Sep 2013 15:53:43 +0000 (12:53 -0300)]
elf2flt: upgrade to latest version
Upgrade to the latest uclinux CVS snapshot, gives us blackfin support.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:20 +0000 (16:26 -0300)]
nfacct: add patch for uclinux tuple
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:19 +0000 (16:26 -0300)]
libnetfilter_queue: add patch for uclinux tuple
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:18 +0000 (16:26 -0300)]
libnetfilter_cttimeout: add patch for uclinux tuple
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:17 +0000 (16:26 -0300)]
libnetfilter_cthelper: add patch for uclinux tuple
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:16 +0000 (16:26 -0300)]
ulogd: needs mmu and shared objects
The plugin infrastructure is based on shared objects so it won't build
for static-only scenarios.
And the daemon uses fork() so MMU is required.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:15 +0000 (16:26 -0300)]
libnetfilter_log: add patch for uclinux tuple
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:14 +0000 (16:26 -0300)]
libnetfilter_conntrack: add patch for uclinux tuple
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:13 +0000 (16:26 -0300)]
libnfnetlink: add patch for uclinux tuple
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:12 +0000 (16:26 -0300)]
libnetfilter_acct: add patch for uclinux tuple
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:11 +0000 (16:26 -0300)]
ipset: add patch for uclinux tuple
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:10 +0000 (16:26 -0300)]
libmnl: add patch for uclinux tuple
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Wed, 11 Sep 2013 12:53:44 +0000 (09:53 -0300)]
nommu/flat: build packages with the correct FLAGS
When building for nommu flat targets the CFLAGS/CXXFLAGS/LDFLAGS must be
adjusted accordingly.
For gcc this means passing along -Wl,-elf2flt to signal the linker.
For ld this means -elf2flt.
Also correct the error in STACKSIZE settings from commit
9edf482d which
is setting gcc flags as ld flags and will surely fail (no package uses
it at the moment so it was never seen).
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Wed, 11 Sep 2013 12:12:06 +0000 (09:12 -0300)]
toolchain/gcc: add elf2flt to dependencies
Add host-elf2flt to the gcc common dependencies so we get it built after
binutils but before gcc/uclibc since it's required for all packages and
in some uClibc configuration scenarios.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Wed, 11 Sep 2013 12:12:05 +0000 (09:12 -0300)]
docs/manual: add CVS support documentation
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Wed, 11 Sep 2013 12:12:04 +0000 (09:12 -0300)]
downloads: add basic CVS support
The support is for pserver mode anonymous CVS.
source-check is based on login since many servers don't support or have
ls/rls disabled.
Usage is pretty straightforward.
PKG_SITE defines the site hostname and remote directory.
The module is defined by the bare package name.
Version is date based.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Matt Weber [Thu, 12 Sep 2013 20:45:57 +0000 (15:45 -0500)]
igmpproxy: new package
[Peter: minor white space fixes]
Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Dave Skok [Wed, 28 Aug 2013 11:50:04 +0000 (07:50 -0400)]
ola: new package
[Peter: fixup help text]
Signed-off-by: Dave Skok <blanco.ether@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Thu, 12 Sep 2013 20:32:23 +0000 (22:32 +0200)]
libsoc: strip trailing newline
Missing from previous commit.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Yegor Yefremov [Thu, 12 Sep 2013 07:05:36 +0000 (09:05 +0200)]
libsoc: add new package
[Peter: fix help text, doesn't need fork, file header, license tags]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas De Schampheleire [Sun, 8 Sep 2013 09:33:18 +0000 (11:33 +0200)]
ubifs filesystem image: line up and improve Config.in options
Triggered by the 'some comment required here', this patch updates the Config.in
comments for the ubifs filesystem image options. This includes:
- 'erase block' --> 'eraseblock' (following mtd online documentation)
- remove 'UBI' prefix to make options uniform. Sometimes the option is not a
property of UBI but rather of the flash. Also, line up the name of the option
with the help of mkfs.ubifs.
- add help text on all options, referring to the mkfs.ubifs/ubinize options
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Michael Rommel [Sun, 8 Sep 2013 15:22:58 +0000 (17:22 +0200)]
knock: new package
A port knocking implementation with daemon and user application.
[Peter: drop trailing newline in Config.in]
Signed-off-by: Michael Rommel <rommel@layer-7.net>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Thu, 12 Sep 2013 00:56:13 +0000 (21:56 -0300)]
ser2net: bump to version 2.9.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Thu, 12 Sep 2013 00:56:12 +0000 (21:56 -0300)]
usb_modeswitch_data: bump to version
20130807
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Thu, 12 Sep 2013 00:56:11 +0000 (21:56 -0300)]
usb_modeswitch: bump to version 2.0.1
Drop libusb-compat since it's no longer required.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Thu, 12 Sep 2013 00:56:10 +0000 (21:56 -0300)]
dosfstools: bump to version 3.0.22
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Thu, 12 Sep 2013 00:56:09 +0000 (21:56 -0300)]
squid: bump to version 3.3.9
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 3 Sep 2013 13:36:45 +0000 (10:36 -0300)]
libusb: build fix for flat binaries
Fixes:
http://autobuild.buildroot.net/results/4d1/
4d1b9c6132e7836bc2ecab4b1483b80d2e042dcd/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Wed, 11 Sep 2013 12:15:15 +0000 (14:15 +0200)]
Makefile: also unexport PKG_CONFIG_LIBDIR
Similar to how we do it for _PATH / _SYSROOT_DIR. Buildroot gets fairly
confused if the user has set up a custom PKG_CONFIG_LIBDIR, so ensure
it gets unset.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Wed, 11 Sep 2013 11:21:53 +0000 (13:21 +0200)]
linux.mk: target-install: drop extra (invalid) DEPMOD parameter
DEPMOD is already specified in LINUX_MAKE_FLAGS, and is no longer located
in HOST_DIR/usr/sbin after the move to host-kmod, so drop it from here.
Reported-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Wed, 11 Sep 2013 11:05:01 +0000 (13:05 +0200)]
package: drop unneeded 'call' from {generic,autotools}-package invocation
Reported-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Jerzy Grzegorek [Wed, 11 Sep 2013 09:12:18 +0000 (11:12 +0200)]
pkg-stats: update set of files to skip
In BR sub-directory boot/ linux/ and package/ there are a few .mk files which
aren't <package>.mk files. These files shouldn't be taken into account
in package statistics.
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 10 Sep 2013 22:06:39 +0000 (19:06 -0300)]
linux-headers: bump 3.{0, 2, 4, 10}.x stable versions
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Axel Lin [Sat, 7 Sep 2013 06:07:23 +0000 (14:07 +0800)]
vsftpd: Fix dependency for needs mmu
Commit
2eb995759 "vsftpd: needs mmu" adds "depends on BR2_TOOLCHAIN_HAS_THREADS".
The build error is:
sysutil.c:(.text+0x37ac): undefined reference to `fork'
Thus it should depend on BR2_USE_MMU rather than BR2_TOOLCHAIN_HAS_THREADS.
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Axel Lin [Sat, 7 Sep 2013 06:04:26 +0000 (14:04 +0800)]
socketcand: needs mmu
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Axel Lin [Sat, 7 Sep 2013 03:46:07 +0000 (11:46 +0800)]
noip: needs mmu
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Axel Lin [Sat, 7 Sep 2013 02:45:20 +0000 (10:45 +0800)]
netplug: needs mmu
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Romain Naour [Fri, 6 Sep 2013 23:25:18 +0000 (01:25 +0200)]
syslinux: bump to version 4.07
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Wed, 11 Sep 2013 10:51:38 +0000 (12:51 +0200)]
xserver_xorg-server: backport kdrive option parsing fix
Reported-by: Woody Wu <narkewoody@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Fabio Porcedda [Tue, 10 Sep 2013 07:18:45 +0000 (09:18 +0200)]
barebox: bump to version 2013.09.0
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Tue, 10 Sep 2013 19:54:59 +0000 (21:54 +0200)]
linux: fix depmod location after move to host-kmod
The host-kmod version of depmod gets installed into HOST_DIR/sbin, so
adjust the path we use to refer to it in linux.mk
Reported-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 10 Sep 2013 18:17:41 +0000 (15:17 -0300)]
libunwind: needs threads
Fixes:
http://autobuild.buildroot.net/results/39a/
39a32d323252e3d986fd9290108db7a496d429d9/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 10 Sep 2013 18:13:36 +0000 (15:13 -0300)]
libroxml: needs threads
Fixes:
http://autobuild.buildroot.net/results/169/
169b607993cd7ae4a8a79c2a00c00f820ec1c747/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 10 Sep 2013 18:07:45 +0000 (15:07 -0300)]
opus-tools: disable flac when it is not selected
opus-tools expects flac since the 0.1.7 bump unless otherwise told so.
Disable it when it's not selected. Fixes:
http://autobuild.buildroot.net/results/c8c/
c8c1a682336c150ee401f76b173944611b96bd4e/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Hans Bulfone [Fri, 9 Aug 2013 01:37:24 +0000 (03:37 +0200)]
erlang: install to staging
This is required to build custom port drivers/NIFs or code that
uses erl_interface.
Signed-off-by: Hans Bulfone <hans@nil.at>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Axel Lin [Tue, 3 Sep 2013 09:39:53 +0000 (17:39 +0800)]
Config.in: Fixup after BR2_ELF2FLT got renamed to BR2_PACKAGE_HOST_ELF2FLT
The BR2_ELF2FLT option has been renamed to BR2_PACKAGE_HOST_ELF2FLT, thus
use the new name to fix dependency.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Sagaert Johan [Mon, 9 Sep 2013 20:40:32 +0000 (22:40 +0200)]
mpd: remove reference to old multimedia sub-directory
Signed-off-by: Sagaert Johan <sagaert.johan at skynet.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Mon, 9 Sep 2013 20:38:04 +0000 (22:38 +0200)]
pulseaudio: fix init script installation
Adjust the installation step after
adf65110 (Remove multimedia subdirectory).
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Ryan Barnett [Thu, 5 Sep 2013 20:55:03 +0000 (15:55 -0500)]
util-linux: fix build failure with older systems
Adding patch util-linux-002-support-older-machines.patch to fix issues
when building for older systems.
Making all util-linux patches apply cleanly (fuzz fixes)
Fixes http://autobuild.buildroot.org/results/349/
349d6ff938b093623618669a1acb390aa2a5fafe
Fixes http://autobuild.buildroot.org/results/57e/
57e2c612c46b9e3b5f7bb213fcb3825b23fb7fc7
Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Mon, 9 Sep 2013 09:38:15 +0000 (11:38 +0200)]
package: don't use .xz format for github
Fixes http://autobuild.buildroot.net/results/955/
955ed1af28f6ff9912adddc0342d1f3ca65e5b4d/
Commit
62146ea3ad7 (change package tarball compression to xz whenever possible)
changed a number of packages to use .xz format tarballs. Unfortunately this
doesn't work for packages from github, as it delivers gzip compressed tarballs
even when a .xz is requested.
Fix it by reverting this change for the packages using github.
Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Mon, 9 Sep 2013 09:27:55 +0000 (11:27 +0200)]
webkit: fix staging install
Parallel 'make install' seems to deadlock here (make 3.81). Work around it
by disabling parallel make for the install step.
We only disable parallel make for the install step, as the build step works
with parallel make, and webkit is a huge package, so build time goes up
significantly with make -j1.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Sun, 8 Sep 2013 21:58:05 +0000 (23:58 +0200)]
opus-tools: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Markos Chandras [Thu, 5 Sep 2013 11:37:02 +0000 (12:37 +0100)]
webkit: Version bump to 1.11.5
Also apply the following patches:
- upstream fix for 32-bit autotools
- upstream fix for conditional gstreamer build of gtklauncher
- upstream fix for detecting the latest harfbuzz
- Update existing patch for disabling docs
- Update existing patch for execinfo_h
- upstream patch for the MIPS DFG support. This fixes
compilation problems on MIPS.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Jerzy Grzegorek [Fri, 6 Sep 2013 06:14:15 +0000 (08:14 +0200)]
change package tarball compression to xz whenever possible
[Peter: leave change xz tarball format to not end up with circular deps]
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Sagaert Johan [Thu, 5 Sep 2013 22:46:24 +0000 (00:46 +0200)]
gsl: bump version to 1.16
Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Matt Weber [Thu, 5 Sep 2013 13:53:27 +0000 (08:53 -0500)]
eigen: new package
[Peter: minor white space tweaks]
Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Ryan Barnett [Fri, 30 Aug 2013 14:09:45 +0000 (09:09 -0500)]
libcurl: add support for compiling with libssh2
Adding configuration options that if libssh2 is selected, compile libcurl
with --with-ssh config flag.
Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Ryan Barnett [Fri, 30 Aug 2013 14:09:44 +0000 (09:09 -0500)]
libssh2: add package
[Peter: minor white space tweaks]
Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Jérôme Pouiller [Fri, 30 Aug 2013 09:05:57 +0000 (11:05 +0200)]
Remove multimedia subdirectory
Unless it was a group of sub-packages, packages was never regrouped by
category. multimedia/ was an exception to this rule.
This patch move packages/multimedia/ sub-directories to packages/. It
keeps two subdirectories for gstream 0.10 and gstreamer 1.X.
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Ryan Barnett [Fri, 6 Sep 2013 16:35:44 +0000 (11:35 -0500)]
host-swig: bump version to 2.0.10
Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Ryan Barnett [Fri, 6 Sep 2013 16:06:00 +0000 (11:06 -0500)]
libcap-ng: bump revision to 0.7.3
Also cleaned the package makefile up by removing explicitly naming
the source along with moving the configure of the package down below
the standard package declarations.
Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas De Schampheleire [Fri, 6 Sep 2013 21:36:18 +0000 (23:36 +0200)]
trivial: correct capitalization of Lua in Config.in files
The Lua website says:
"Like most names, it should be written in lower case with an initial capital,
that is, "Lua". Please do not write it as "LUA", which is both ugly and
confusing, because then it becomes an acronym with different meanings for
different people."
http://www.lua.org/about.html
So, let's honor this request in buildroot.
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Mischa Jonker [Wed, 4 Sep 2013 19:02:10 +0000 (21:02 +0200)]
perf: Add host-bison, host-flex dependencies
Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Jérôme Pouiller [Mon, 13 May 2013 15:51:52 +0000 (17:51 +0200)]
Add support for plain URL in $(PKG)_PATCH variable
Until now, $(PKG)_PATCH allow only to download patches from same URL than tarball.
This patch allow to detect when plain URL are used in $(PKG)_PATCH and correctly
handle them.
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas De Schampheleire [Fri, 2 Aug 2013 09:05:15 +0000 (11:05 +0200)]
xzcat: treat as host prerequisite and build if needed
If xzcat is not present on the host system, buildroot bails out early asking
the developer to install it (xzcat is now a DL_TOOLS_DEPENDENCY)
Conversely, when BR2_TARGET_ROOTFS_CPIO_XZ is enabled, then host-xz is a
build dependency, and no manual action is required from the developer.
Because the second approach is nicer, also build host-xz when xzcat is not
available, using the host-prerequisite and suitable-host-pkg mechanisms,
already used for tar.
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas De Schampheleire [Fri, 2 Aug 2013 09:05:14 +0000 (11:05 +0200)]
infra: introduce suitable-extractor helper function
In order to simplify determining the right extractor tool for a given
file type, this patch introduces a make function 'suitable-extractor'.
Its usage is $(call suitable-extractor,filename), and it returns the
path to the suitable extractor.
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Jérôme Pouiller [Tue, 3 Sep 2013 08:45:41 +0000 (10:45 +0200)]
Fix build reproducibility in Make 3.82
Make 3.82 no longer sort the result of wildcards (see
http://comments.gmane.org/gmane.comp.gnu.make.bugs/4260). This may break
build reproducibility.
This patch sort results of wildcards to ensure reproducibility.
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Fri, 6 Sep 2013 13:28:51 +0000 (15:28 +0200)]
uclibc: add upstream 0.9.33 fixes
Upstream has a large number of patches lined up for the next 0.9.33.x bugfix
release;
http://git.uclibc.org/uClibc/log/?h=0.9.33
Add them here, as atleast some of them are quite critical (E.G. the eventfd
issue gets triggered by recent glib versions).
I've skipped the microblaze and xtensa fixes as we don't currently support
those with 0.9.33.2.
Drop uclibc-0002-Add-definition-of-MSG_WAITFORONE-and-MSG_CMSG_CMSG_CLOEXE.patch
as that is a subset of uclibc-0035-socket.h-pull-socket_type.h-from-eglibc.patch
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Ryan Barnett [Thu, 5 Sep 2013 13:32:26 +0000 (08:32 -0500)]
util-linux: bump version to 2.23
Removed patches that were are now in version 2.23 of util-linux along with
fixed up other patches so they apply cleanly.
Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Yann E. MORIN [Wed, 4 Sep 2013 21:35:55 +0000 (23:35 +0200)]
targets: move target options to their own sub-menu
Currently, all target options lie in the top-level menu.
This looks a bit clumsy, since all other options are neatly
folded into their own sematic sub-menus each.
Move the target option into their own sub-menu too.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Yann E. MORIN [Wed, 4 Sep 2013 21:35:54 +0000 (23:35 +0200)]
configs: bump kernel use for RPi, use simpler defconfig
Bump for a slew of USB-related and other fixes.
The bcmrpi defconfig is a huge beast with lots of superfluous drivers.
The brcmrpi_quick defconfig is a stripped down minimalist defconfig with
all that is needed to bring up a RPi with complete HW support, and
nothing superfluous, which is what we need for a board's defconfig in
buildroot.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Yann E. MORIN [Wed, 4 Sep 2013 21:35:53 +0000 (23:35 +0200)]
package/rpi-firmware: bump version
Fixes and improvements for USB, audio sync, camera support,
codecs, HDMI framerate and audio, and GPU freezes.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Ryan Barnett [Wed, 4 Sep 2013 23:15:31 +0000 (18:15 -0500)]
linux-pam: bump to version 1.1.6
Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas De Schampheleire [Thu, 5 Sep 2013 07:12:15 +0000 (09:12 +0200)]
trivial: remove odd references to 'buildroot2'
In the past there may have been a very good reason to refer to 'buildroot2', but
these days it's just odd.
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Thu, 5 Sep 2013 08:54:14 +0000 (10:54 +0200)]
calao_usb_a9263_defconfig: lock to kernel 3.10.x
The calao defconfig fails to build with 3.11, so lock the kernel version
to the last version known to build.
For details, see:
http://jenkins.free-electrons.com/job/buildroot/config=calao_usb_a9263_defconfig/105
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Thu, 5 Sep 2013 08:52:57 +0000 (10:52 +0200)]
calao_usb_a9260_defconfig: lock to kernel 3.10.x
The calao defconfig fails to build with 3.11, so lock the kernel version
to the last version known to build.
For details, see:
http://jenkins.free-electrons.com/job/buildroot/config=calao_usb_a9260_defconfig/105
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Thu, 5 Sep 2013 08:51:19 +0000 (10:51 +0200)]
at91sam9260dfc_defconfig: fix linux defconfig name
The 9260 defconfig got renamed to at91sam9260_9g20_defconfig in kernel
3.11.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>