buildroot.git
13 years agogcc: disable libgomp when thread support is disabled
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:46 +0000 (17:27 +0100)]
gcc: disable libgomp when thread support is disabled

libgomp needs thread support on the target to build properly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: check that the thread option selection is correct
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:45 +0000 (17:27 +0100)]
toolchain: check that the thread option selection is correct

When an external toolchain is used, the user is responsible for
telling Buildroot what the configuration of the toolchain is. In order
to make sure that the selection is correct, we already perform checks
against the configuration of the uClibc in the selected external
toolchain. This commit adds the check for thread support.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: rework thread options
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:44 +0000 (17:27 +0100)]
toolchain: rework thread options

The selection of linuxthreads, linuxthreads old or NPTL doesn't make a
lot of sense for external toolchains. So, instead, we :

 * Introduce an hidden BR2_TOOLCHAIN_HAS_THREADS option, which must be
   selected by toolchain specific options when thread support is
   available. Package needing to test thread support should use this
   option.

 * Move the none/linuxthreads/linuxthreads old/NPTL selection to
   Buildroot internal toolchain configuration.

 * Add an option in external toolchain to tell if thread support is
   available or not in the external toolchain. We assume that glibc
   without threads is not possible, as Ulrich Drepper said in
   http://sourceware.org/ml/libc-alpha/2005-08/msg00091.html

ffmpeg, dmalloc and openvpn are fixed to use the new
BR2_TOOLCHAIN_HAS_THREADS option. For openvpn, --enable-threads=posix
is no longer used, as the configure script doesn't even understand
this option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoltp-testsuite: bump version and use autotargets
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:43 +0000 (17:27 +0100)]
ltp-testsuite: bump version and use autotargets

Reworking ltp-testsuite is needed in order to get rid of some
thread-specific options that will be cleaned-up in the next commit.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: move Stack Protection Support option
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:42 +0000 (17:27 +0100)]
toolchain: move Stack Protection Support option

The BR2_USE_SSP option is only used inside the uClibc build, so only
meaningful for Buildroot internal toolchains. Therefore, the option is
moved to the right location so that it isn't visible when working with
external toolchains.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: rework C++ options
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:41 +0000 (17:27 +0100)]
toolchain: rework C++ options

Instead of having BR2_GCC_CROSS_CXX and BR2_INSTALL_LIBSTDCPP, with
BR2_GCC_CROSS_CXX not being visible (and therefore being useless),
let's just keep BR2_INSTALL_LIBSTDCPP to enable C++ in the toolchain
and install C++ libraries on the target.

We also take that opportunity to make BR2_INSTALL_LIBSTDCPP an hidden
option, which is selected by an option in Buildroot toolchain support
or an option in External toolchain support, just as we did for other
toolchain features.

Some work definitely remains to be done :

 - The name BR2_INSTALL_LIBSTDCPP is ugly, but we keep it for the
   moment in order to avoid changing all packages.

 - We should clarify the other language-related options (Fortran,
   Java, Objective-C, etc.).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: remove toolchain-specific stripping
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:40 +0000 (17:27 +0100)]
toolchain: remove toolchain-specific stripping

We already handle the stripping of libraries in $(TARGET_DIR) at the
global level, so there's no need to have toolchain-specific option and
code for this.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: add support for external toolchain profiles and download
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:39 +0000 (17:27 +0100)]
toolchain: add support for external toolchain profiles and download

Instead of letting the user define all the details of his external
toolchain, we define a set of profiles for well-known external
toolchains (CodeSourcery ones only at the moment, can easily be
extended with other toolchains).

Once a profile has been choosen, the user is offered the choice of
either letting Buildroot download and install the external toolchain,
or (as before) to tell Buildroot where the toolchain is installed on
the system.

We of course provide a "custom profile", through which the user can
configure Buildroot to use a custom external toolchain for which no
profile is available.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: remove ending semi-colon in helpers
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:38 +0000 (17:27 +0100)]
toolchain: remove ending semi-colon in helpers

Some helpers had their final line ending with a semi-colon, some did
not. For consistency, remove the final semi-colon from all helpers,
it's the responsability of the caller to add the final semi-colon as
needed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: Improve C library option selection
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:37 +0000 (17:27 +0100)]
toolchain: Improve C library option selection

Turn BR2_LARGEFILE, BR2_INET_IPV6, BR2_INET_RPC, BR2_USE_WCHAR,
BR2_ENABLE_LOCALE and BR2_PROGRAM_INVOCATION into hidden options.

Then, for Buildroot toolchains, external toolchains and Crosstool-NG
toolchains, provide visible options that selects the hidden options.

This allows :

 * To show a different label and help text in the case of Buildroot
   toolchain (do you want to enable feature X ?) and in the case of
   external toolchain (is feature X available in your toolchain ?)

 * To not show any option when a glibc external toolchain is selected
   (since glibc is assumed to support all of largefile, IPv6, RPC,
   WCHAR, locale and program invocation) and have them all selected in
   that case.

There is some amount of duplication between Buildroot toolchain config
options and Crosstool-NG toolchain config options, because kconfig
doesn't allow to source the same Config.in file twice (even if under
mutually exclusive conditions). This duplication is more readable that
the hack that consists in splitting files in multiple pieces.

However, this commit changes the name of the options visible in the
configuration interface, so existing .config files will have to be
updated accordingly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokernel-headers: simplify
Peter Korsgaard [Mon, 13 Dec 2010 20:52:16 +0000 (21:52 +0100)]
kernel-headers: simplify

Old-style kernel headers got removed almost 2 years ago, so get rid of
the seperate kernel-headers-new.makefile file and move the content
to the main kernel-headers.mk.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agostrip path when untaring kernel for headers
Paulius Zaleckas [Sun, 5 Dec 2010 21:30:21 +0000 (23:30 +0200)]
strip path when untaring kernel for headers

This is needed when custom/snapshot kernel headers are selected.
Buildroot expects to find dl/linux-2.6.tar.bz2 and also expects
it to extract to output/toolchain/linux-2.6, but if you tar
custom kernel sources directory can be anything, etc. linux-git.
In that case buildroot would extract it to output/toolchain/linux-git.
So fix this behaviour, by using tar strip-directory/component.

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoNew package: fbgrab
Daniel Nyström [Thu, 9 Dec 2010 15:28:29 +0000 (16:28 +0100)]
New package: fbgrab

FBGrab is a framebuffer screenshot program, capturing the linux
frambuffer and converting it to a png-picture.

[Peter: drop zlib dep, add uninstall]
Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodirectfb-examples: rework target installation rule to match package infrastructure
Lionel Landwerlin [Thu, 9 Dec 2010 09:55:14 +0000 (10:55 +0100)]
directfb-examples: rework target installation rule to match package infrastructure

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobzip2: ensure target directories exist before copying into
Lionel Landwerlin [Thu, 9 Dec 2010 09:55:13 +0000 (10:55 +0100)]
bzip2: ensure target directories exist before copying into

Also simply installation rules a little

[Peter: leave in busybox install fix]
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoat: ensure startup script is well installed
Lionel Landwerlin [Thu, 9 Dec 2010 09:55:12 +0000 (10:55 +0100)]
at: ensure startup script is well installed

In case /etc/init.d does not exist.

[Peter: use install -D]
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopango: ensure startup script is well installed
Lionel Landwerlin [Thu, 9 Dec 2010 09:55:11 +0000 (10:55 +0100)]
pango: ensure startup script is well installed

In case /etc/init.d does not exist.

[Peter: use install -D]
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogdk-pixbuf: ensure startup script is well installed
Lionel Landwerlin [Thu, 9 Dec 2010 09:55:10 +0000 (10:55 +0100)]
gdk-pixbuf: ensure startup script is well installed

In case /etc/init.d does not exist.

[Peter: use install -D]
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agorsync: avoid using non reevaluated $(TARGET_DIR) in RSYNC_INSTALL_TARGET_OPT
Lionel Landwerlin [Thu, 9 Dec 2010 09:55:09 +0000 (10:55 +0100)]
rsync: avoid using non reevaluated $(TARGET_DIR) in RSYNC_INSTALL_TARGET_OPT

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocups: avoid using non reevaluated $(STAGING_DIR)
Lionel Landwerlin [Thu, 9 Dec 2010 09:55:08 +0000 (10:55 +0100)]
cups: avoid using non reevaluated $(STAGING_DIR)

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosdl_gfx: avoid using non reevaluated $(STAGING_DIR)
Lionel Landwerlin [Thu, 9 Dec 2010 09:55:07 +0000 (10:55 +0100)]
sdl_gfx: avoid using non reevaluated $(STAGING_DIR)

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosdl_sound: avoid using non reevaluated $(STAGING_DIR)
Lionel Landwerlin [Thu, 9 Dec 2010 09:55:06 +0000 (10:55 +0100)]
sdl_sound: avoid using non reevaluated $(STAGING_DIR)

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: move udhcp script from skeleton to package
Lionel Landwerlin [Thu, 9 Dec 2010 09:55:05 +0000 (10:55 +0100)]
busybox: move udhcp script from skeleton to package

Since udhcpc is part of busybox, it seems logical to move the udhcpc
script from skeleton to busybox.

[Peter: only install if not available in skeleton]
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoudev: ensure startup script is well installed
Lionel Landwerlin [Thu, 9 Dec 2010 09:55:04 +0000 (10:55 +0100)]
udev: ensure startup script is well installed

In case /etc/init.d does not exists.

[Peter: use install -D]
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoi2c-tools: ensure binaries are installed in the right place
Lionel Landwerlin [Thu, 9 Dec 2010 09:55:03 +0000 (10:55 +0100)]
i2c-tools: ensure binaries are installed in the right place

And remove unneeded explicit stripping of target binaries

[Peter: use install -D]
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocloop: ensure target directory exist before copying into
Lionel Landwerlin [Thu, 9 Dec 2010 09:55:02 +0000 (10:55 +0100)]
cloop: ensure target directory exist before copying into

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agohostapd: ensure hostapd binaries are installed in the right place
Lionel Landwerlin [Thu, 9 Dec 2010 09:55:01 +0000 (10:55 +0100)]
hostapd: ensure hostapd binaries are installed in the right place

Ensure hostapd and hostapd_cli are installed in /usr/bin/ even if the
directory does not exist.

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodbus: ensure startup script is well installed
Lionel Landwerlin [Thu, 9 Dec 2010 09:55:00 +0000 (10:55 +0100)]
dbus: ensure startup script is well installed

If /etc/init.d does not exist, we need to be sure that the dbus
startup script is installed at the right place.

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogdk-pixbuf: fix dependency on libiconv
Lionel Landwerlin [Thu, 9 Dec 2010 09:54:59 +0000 (10:54 +0100)]
gdk-pixbuf: fix dependency on libiconv

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agozlib: really fix install for static only builds
Peter Korsgaard [Sun, 12 Dec 2010 07:51:58 +0000 (08:51 +0100)]
zlib: really fix install for static only builds

Commit ab2f5567c1 (cleanup, fix install for static only build) forgot
to add the patch for static only builds, even though the commit message
mentioned it.

Thanks to Mike for noticing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: restore DEPMOD usage
Mike Frysinger [Wed, 8 Dec 2010 09:27:06 +0000 (04:27 -0500)]
linux: restore DEPMOD usage

The linux.mk rewrite lost the DEPMOD setting while installing modules
which means depending on host-module-init-tools has been useless.
Instead, the build system has been executing /sbin/depmod.

While we're here, drop the INSTALL_MOD_PATH since LINUX26_MAKE_FLAGS
already contains it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibconfig: bump version
Sagaert Johan [Sat, 11 Dec 2010 01:39:48 +0000 (02:39 +0100)]
libconfig: bump version

[Peter: Don't disable libtool patch]
Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoopenssl: security bump to version 1.0.0c
Gustavo Zacarias [Fri, 3 Dec 2010 19:51:50 +0000 (16:51 -0300)]
openssl: security bump to version 1.0.0c

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: default to 1.18
Peter Korsgaard [Sat, 11 Dec 2010 01:20:52 +0000 (02:20 +0100)]
busybox: default to 1.18

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: add 1.18.0 runsvdir fix
Peter Korsgaard [Sat, 11 Dec 2010 01:19:57 +0000 (02:19 +0100)]
busybox: add 1.18.0 runsvdir fix

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: add 1.18.0, remove 1.13.x and 1.14.x, mark 1.15.x as deprecated
Gustavo Zacarias [Fri, 3 Dec 2010 19:51:49 +0000 (16:51 -0300)]
busybox: add 1.18.0, remove 1.13.x and 1.14.x, mark 1.15.x as deprecated

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: add shorter shortcuts
Mike Frysinger [Thu, 18 Nov 2010 11:31:46 +0000 (06:31 -0500)]
linux: add shorter shortcuts

We only have one Linux kernel package, and "linux26-" is an anachronism
in today's world.  So add useful "linux-%" shortcuts to the "linux26-%".

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: set a few more initramfs opts for newer kernels
Mike Frysinger [Sat, 20 Nov 2010 03:38:05 +0000 (22:38 -0500)]
linux: set a few more initramfs opts for newer kernels

Building with linux-2.6.36 and initramfs support causes the build to
pause while it prompts for newer options (uid/gid/compression).  So
have the build system inject the newer options into the linux config
automatically.  Older versions should just ignore these.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: bump 2.6.32.x / 2.6.36.x stable versions
Peter Korsgaard [Fri, 10 Dec 2010 09:47:25 +0000 (10:47 +0100)]
toolchain: bump 2.6.32.x / 2.6.36.x stable versions

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agousbutils: bump to version 0.91
Gustavo Zacarias [Mon, 6 Dec 2010 19:45:08 +0000 (16:45 -0300)]
usbutils: bump to version 0.91

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodhrystone: new benchmark package
Mike Frysinger [Tue, 7 Dec 2010 21:07:27 +0000 (16:07 -0500)]
dhrystone: new benchmark package

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agowhetstone: new benchmark package
Mike Frysinger [Tue, 7 Dec 2010 21:05:50 +0000 (16:05 -0500)]
whetstone: new benchmark package

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agorsh-redone: new package for rsh/rlogin clients
Mike Frysinger [Tue, 7 Dec 2010 21:03:56 +0000 (16:03 -0500)]
rsh-redone: new package for rsh/rlogin clients

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoqt: only build gui module if enabled
Frederik Pasch [Wed, 8 Dec 2010 22:09:03 +0000 (23:09 +0100)]
qt: only build gui module if enabled

Closes #2905

Signed-off-by: Frederik Pasch <fpasch@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoccache: rework ccache management
Thomas Petazzoni [Tue, 7 Dec 2010 20:09:56 +0000 (21:09 +0100)]
ccache: rework ccache management

 * ccache is now a normal package (both for the host and the target).

 * ccache option is now part of the "Build options" menu. It will
   automatically build ccache for the host before building anything,
   and will use it to cache builds for both host compilations and
   target compilations.

 * bump ccache to 3.1.3

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: drop LDFLAGS override
Mike Frysinger [Wed, 17 Nov 2010 09:11:18 +0000 (04:11 -0500)]
linux: drop LDFLAGS override

The current linux code overrides LDFLAGS that the kernel itself might be
setting up. Looking at the history, there doesn't seem to be any reason
for this override. It was added in ea8b1fa6a60705 without any logic.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolsuio: new UIO helper package
Mike Frysinger [Sat, 20 Nov 2010 06:52:43 +0000 (01:52 -0500)]
lsuio: new UIO helper package

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage/openssh: Use HTTP instead of FTP for source download
Will Newton [Wed, 1 Dec 2010 14:44:26 +0000 (14:44 +0000)]
package/openssh: Use HTTP instead of FTP for source download

HTTP should be more firewall friendly.

Signed-off-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoMakefile: document savedefconfig in 'make help', like it's done in Linux
Peter Korsgaard [Tue, 7 Dec 2010 11:16:44 +0000 (12:16 +0100)]
Makefile: document savedefconfig in 'make help', like it's done in Linux

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoxz: version bump to 5.0.0
Mike Frysinger [Tue, 16 Nov 2010 14:16:05 +0000 (09:16 -0500)]
xz: version bump to 5.0.0

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agom4: version bump to 1.4.15
Mike Frysinger [Sat, 20 Nov 2010 04:36:37 +0000 (23:36 -0500)]
m4: version bump to 1.4.15

And include patch from OE for building on uClibc targets.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocloop: fix download URL
Peter Korsgaard [Fri, 3 Dec 2010 10:56:58 +0000 (11:56 +0100)]
cloop: fix download URL

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobuildroot: kickoff 2011.02 development phase
Peter Korsgaard [Fri, 3 Dec 2010 10:56:28 +0000 (11:56 +0100)]
buildroot: kickoff 2011.02 development phase

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agodocs/news.html: add 2010.11 announce link
Peter Korsgaard [Tue, 30 Nov 2010 18:50:04 +0000 (19:50 +0100)]
docs/news.html: add 2010.11 announce link

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoUpdate for 2010.11
Peter Korsgaard [Tue, 30 Nov 2010 15:52:43 +0000 (16:52 +0100)]
Update for 2010.11

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMakefile: introduce KSTRIPCMD to strip kernel modules
Gustavo Zacarias [Tue, 30 Nov 2010 15:19:59 +0000 (12:19 -0300)]
Makefile: introduce KSTRIPCMD to strip kernel modules

When sstrip is selected it tries to strip kernel modules too.
Unfortunately this fails with a "unrecognized program segment header
size" error thus interrupting the build process.

We introduce a new $(KSTRIPCMD) strip command for this, being a regular
strip when sstrip is selected and an empty stub when not stripping.

At the same time get rid of the REMOVE_SECTION_* variables, as they are
only used once.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoboot/syslinux: allow build on x86_64
Heiko Zuerker [Sun, 28 Nov 2010 23:30:12 +0000 (17:30 -0600)]
boot/syslinux: allow build on x86_64

Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agosquid: needs host-libcap for cf_gen
Peter Korsgaard [Mon, 29 Nov 2010 20:14:35 +0000 (21:14 +0100)]
squid: needs host-libcap for cf_gen

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain targets: fix up c3 and winchip i386 variants, add c3-2
Gustavo Zacarias [Mon, 29 Nov 2010 15:42:20 +0000 (12:42 -0300)]
toolchain targets: fix up c3 and winchip i386 variants, add c3-2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolinux kernel: bump to version 2.6.36.1
Gustavo Zacarias [Tue, 23 Nov 2010 18:05:11 +0000 (15:05 -0300)]
linux kernel: bump to version 2.6.36.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agosquid: bump to version 3.1.9
Gustavo Zacarias [Mon, 8 Nov 2010 16:40:35 +0000 (13:40 -0300)]
squid: bump to version 3.1.9

Closes #2773

Fixes several security issues and host-openssl dependency for cf_gen.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agosysstat: forcibly disable sensors to avoid build failures
Gustavo Zacarias [Thu, 18 Nov 2010 22:26:45 +0000 (19:26 -0300)]
sysstat: forcibly disable sensors to avoid build failures

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agouclibc: snapshot config fix, yet another stalling point
Gustavo Zacarias [Thu, 18 Nov 2010 17:27:28 +0000 (14:27 -0300)]
uclibc: snapshot config fix, yet another stalling point

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolibgcrypt: bump to version 1.4.6 to fix MIPS build issues
Gustavo Zacarias [Fri, 19 Nov 2010 13:56:51 +0000 (10:56 -0300)]
libgcrypt: bump to version 1.4.6 to fix MIPS build issues

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotcpdump: punt duplicate versioned binary
Mike Frysinger [Sat, 27 Nov 2010 23:55:20 +0000 (18:55 -0500)]
tcpdump: punt duplicate versioned binary

The tcpdump package likes to install two binaries into /usr/sbin --
one named "tcpdump" and one named "tcpdump.<ver>".  But it does this
by installing the file twice rather than using links.  Since the alt
name is useless to us, just punt it.

[Peter: Rework to use POST_INSTALL_TARGET_HOOKS instead]
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain/crosstool-NG: use HOST_PATH when building the toolchain
Yann E. MORIN [Sat, 27 Nov 2010 22:44:02 +0000 (23:44 +0100)]
toolchain/crosstool-NG: use HOST_PATH when building the toolchain

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotarget-finalize: libtread_db: support nonstd toolchain setups
Mike Frysinger [Sun, 28 Nov 2010 21:10:13 +0000 (22:10 +0100)]
target-finalize: libtread_db: support nonstd toolchain setups

Certain toolchain configs (E.G. on blackfin), don't use symlinks, so the
file name to match is the actual SONAME (.so.*). Support these toolchains
as well.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agopackage/Makefile.in: Add OBJDUMP=$(TARGET_OBJDUMP) to TARGET_CONFIGURE_OPTS
Marcelo Roberto Jimenez [Thu, 25 Nov 2010 17:38:31 +0000 (15:38 -0200)]
package/Makefile.in: Add OBJDUMP=$(TARGET_OBJDUMP) to TARGET_CONFIGURE_OPTS

Closes #2857

The OBJDUMP was missing from TARGET_CONFIGURE_OPTS, this patch adds it
to the proper place in package/Makefile.in.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain/crosstool-NG: use RPC option
Yann E. MORIN [Sat, 27 Nov 2010 20:50:50 +0000 (21:50 +0100)]
toolchain/crosstool-NG: use RPC option

Push the RPC option down to uClibc config

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain/crosstool-NG: use IPv6 option
Yann E. MORIN [Sat, 27 Nov 2010 20:50:49 +0000 (21:50 +0100)]
toolchain/crosstool-NG: use IPv6 option

Push the IPv6 option down to uClibc config

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain/crosstool-NG: use LFS option
Yann E. MORIN [Sat, 27 Nov 2010 20:50:48 +0000 (21:50 +0100)]
toolchain/crosstool-NG: use LFS option

Push the LFS option down to uClibc config

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain/crosstool-NG: use locales option
Yann E. MORIN [Sat, 27 Nov 2010 20:50:47 +0000 (21:50 +0100)]
toolchain/crosstool-NG: use locales option

Push the locales option down to crosstool-NG config

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain/crosstool-NG: use wide-char option
Yann E. MORIN [Sat, 27 Nov 2010 20:50:46 +0000 (21:50 +0100)]
toolchain/crosstool-NG: use wide-char option

Push the wide-char options down to crosstool-NG config

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain/crosstool-NG: add C library config munging
Yann E. MORIN [Sat, 27 Nov 2010 20:50:45 +0000 (21:50 +0100)]
toolchain/crosstool-NG: add C library config munging

For some C libraries, it can be necessary to push the BR settings
down to the libc configuration file. Prepare the infrastructure.

(Note: it will apply only to uClibc for now, and although eglibc
can also be configured, it is not currently supported)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain/crosstool-NG: move munging functions
Yann E. MORIN [Sat, 27 Nov 2010 20:50:44 +0000 (21:50 +0100)]
toolchain/crosstool-NG: move munging functions

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain/crosstool-NG: use a copy of the uClibc .config
Yann E. MORIN [Sat, 27 Nov 2010 20:50:43 +0000 (21:50 +0100)]
toolchain/crosstool-NG: use a copy of the uClibc .config

Before we can munge the uClibc .config file, we have to use a copy.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain/crosstool-NG: reorder sed expressions
Yann E. MORIN [Sat, 27 Nov 2010 20:50:42 +0000 (21:50 +0100)]
toolchain/crosstool-NG: reorder sed expressions

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain/crosstool-NG: add dependencies on host- tools
Yann E. MORIN [Sat, 27 Nov 2010 20:50:41 +0000 (21:50 +0100)]
toolchain/crosstool-NG: add dependencies on host- tools

Depends on:
- GNU awk       --> host-gawk
- GNU automake  --> host-automake

Remove dependency on 'cvs'. cvs is used to retrieve newlib,
which is not supported under Buildroot.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoxserver-xorg: fix CFLAGS
Matt Johnson [Sat, 27 Nov 2010 20:52:14 +0000 (21:52 +0100)]
xserver-xorg: fix CFLAGS

Ensure we just append to TARGET_CFLAGS, instead of overriding it.

Signed-off-by: Matt Johnson <mj1856@hotmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotarget-finalize: do not strip libthread_db
Javier Viguera [Fri, 26 Nov 2010 18:26:56 +0000 (19:26 +0100)]
target-finalize: do not strip libthread_db

Fix previous commit not to strip libthread_db library. In the previous
commit the wildcard was incorrectly matching the symbolic link instead
of the real library file.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'for-2010.11/faq' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Sat, 27 Nov 2010 20:13:51 +0000 (21:13 +0100)]
Merge branch 'for-2010.11/faq' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agoqt: tighten webkit dependencies
Peter Korsgaard [Sat, 27 Nov 2010 20:09:15 +0000 (21:09 +0100)]
qt: tighten webkit dependencies

webkit needs shared library and gui support to build, so make that visible
in Config.in.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agopackage/qt: Remove selects of BR2_PACKAGE_QT_JAVASCRIPTCORE.
Will Newton [Fri, 26 Nov 2010 12:58:15 +0000 (12:58 +0000)]
package/qt: Remove selects of BR2_PACKAGE_QT_JAVASCRIPTCORE.

Building WebKit or Script engine support would select JIT support
in JavaScriptCore. Not all platforms support JIT, so remove the
selects to allow the option to be modified by users.

Signed-off-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agodocumentation: add FAQ entry about glibc-static issue on Fedora
Thomas Petazzoni [Fri, 26 Nov 2010 09:06:58 +0000 (10:06 +0100)]
documentation: add FAQ entry about glibc-static issue on Fedora

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agodocumentation: add FAQ entry concerning serial port configuration
Thomas Petazzoni [Fri, 26 Nov 2010 09:03:55 +0000 (10:03 +0100)]
documentation: add FAQ entry concerning serial port configuration

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agodocumentation: introduce a FAQ section
Thomas Petazzoni [Fri, 26 Nov 2010 08:59:21 +0000 (09:59 +0100)]
documentation: introduce a FAQ section

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agodocs/news.html: announce 2010.11-rc2
Peter Korsgaard [Thu, 25 Nov 2010 11:14:11 +0000 (12:14 +0100)]
docs/news.html: announce 2010.11-rc2

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoUpdate for 2010.11-rc2
Peter Korsgaard [Thu, 25 Nov 2010 10:29:30 +0000 (11:29 +0100)]
Update for 2010.11-rc2

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agodialog: fix build, ensure host includes aren't used
Peter Korsgaard [Thu, 25 Nov 2010 10:07:08 +0000 (11:07 +0100)]
dialog: fix build, ensure host includes aren't used

configure looks for libintl, so ensure it is available. Also make sure
the host ncurses headers aren't used.
Fix up Config.in indentation while we're at it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agouClibc 0.9.31: add sparc long double gcc intrinsics support
Konrad Eisele [Mon, 8 Nov 2010 13:29:33 +0000 (14:29 +0100)]
uClibc 0.9.31: add sparc long double gcc intrinsics support

Copy of the glibc quadfloat intrinsics that gcc generates.

Signed-off-by: Konrad Eisele <konrad@gaisler.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain: tighten up sparc leon allowed gcc versions
Gustavo Zacarias [Tue, 9 Nov 2010 16:51:45 +0000 (13:51 -0300)]
toolchain: tighten up sparc leon allowed gcc versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain: LEON SPARC only works with gcc-4.4.x
Gustavo Zacarias [Tue, 9 Nov 2010 16:33:16 +0000 (13:33 -0300)]
toolchain: LEON SPARC only works with gcc-4.4.x

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agogcc-patch: Add patch for 4.4.5 to support Sparc-leon processors
Konrad Eisele [Tue, 9 Nov 2010 16:27:39 +0000 (13:27 -0300)]
gcc-patch: Add patch for 4.4.5 to support Sparc-leon processors

Gcc patch that adds hfleon (fpu,v7), hfleonv8 (fpu, v8), sfleon (softfpu,v7),
sfleonv8 (softfpu,v8) SPARC variants. Default cpu is selected with --with-cpu.
Adds leon pipeline descrption to gcc.

Signed-off-by: Konrad Eisele <konrad@gaisler.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain: Add support for --with-cpu
Konrad Eisele [Tue, 9 Nov 2010 16:27:37 +0000 (13:27 -0300)]
toolchain: Add support for --with-cpu

Add support for gcc configuration switch --with-cpu. Uses newly added
BR2_GCC_TARGET_CPU from the target config.

Signed-off-by: Konrad Eisele <konrad@gaisler.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoCconfig: Add sparc-leon processors, remove deprecated v9 Sparc type.
Konrad Eisele [Tue, 9 Nov 2010 16:27:34 +0000 (13:27 -0300)]
Cconfig: Add sparc-leon processors, remove deprecated v9 Sparc type.

Add the Sparc processor variants hfleon (fpu,v9), hfleonv8 (fpu,v8),
sfleon (softfpu,v7) sfleonv8 (softfpu,v8) and tweak the existing ones.

Signed-off-by: Konrad Eisele <konrad@gaisler.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agophp: add process control support
Thomas Rudin [Mon, 15 Nov 2010 20:12:49 +0000 (17:12 -0300)]
php: add process control support

Closes #2791

Signed-off-by: Thomas Rudin <thomas@rudin.li>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agogpsd: fixup various problems with Config.in
Paulius Zaleckas [Mon, 15 Nov 2010 20:56:16 +0000 (17:56 -0300)]
gpsd: fixup various problems with Config.in

fix wrong configure symbol name for MTK.
remove default values from most of options and leave only
default y for NMEA protocol (90% of users will need this one)
and features for gpsd to reconfigure device.

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agogpsd: needs host-pkg-config for proper qt bindings support
Gustavo Zacarias [Mon, 15 Nov 2010 18:51:39 +0000 (15:51 -0300)]
gpsd: needs host-pkg-config for proper qt bindings support

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agogpsd: Only build qt support if qt-network is enabled
Frederik Pasch [Mon, 15 Nov 2010 18:32:03 +0000 (15:32 -0300)]
gpsd: Only build qt support if qt-network is enabled

Signed-off-by: Frederik Pasch <fpasch@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolrzsz: remove unneeded strip
Peter Korsgaard [Wed, 24 Nov 2010 21:32:15 +0000 (22:32 +0100)]
lrzsz: remove unneeded strip

Is handled generically in target-finalize and shouldn't be done in the
build directory.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>