Jonathan Liu [Fri, 27 Jul 2012 14:03:58 +0000 (00:03 +1000)]
udev: process udev events on startup in init.d script
udev rules are not processed for kernel events that occur before
the udev daemon is started. Call udevadm trigger to replay these
missed events.
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Jonathan Liu [Fri, 27 Jul 2012 13:51:57 +0000 (23:51 +1000)]
udev: use /dev if udev_root not defined in init.d script
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Jonathan Liu [Fri, 27 Jul 2012 13:51:56 +0000 (23:51 +1000)]
udev: fix stopping execution of udev events in init.d script
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Thu, 26 Jul 2012 19:18:37 +0000 (16:18 -0300)]
less: build after busybox
Build less after busybox if it's enabled, since we prefer the full-blown
version over the light one if it's enabled (and busybox would overwrite
the link when built afterwards).
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Thu, 26 Jul 2012 20:10:00 +0000 (17:10 -0300)]
dhcp: security bump to version 4.1-ESV-R6
Fixes CVE-2012-3571 and CVE-2012-3954.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Thu, 26 Jul 2012 17:48:03 +0000 (14:48 -0300)]
kernel-headers: bump 3.2.x stable version
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Thu, 26 Jul 2012 17:46:42 +0000 (14:46 -0300)]
libnl: requires thread support
Fixes
http://autobuild.buildroot.net/results/
813602e91ad4022957b3bc8d285ddb2b05d3b875/build-end.log
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Thu, 26 Jul 2012 17:19:41 +0000 (14:19 -0300)]
libpng: security bump to version 1.4.12
Fixes CVE-2012-3386
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Jonathan Liu [Thu, 26 Jul 2012 14:19:35 +0000 (00:19 +1000)]
crosstool-ng: bump to version 1.15.3
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Jonathan Liu [Thu, 26 Jul 2012 01:38:05 +0000 (11:38 +1000)]
connman: bump to version 1.4
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Fri, 27 Jul 2012 23:31:28 +0000 (20:31 -0300)]
bind: security bump to version 9.6-ESV-R7-P2
Fixes CVE-2012-3817
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Simon Dawson [Mon, 30 Jul 2012 07:32:08 +0000 (08:32 +0100)]
libnfc: add license information
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Simon Dawson [Mon, 30 Jul 2012 07:22:20 +0000 (08:22 +0100)]
gpsd: PPS feature depends on NTPSHM feature
The PPS feature of gpsd depends on the NTP shared memory time hinting feature.
This patch caused the NTPSHM feature to be enabled whenever the PPS feature
is enabled. This should fix build failures such as the following.
http://autobuild.buildroot.net/results/
e58a9a9f884acb6834a8afe4a8a3d056dc509359/build-end.log
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Simon Dawson [Mon, 30 Jul 2012 07:08:21 +0000 (08:08 +0100)]
gpsd: fix Python 2.5 build failure
The platform.linux_distribution method was introduced in Python 2.6. Some
of the Buildroot autobuilders still use Python 2.5, which is causing build
failures such as the following.
http://autobuild.buildroot.net/results/
045f1f69bac170d8e75cb4952a2e5b4e85a677b8/build-end.log
This patch removes the linux distribution check from the gpsd SConstruct file.
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Mon, 30 Jul 2012 17:10:31 +0000 (19:10 +0200)]
libelf: fix typo
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Thu, 26 Jul 2012 07:25:37 +0000 (09:25 +0200)]
gpsd: remove patch to handle ncurses5-config custom location
Now that ncurses has been bumped to 5.9, it installs .pc files for
pkg-config, which allows gpsd to find it properly without the need to
specify a custom location for ncurses5-config.
Since gpsd now uses pkg-config to find the ncurses library, we also
add host-pkg-config in the dependencies.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Thu, 26 Jul 2012 07:21:12 +0000 (09:21 +0200)]
ncurses: bump to 5.9
Bumping to 5.9 has two nice side-effects:
* It builds fine on noMMU architectures such as Blackfin, which will
fix build failures like
http://autobuild.buildroot.org/results/
cf3e6a95c82b60d63da041293db576a8f21f9136/build-end.log.
* It installs a pkg-config file, which will allow gpsd to find
ncurses properly, without the need to use ncurses5-config, which
means we can get rid of one of our gpsd patches. Thanks to Mike
Frysinger for pointing the new --enable-pc-files option.
After this bump, I build tested a large number of the ncurses reverse
dependencies we have in Buildroot, and they all built fine.
Thanks to Gustavo Zacarias for the investigation on why ncurses 5.9
why segfaulting: it turned out to be caused by the
--enable-broken-linker configure option.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Thu, 26 Jul 2012 07:20:24 +0000 (09:20 +0200)]
ncurses: get the post staging installation hook called properly
There was a typo in the name of the variable to register the hook,
which prevent the hook from actually being called.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Wed, 25 Jul 2012 18:27:58 +0000 (20:27 +0200)]
Remove unused TARGET_ABI values
The BR2_mmix and BR2_arm_dunno configuration options do not exist, so
there is no chance for these values to be useful in any way.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Wed, 25 Jul 2012 09:29:58 +0000 (11:29 +0200)]
dbus: requires thread support
As can be seen on the build result at
http://autobuild.buildroot.org/results/
20f1078ef7dc5f187b04c63ef70e8b43acf9bb3a/build-end.log,
D-Bus requires thread support in the toolchain.
This commit adjusts the Kconfig dependencies of D-Bus and all its
reverse dependencies to depend on thread support in the toolchain.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Wed, 25 Jul 2012 07:46:34 +0000 (09:46 +0200)]
gnutls: requires WCHAR support
gnutls uses wctomb(), which is available only on C libraries with
wide-char support. This fixes the following build failure:
http://autobuild.buildroot.org/results/
cd4e73be80fbb64858f4cf911d2b893b0fc06465/build-end.log
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Tue, 24 Jul 2012 22:05:44 +0000 (00:05 +0200)]
qt: tune .pc files after installation in staging directory
The Qt configuration and installation process is a bit strange, and it
leads the .pc files to contain absolute paths to the staging
directory, while it should only contains paths relative to the staging
directory, because pkg-config already adds the path of the sysroot
automatically to the headers and libraries locations.
This allows the 'pkg-config --cflags' results for Qt libraries to be
correct.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Wed, 25 Jul 2012 16:24:05 +0000 (18:24 +0200)]
gpsd: disable Python support
The Python support is not cross-compile friendly (uses host compiler,
installs in wrong location, etc.) and nobody needs it at the moment,
so leave that to the first person who will need Python support for
gpsd.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Tue, 24 Jul 2012 22:04:21 +0000 (00:04 +0200)]
gpsd: add patch to disable rpath
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Tue, 24 Jul 2012 22:01:55 +0000 (00:01 +0200)]
gpsd: proper usage of prefix and DESTDIR
prefix should always be /usr, and destdir must be passed as DESTDIR,
and in the environment, not as a scons argument. Finally, we pass the
sysroot= argument to scons so that it doesn't add -L/usr/lib
parameters when compiling.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Mon, 23 Jul 2012 21:41:15 +0000 (23:41 +0200)]
xserver_xorg-server: add upstream patches to fix build issue
Fixes the following build issue with gcc 4.6:
LINK Xfbdev
.../host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/bin/ld: ../../../os/.libs/libos.a(backtrace.o): undefined reference to symbol 'dladdr@@GLIBC_2.4'
.../host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/bin/ld: note: 'dladdr@@GLIBC_2.4' is defined in DSO .../host/usr/arm-unknown-linux-gnueabi/sysroot/lib/libdl.so.2 so try adding it to the linker command line
.../host/usr/arm-unknown-linux-gnueabi/sysroot/lib/libdl.so.2: could not read symbols: Invalid operation
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Tue, 24 Jul 2012 20:18:18 +0000 (22:18 +0200)]
gpsd: remove option to enable latency measurement capabilities
It currently fails to build with:
libgpsd_core.c: In function 'gpsd_poll':
libgpsd_core.c:881: error: 'const struct gps_type_t' has no member named 'min_cycle'
libgpsd_core.c:884: error: 'const struct gps_type_t' has no member named 'min_cycle'
and is probably not a very important feature for normal users of gpsd.
The build problem has been reported to the gpsd-users mailing list.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Tue, 24 Jul 2012 19:43:59 +0000 (21:43 +0200)]
gpsd: fix build issues
The first patch gpsd-01-sconstruct-python-2.5-compat.patch is aimed at
fixing Python 2.5 compatibility issues such as:
http://autobuild.buildroot.org/results/
844a7f8698567688eba094f64dd2bf5157efd994/build-end.log
The second patch gpsd-02-sconstruct-ncurses-config-path.patch
implements a proper mechanism to specify the path to
ncurse5-config. It obsoletes the previous
gpsd-fix-acs_map-compile-errors patch, and solves build problems such
as:
http://autobuild.buildroot.org/results/
92ae3d53e8aa68d8b1a2eccad68c98f577cb6437/build-end.log
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Simon Dawson <spdawson@gmail.com>
Simon Dawson [Tue, 24 Jul 2012 12:34:32 +0000 (13:34 +0100)]
gpsd: disallow profiling support with uClibc toolchain
The following problem was reported by Thomas Petazzoni.
If BR2_PACKAGE_GPSD_PROFILING is enabled with a uClibc-based toolchain, then
gpsd fails to build. See the following for details.
http://autobuild.buildroot.org/results/
be707893f4bf0e7e964d183e4a655c5bb72d1889/build-end.log
http://autobuild.buildroot.org/results/
be707893f4bf0e7e964d183e4a655c5bb72d1889/defconfig.
The issue is that uClibc lacks the necessary infrastructure to support
profiling. This patch disallows selection of the gpsd profiling feature when
a uClibc-based toolchain is selected.
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Peter Korsgaard [Mon, 23 Jul 2012 09:49:19 +0000 (11:49 +0200)]
mediastreamer: fix build with libX11 and sdl without x11 support
Fixes http://autobuild.buildroot.net/results/
a8f2db4a40c0f53c0d25b2632fe87c2ce136f770
Mediastreamer assumes SDL has X11 support if SDL and libX11 are found,
which is not necessarily true in BR.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Tue, 24 Jul 2012 07:17:56 +0000 (09:17 +0200)]
pkg-generic: fix SUBDIR handling
Commit
9ba9bfb9a02706fa414bcf4c6dcceac1b68a5c9a inverted the logic to
define $(2)_SUBDIR, breaking the build of things using the _SUBDIR
feature, like the tcl package.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Simon Dawson [Mon, 23 Jul 2012 19:29:36 +0000 (20:29 +0100)]
Bump gpsd from version 2.95 to version 3.7
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Mon, 23 Jul 2012 21:22:26 +0000 (23:22 +0200)]
scons: expose SCONS variable, pointing to host scons
Just like we have AUTOMAKE, AUTOCONF or QT_QMAKE, let the scons
package provide a SCONS variable that points to the scons host binary.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 23 Jul 2012 17:21:56 +0000 (14:21 -0300)]
php: security bump to version 5.3.15
Fix for CVE-2012-2688 (potential overflow in _php_stream_scandir),
CVE-2012-3365 (SQLite open_basedir bypass) and other misc bugfixes.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 23 Jul 2012 12:42:38 +0000 (09:42 -0300)]
radvd: fix high jobcount build failure
Fix build failure:
http://autobuild.buildroot.org/results/
48aabbc41dff2e4196dfd6e1e942cf6dbe050deb/build-end.log
because of a typo/missed update in the Makefile
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 22 Jul 2012 18:57:26 +0000 (20:57 +0200)]
toolchain-external: make preinstall the default for custom toolchains
All the defconfig files used by the autobuilders that use
pre-installed external toolchains are making the assumption that the
default for a custom external toolchain is "pre-installed". We keep
this default for now, since changing it breaks the autobuilders.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Samuel Martin [Sun, 22 Jul 2012 13:28:38 +0000 (15:28 +0200)]
tar: fix build with glibc >=2.16
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
create mode 100644 package/tar/tar-1.26-no-gets.patch
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Samuel Martin [Sun, 22 Jul 2012 13:28:37 +0000 (15:28 +0200)]
m4: fix build with glibc >=2.16
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
create mode 100644 package/m4/m4-1.4.16-no-gets.patch
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 22 Jul 2012 18:29:50 +0000 (20:29 +0200)]
elftosb: use HOST_CONFIGURE_OPTS instead of HOST_MAKE_ENV
HOST_CONFIGURE_OPTS allows to pass the correct CC, CXX, CFLAGS,
CXXFLAGS, etc. For example, it allows the elftosb build process to
properly use ccache when available.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 22 Jul 2012 18:24:18 +0000 (20:24 +0200)]
elftosb: remove version number of patch filenames
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Samuel Martin [Sun, 22 Jul 2012 13:28:32 +0000 (15:28 +0200)]
elftosb: fix build forcing g++ compiler
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Samuel Martin [Sun, 22 Jul 2012 13:28:34 +0000 (15:28 +0200)]
pkg-*targets.mk: factorize and fix $(PKG)_SRCDIR and $(PKG)_BUILDDIR declaration
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Samuel Martin [Sun, 22 Jul 2012 13:28:33 +0000 (15:28 +0200)]
pkg-utils.mk: fix/clean indentation
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Samuel Martin [Sun, 22 Jul 2012 13:28:31 +0000 (15:28 +0200)]
cleanup trailing white space
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 22 Jul 2012 17:17:48 +0000 (19:17 +0200)]
lighttpd: add simple startup script
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Simon Dawson [Sat, 21 Jul 2012 18:47:51 +0000 (19:47 +0100)]
lighttpd: use standard web root directory
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Acked-By: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 22 Jul 2012 16:41:13 +0000 (18:41 +0200)]
docs: announce the upcoming Buildroot developer meeting
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas De Schampheleire [Fri, 22 Jun 2012 05:37:03 +0000 (07:37 +0200)]
Package downloads: allow restricting to primary site only
This patch adds a new config option BR2_PRIMARY_SITE_ONLY that, when set,
restricts package downloads to the specified BR2_PRIMARY_SITE. If the package
is not present on the primary site, the download fails.
This is useful for project developers who want to ensure that the project can
be built even if the upstream tarball locations disappear.
[thomas.petazzoni@free-electrons.com:
Extend config option help message with more details coming from the
commit log. Added a dependency on the fact that a primary site has
been defined. Without any primary site (the default configuration),
this new option does not make any sense.]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 3 Jun 2012 14:04:40 +0000 (16:04 +0200)]
toolchain-external: add Sourcery CodeBench MIPS 2011.09
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 3 Jun 2012 14:04:39 +0000 (16:04 +0200)]
toolchain-external: add Blackfin toolchain 2012R1-BETA1
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 22 Jul 2012 14:54:43 +0000 (16:54 +0200)]
toolchain-external: remove ARM CodeSourcery 2009q3
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 22 Jul 2012 14:54:18 +0000 (16:54 +0200)]
toolchain-external: remove Linaro 2012.01
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 22 Jul 2012 14:08:28 +0000 (16:08 +0200)]
Make hard-float the default on Cortex-A8 and Cortex-A9
Cortex-A8 and Cortex-A9 ARM cores are guaranteed to provide a hardware
floating point unit, so there's no reason to default to software
floating point for them.
More importantly, the newest Linaro toolchains are hard float
toolchains, so basically an user choosing those toolchains and leaving
the default option of software float would run in compilation issues.
So let's make hard float the default for Cortex-A8 and Cortex-A9.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 22 Jul 2012 09:31:46 +0000 (11:31 +0200)]
toolchain-external: add Linaro 2012.06
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 3 Jun 2012 14:04:36 +0000 (16:04 +0200)]
toolchain-external: adjust logic to support Linaro 2012.05
The check_glibc function verifies that the C library of the external
toolchain is glibc. To do so, it verified that a file matching
ld-linux*.so.* or ld.so.* was found in the lib/ directory of the
toolchain's sysroot. However, with the Linaro 2012.05 toolchain, the
lib/ directory contains two links named ld-linux-armhf.so.3 and
ld-linux.so.3, which means that the first ld-linux*.so.* wildcard
expression expands to two files, which generates a syntax error for
the "test" program. We replace that with a more elaborate find+wc
combination to determine whether at least one matching file is
present.
The check_arm_abi function verifies the ABI of an ARM toolchain. For
EABI, it tested that the target name ends with eabi. However, with
Linaro 2012.05, the tuple is now arm-linux-gnueabihf (for hard float),
so we have to adjust the logic to accept this additional "hf"
specification in the tuple.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 3 Jun 2012 14:04:35 +0000 (16:04 +0200)]
toolchain-external: add Linaro 2012.05
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas De Schampheleire [Fri, 22 Jun 2012 05:42:39 +0000 (07:42 +0200)]
toolchain-external: line up comments with reality
Line-up with changes from commit
3367d5ce770ac409e7b3f5bba2c7ed1a819b3ef7
"external-toolchain: run checks even on extracted toolchains"
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas De Schampheleire [Fri, 22 Jun 2012 05:42:38 +0000 (07:42 +0200)]
toolchain-external: allow downloading a custom toolchain
This patch adds the possibility to download a custom external
toolchain, in addition to the existing support of preinstalled custom
external toolchains.
With the modified configuration, the user is presented with the
following options:
- Toolchain type: Buildroot toolchain | External toolchain | Ct-ng toolchain
In case of External toolchain:
- Toolchain: the CodeSourcery toolchains | Custom toolchain
- Toolchain origin: Toolchain to be downloaded and installed | Pre-installed toolchain
In case of Toolchain to be downloaded, the user is presented with:
- Toolchain URL
In case of Pre-installed toolchain, the users sees:
- Toolchain Path
For CodeSourcery toolchains, the toolchain URL field is not used (the
URLs are directly coded in ext-tool.mk).
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas De Schampheleire [Fri, 22 Jun 2012 05:42:36 +0000 (07:42 +0200)]
pkg-download.mk: support detection of URI schemes in DOWNLOAD
When using one of the package infrastructures, the DOWNLOAD function
uses $(PKG)_SITE_METHOD to determine the appropriate download method,
which is autodetected based on the URI if none was explicitly set.
When the DOWNLOAD function is called directly, for example when
downloading a toolchain, or from a package that does not use one of
the package infrastructures, the SITE_METHOD is not autodetected,
and thus the download defaults to wget.
This patch adds URI scheme detection directly to the DOWNLOAD method,
in case no SITE_METHOD was detected yet.
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas De Schampheleire [Fri, 22 Jun 2012 05:42:35 +0000 (07:42 +0200)]
pkg-download.mk: use stripurischeme function in localfiles download method
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas De Schampheleire [Fri, 22 Jun 2012 05:42:34 +0000 (07:42 +0200)]
pkg-download.mk: allow using localfiles outside of package infrastructure
The localfiles download method uses $($(PKG)_SITE))) and
$($(PKG)_SOURCE) instead of $(1) and $(2). This means that it can only
be used for package downloads (through gentargets, autotargets, ...)
and not for other downloads like external toolchains.
This patch changes localfiles to allow this, just as the wget and scp
download methods already did.
For the version control download methods, nothing changes.
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 22 Jul 2012 09:32:35 +0000 (11:32 +0200)]
lua: fix typo
Commit
c8da6d1dd656caf5454c50ee5dddb4beead60326 introduced a stupid
typo. Fix it.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas De Schampheleire [Fri, 22 Jun 2012 05:42:37 +0000 (07:42 +0200)]
toolchain-external/Config.in: fix indentation
Fix the indentation of the external toolchain Config file, where tabs
and spaces are mixed as indentation even within the same block.
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Maxime Ripard [Wed, 18 Jul 2012 16:02:43 +0000 (18:02 +0200)]
Add MXS bootlets package
MXS platforms (imx23 and imx28) are relying on bootlets as their first
stage bootloaders, that can then either start a regular second stage
bootloader or directly a Linux kernel. However, the Makefile allows
only to build u-boot and linux images at the same time, which is
not very convenient as we will more likely use only one of them,
so we need to duplicate a bit what is already done so that we are able
to choose what we want to generate.
thomas.petazzoni@free-electrons.com:
* Remove incorrect dependency on BR2_PACKAGE_ELFTOSB
* Each board configuration option is for one board, not multiple
boards, so use singular.
* The i.MX28 support is for i.MX28 EVK only, reflect that in the
option prompt and the option name.
* Use 'generic-package' instead of GENTARGETS
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Eric Jarrige [Wed, 18 Jul 2012 16:02:42 +0000 (18:02 +0200)]
Add (Freescale) elftosb host package
Elftosb is a Freescale toolset to build binary image files (like U-Boot.sb)
to be used with CPUs imx23, imx28, stp37xx
thomas.petazzoni@free-electrons.com:
* Add -m 0755 when installing binaries
* the _CLEAN_CMDS is not supposed to uninstall things from the
HOST_DIR.
* Use 'host-generic-package' instead of 'GENTARGETS,host'
Signed-off-by: Eric Jarrige <eric.jarrige@armadeus.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Simon Dawson [Wed, 27 Jun 2012 20:52:24 +0000 (21:52 +0100)]
memtester: bump to version 4.3.0
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Simon Dawson [Fri, 20 Jul 2012 12:20:16 +0000 (13:20 +0100)]
owl-linux: new package
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Simon Dawson [Fri, 20 Jul 2012 09:20:03 +0000 (10:20 +0100)]
sound-theme-borealis: new package
[thomas.petazzoni@free-electrons.com:
slightly adjust the installation process to just do a loop of calls
to $(INSTALL).]
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Simon Dawson [Fri, 20 Jul 2012 08:58:12 +0000 (09:58 +0100)]
python-nfc: new package
[thomas.petazzoni@free-electrons.com:
add patch that creates a standard setup.py file. This allows the
.pyc files to be generated at build time, and installed into the
target. This is important because by default, Buildroot removes all
.py files from the target, to keep only the .pyc files. The
python-nfc.mk file was changed to use this setup.py standard build
process.]
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 20 Jul 2012 18:05:24 +0000 (20:05 +0200)]
dfu-util: cosmetic fix
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
gregory hermant [Fri, 20 Jul 2012 16:06:12 +0000 (18:06 +0200)]
dfu-util: new package
Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Fri, 20 Jul 2012 11:53:29 +0000 (08:53 -0300)]
linux: bump default to kernel version 3.4.6
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Fri, 20 Jul 2012 11:53:28 +0000 (08:53 -0300)]
kernel-headers: bump 3.{0, 4}.x stable versions
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 20 Jul 2012 16:56:38 +0000 (18:56 +0200)]
lua: use install -D everywhere
Installation of host-lua was failing because it was the first package
to be built, and $(HOST_DIR)/usr/lib didn't exist. Therefore, use
install -D everywhere so that intermediate directories are created as
needed.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 20 Jul 2012 16:55:23 +0000 (18:55 +0200)]
lua: fix build issue with gcc 4.6
gcc 4.6 has become more sensitive about option ordering, especially
libraries. It requires the -l flags to be placed after the object
files that need that library. See for example
http://nick.zoic.org/art/etc/gcc-linker-libs.html. We had -llua at the
beginning of the link command line, causing build issues (here on gcc
4.6 with host-lua).
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 20 Jul 2012 12:40:18 +0000 (14:40 +0200)]
lua: ensure that host-lua does not depend on host-readline and host-ncurses
Commit
ad6af5819f88bac9ca7f50e565c4fc68d3e408cc removed the
HOST_LUA_DEPENDENCIES assignement to the empty variable, so from that
commit, the dependencies of host-lua are automatically computed from
the dependencies of lua. Since lua can depend on readline and ncurses,
it means that host-lua can depend on host-readline and host-ncurses,
and the host-readline package does not exist in Buildroot. Since there
is no reason to build host-lua with readline/ncurses support, just
re-add the HOST_LUA_DEPENDENCIES variable.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Francois Perrad <fperrad@gmail.com>
Simon Dawson [Wed, 18 Jul 2012 17:11:51 +0000 (18:11 +0100)]
libnfc-llcp: new package
This patch adds the libnfc-llcp package.
This package requires a minium libnfc version of 1.6. A separate patch has
been submitted to bump the libnfc version; that patch should be regarded as
a prerequisite for the present patch.
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Simon Dawson [Wed, 18 Jul 2012 17:10:25 +0000 (18:10 +0100)]
libfreefare: bump version to 0.3.4
This patch bumps the libfreefare package from version 0.3.2 to version 0.3.4.
Version 0.3.4 requires a minium libnfc version of 1.6. A separate patch has
been submitted to bump the libnfc version; that patch should be regarded as
a prerequisite for the present patch.
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
gregory hermant [Thu, 19 Jul 2012 09:38:09 +0000 (11:38 +0200)]
Add support for the Calao-systems USB-A9G20-LPW
Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
gregory hermant [Thu, 19 Jul 2012 08:19:17 +0000 (10:19 +0200)]
Add support for the Calao-systems USB-A9263
Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Kelvin Cheung [Thu, 19 Jul 2012 08:54:08 +0000 (16:54 +0800)]
bwm-ng: move bwm-ng from "Networking applications" to "System tools".
bwm-ng can monitor not only network bandwidth but also disk-io
bandwidth, so it is more appropriate to put bwm-ng into System tools.
Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Jean-Christophe PLAGNIOL-VILLARD [Tue, 17 Apr 2012 05:05:40 +0000 (05:05 +0000)]
sam-ba: only propose it if the host is x86 or x86_64
As sam-ba is delivered as a binary for x86
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Francois Perrad [Wed, 18 Jul 2012 13:59:12 +0000 (15:59 +0200)]
lua: refactor without sed
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Francois Perrad [Wed, 18 Jul 2012 13:59:11 +0000 (15:59 +0200)]
luajit: fix dependencies of Lua modules
BR2_PACKAGE_LUA_SHARED_LIBRARY is an internal of lua package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Francois Perrad [Wed, 18 Jul 2012 13:59:10 +0000 (15:59 +0200)]
luajit: new package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Francois Perrad [Wed, 18 Jul 2012 13:59:09 +0000 (15:59 +0200)]
add host arch detection and Kconfig BR2_HOSTARCH
This will allow to install binary package only if they are supported by the
host. As example Atmel SAM-BA (x86 only).
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Gustavo Zacarias [Tue, 17 Jul 2012 12:54:27 +0000 (09:54 -0300)]
libexif: security bump to version 0.6.21
Fixes CVE-2012-2812, CVE-2012-2813, CVE-2012-2814, CVE-2012-2836,
CVE-2012-2837, CVE-2012-2840, CVE-2012-2841 and CVE-2012-2845.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Simon Dawson [Wed, 18 Jul 2012 08:00:10 +0000 (09:00 +0100)]
libnfc: bump version to recent svn revision
The libnfc package is currently at version 1.5.1 in Buildroot. This patch
bumps the version to a recent svn revision, for the following reasons.
* Version 1.5.1 is marked as "unstable" on the libnfc download site.
* The nfc-tools project at
http://code.google.com/p/nfc-tools/
includes a library that extends libnfc with LLCP functionality.
Unfortunately, to build this requires a libnfc version no lower than 1.6.
The version 1.6.0-rc1 Release Candidate does not build; svn commits to fix
the build problems have not yet been back-ported into a Release Candidate.
* The libfreefare package is currently at version 0.3.2 in Buildroot. To bump
this to the most recent version (0.3.4) also requires a libnfc version no
lower than 1.6.
I suggest that this patch be regarded as a temporary fix, pending the release
of libnfc 1.6, which will allow other dependent packages to be progressed in
the interim.
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Daniel Mack [Wed, 18 Jul 2012 15:40:16 +0000 (17:40 +0200)]
package/usbutils: bump to version 006
Also, as the kernel.org archives are back up, use them as official site
again.
[thomas.petazzoni@free-electrons.com: use BR2_KERNEL_MIRROR]
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Wed, 18 Jul 2012 07:48:24 +0000 (09:48 +0200)]
sqlite: do not assume thread support is available
The --enable-threadsafe option was unconditionally passed, without
taking into account whether the underlying toolchain had thread
support or not. Now, we properly pass --enable-threadsafe or
--disable-threadsafe depending on the availability of thread support.
Fixes
http://autobuild.buildroot.net/results/
defdc098cff293baabf2f89587476eba71f1c0d0/build-end.log.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Arnout Vandecappelle (Essensium/Mind) [Tue, 10 Jul 2012 22:30:36 +0000 (00:30 +0200)]
libnss: fix 64-bit build
On some architectures (found on x86_64, but probably others too),
libnss builds with -m32 unless it is configured for 64-bit build. So
force 64-bit build on 64-bit architectures.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Arnout Vandecappelle (Essensium/Mind) [Tue, 10 Jul 2012 22:25:45 +0000 (00:25 +0200)]
libnspr: fix 64-bit build
On some architectures (found on x86_64, but probably others too),
libnspr builds with -m32 unless it is configured for 64-bit build. So
force 64-bit build on 64-bit architectures.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Danomi Manchego [Mon, 16 Jul 2012 03:00:27 +0000 (23:00 -0400)]
new package: luacjson
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Danomi Manchego [Mon, 16 Jul 2012 02:59:26 +0000 (22:59 -0400)]
new package: LuaExpat
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Tue, 17 Jul 2012 19:28:32 +0000 (21:28 +0200)]
lua: embed sub-options into a if...endif instead of depends on
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Francois Perrad [Tue, 17 Jul 2012 08:18:28 +0000 (10:18 +0200)]
lua: refactor root path tuning
Use a patch rather than sed'ing files in the build process.
Signed-off-by: Francois Perrad <fperrad@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Francois Perrad [Tue, 17 Jul 2012 08:18:27 +0000 (10:18 +0200)]
lua: split and rename patches
Signed-off-by: Francois Perrad <fperrad@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Tue, 17 Jul 2012 12:24:27 +0000 (09:24 -0300)]
linux: bump default to kernel version 3.4.5
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Tue, 17 Jul 2012 12:24:26 +0000 (09:24 -0300)]
kernel-headers: bump 3.{0, 4}.x stable versions
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Tue, 17 Jul 2012 18:27:05 +0000 (20:27 +0200)]
doc: minor documentation fixes after package infrastructure changes
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>