buildroot.git
14 years agolockfile-progs: use correct CFLAGS
Peter Korsgaard [Sun, 30 May 2010 07:32:15 +0000 (09:32 +0200)]
lockfile-progs: use correct CFLAGS

Use the correct CFLAGS from BR and not just the LDFLAGS. This is especially
important for external toolchain setups, but the lockfile-progs buildsystem
also hardcodes -Werror, which breaks the build in certain setups.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoncftp: bump version
Julien Boibessot [Sat, 29 May 2010 10:47:04 +0000 (12:47 +0200)]
ncftp: bump version

Due to recent 3.2.4 release, 3.2.2 download address has changed, so
I prefered bump version to 3.2.4 rather than changing NCFTP_SITE.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoexternal toolchain: also copy the libthread_db.so for gdbserver
Yann E. MORIN [Fri, 28 May 2010 21:23:20 +0000 (23:23 +0200)]
external toolchain: also copy the libthread_db.so for gdbserver

gdbserver dlopen(3)s libthread_db.so at runtime, so there is no
dependency on it (does not appear as being (NEEDED)).

Copy libthread_db.so from external toolchain when gdbserver is enbled.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain/external: only copy the pthread lib if needed
Yann E. MORIN [Fri, 28 May 2010 21:23:14 +0000 (23:23 +0200)]
toolchain/external: only copy the pthread lib if needed

If threads are disabled, do not try to copy the libpthread.so from the
external library.

It is still expected that the BR configuration matches the external
toolchain setup, and no check is done to enforce that.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoCHANGES: xserver-xorg has been changed
Peter Korsgaard [Fri, 28 May 2010 21:17:37 +0000 (23:17 +0200)]
CHANGES: xserver-xorg has been changed

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoxserver_xorg-server: Use $(MAKE1) for make install
Paulius Zaleckas [Fri, 28 May 2010 14:58:43 +0000 (17:58 +0300)]
xserver_xorg-server: Use $(MAKE1) for make install

Xserver installation fails with parallel make jobs.

Installation to staging is not needed. So just remove it
instead of converting to $(MAKE1).

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoRemove locale dependency from xserver
Paulius Zaleckas [Fri, 28 May 2010 14:58:35 +0000 (17:58 +0300)]
Remove locale dependency from xserver

XServer compiles just fine without locale support

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolibcap: fix build issue when host pam is around
Gustavo Zacarias [Fri, 28 May 2010 17:34:27 +0000 (14:34 -0300)]
libcap: fix build issue when host pam is around

Closes #1843

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agocoreutils: add 'join'
Bjørn Forsman [Thu, 27 May 2010 20:26:24 +0000 (22:26 +0200)]
coreutils: add 'join'

coreutils: add 'join' to the list of files that are copied to target
rootfs.

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolinux: zImage target no longer available on x86
Peter Korsgaard [Fri, 28 May 2010 10:03:56 +0000 (12:03 +0200)]
linux: zImage target no longer available on x86

The legacy zImage target for x86 was removed from the kernel in 2.6.30,
and we state in Config.in that we'll use bzImage if BR2_PACKAGE_LINUX_FORMAT
isn't set, so ensure we do so for x86.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agohal: dbus expat option is BR2_DBUS_EXPAT
Peter Korsgaard [Thu, 27 May 2010 12:48:47 +0000 (14:48 +0200)]
hal: dbus expat option is BR2_DBUS_EXPAT

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoupdate for 2010.05-rc3
Peter Korsgaard [Thu, 27 May 2010 12:35:04 +0000 (14:35 +0200)]
update for 2010.05-rc3

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'pkg-stats-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Thu, 27 May 2010 12:11:53 +0000 (14:11 +0200)]
Merge branch 'pkg-stats-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agoMerge branch 'graph-dependencies' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Thu, 27 May 2010 12:11:26 +0000 (14:11 +0200)]
Merge branch 'graph-dependencies' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agomicroperl: fix build with /bin/sh = dash
Peter Korsgaard [Thu, 27 May 2010 07:53:01 +0000 (09:53 +0200)]
microperl: fix build with /bin/sh = dash

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agokernel-headers: bump 2.6.27.x / 2.6.32.x / 2.6.33.x stable versions
Peter Korsgaard [Thu, 27 May 2010 07:48:47 +0000 (09:48 +0200)]
kernel-headers: bump 2.6.27.x / 2.6.32.x / 2.6.33.x stable versions

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoCHANGES: #75 + #699 are now closed
Peter Korsgaard [Wed, 26 May 2010 22:47:31 +0000 (00:47 +0200)]
CHANGES: #75 + #699 are now closed

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'dependencies-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Wed, 26 May 2010 22:46:12 +0000 (00:46 +0200)]
Merge branch 'dependencies-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agogob2: workaround configure misdetecting library needed for flex
Peter Korsgaard [Wed, 26 May 2010 22:44:28 +0000 (00:44 +0200)]
gob2: workaround configure misdetecting library needed for flex

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agouClibc: 0.9.31 defconfig: disable FORCE_SHAREABLE_TEXT_SEGMENTS
Peter Korsgaard [Wed, 26 May 2010 22:36:45 +0000 (00:36 +0200)]
uClibc: 0.9.31 defconfig: disable FORCE_SHAREABLE_TEXT_SEGMENTS

Works around issues with non-fPIC libraries.

Reported-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoiperf: override bool detection
Peter Korsgaard [Wed, 26 May 2010 21:50:11 +0000 (23:50 +0200)]
iperf: override bool detection

The configure script contains a buggy test for the bool datatype and
it's size. This is normally not a big deal as the result isn't used
for anything, but when BR2_CONFIG_CACHE (default) is used, the
wrong ac_cv_type_bool result is stored in the cache, and other packages
like libcurl DO need the bool type, so that breaks the build.

Fix it by presetting those tests to sane values.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agogst-plugins-base: make sure alsa-lib is detected if present
Peter Korsgaard [Wed, 26 May 2010 21:19:44 +0000 (23:19 +0200)]
gst-plugins-base: make sure alsa-lib is detected if present

Make sure alsa-lib is built before gst-plugins-base if enabled, so
configure detects the presence of alsa and builds alsasink/src.

Reported-by: Phil Edworthy <Phil.Edworthy@renesas.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agovsftpd: fix build without largefile support
Peter Korsgaard [Wed, 26 May 2010 21:00:18 +0000 (23:00 +0200)]
vsftpd: fix build without largefile support

Fix lfs patch to include <features.h> before checking any of the
uClibc defines.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agovalgrind: broken on ppc
Peter Korsgaard [Wed, 26 May 2010 20:48:01 +0000 (22:48 +0200)]
valgrind: broken on ppc

Valgrind 3.2.3 needs linux/a.out.h, which hasn't been exported on ppc
since 2.6.28.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agofs/squashfs: squashfs3 needs to set big/little endian
Peter Korsgaard [Wed, 26 May 2010 20:46:05 +0000 (22:46 +0200)]
fs/squashfs: squashfs3 needs to set big/little endian

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agosquashfs,squashfs3: needs LARGEFILE support in toolchain
Peter Korsgaard [Wed, 26 May 2010 20:17:52 +0000 (22:17 +0200)]
squashfs,squashfs3: needs LARGEFILE support in toolchain

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agobusybox skeleton: allow logins from ttymxc[0-2]
Baruch Siach [Wed, 26 May 2010 04:31:36 +0000 (07:31 +0300)]
busybox skeleton: allow logins from ttymxc[0-2]

Add ttymxc[0-2] to the list is the /etc/securetty of the Busybox skeleton.
This is useful for serial logins on i.MX based systems. The same serial
devices already appear in the generic "target_skeleton/".

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoolsr: needs IPv6 support in toolchain
Peter Korsgaard [Wed, 26 May 2010 12:14:39 +0000 (14:14 +0200)]
olsr: needs IPv6 support in toolchain

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agontfsprogs: needs largefile support in toolchain
Peter Korsgaard [Wed, 26 May 2010 12:11:31 +0000 (14:11 +0200)]
ntfsprogs: needs largefile support in toolchain

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolibdvdread: needs largefile support in toolchain
Peter Korsgaard [Wed, 26 May 2010 11:52:26 +0000 (13:52 +0200)]
libdvdread: needs largefile support in toolchain

So in turn does libdvdnav and the dvdnav element in gst-plugins-bad.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agomtd-utils: recv_image needs IPv6 support in toolchain
Peter Korsgaard [Wed, 26 May 2010 11:42:21 +0000 (13:42 +0200)]
mtd-utils: recv_image needs IPv6 support in toolchain

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolmbench: indentation in Config.in should be done using <tab>
Peter Korsgaard [Wed, 26 May 2010 11:33:41 +0000 (13:33 +0200)]
lmbench: indentation in Config.in should be done using <tab>

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolsof: needs RPC support in toolchain
Peter Korsgaard [Wed, 26 May 2010 11:33:06 +0000 (13:33 +0200)]
lsof: needs RPC support in toolchain

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoqt: powerpc config is now called powerpc, not ppc
Peter Korsgaard [Wed, 26 May 2010 07:38:41 +0000 (09:38 +0200)]
qt: powerpc config is now called powerpc, not ppc

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agobmon: needs ipv6 support
Peter Korsgaard [Wed, 26 May 2010 06:59:46 +0000 (08:59 +0200)]
bmon: needs ipv6 support

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agopackage: gettext needs WCHAR support
Peter Korsgaard [Tue, 25 May 2010 21:38:44 +0000 (23:38 +0200)]
package: gettext needs WCHAR support

gettext needs WCHAR support in the toolchain, and as libglib2 depends on
gettext and lots of stuff depends on libglib2, quite a lot of packages
needs to have their dependencies adjusted.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agowebkit: remove user visible rendering target selection
Peter Korsgaard [Tue, 25 May 2010 21:25:37 +0000 (23:25 +0200)]
webkit: remove user visible rendering target selection

Instead use the same logic as in libgtk2. The rendering target selected
MUST be the same as libgtk2's, so just figure it out automatically
instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoqt: use depends on for gstreamer
Peter Korsgaard [Tue, 25 May 2010 20:54:42 +0000 (22:54 +0200)]
qt: use depends on for gstreamer

Gstreamer has complicated dependencies (because of glib2), so use
depends on rather than select. At the same time default phonon support
to Y if gstreamer is available, as this support is likely wanted.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoswfdec: use depends on for gstreamer
Peter Korsgaard [Tue, 25 May 2010 20:48:51 +0000 (22:48 +0200)]
swfdec: use depends on for gstreamer

Gstreamer has complicated dependencies (because of glib2), so use
depends on rather than select, similar to how it is done for gtk2.

At the same time default gtk/gstreamer support to Y if those are
available, as they are likely wanted.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agopackage: don't select libgtk2 as it doesn't know what backend to use
Peter Korsgaard [Tue, 25 May 2010 20:42:14 +0000 (22:42 +0200)]
package: don't select libgtk2 as it doesn't know what backend to use

libgtk2 can either use the X11 or directfb backend, depending on what
is selected - But if other packages 'select' libgtk2 there is no
guarantee that any backends are enabled, breaking the build.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoenchant: add comment about needing C++ support in toolchain
Peter Korsgaard [Tue, 25 May 2010 20:09:32 +0000 (22:09 +0200)]
enchant: add comment about needing C++ support in toolchain

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoAdd documentation on gettext integration
Thomas Petazzoni [Mon, 24 May 2010 20:32:03 +0000 (22:32 +0200)]
Add documentation on gettext integration

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoUpdate packages to BR2_NEEDS_GETTEXT_IF_LOCALE
Thomas Petazzoni [Mon, 24 May 2010 19:17:55 +0000 (21:17 +0200)]
Update packages to BR2_NEEDS_GETTEXT_IF_LOCALE

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoImprove gettext integration
Thomas Petazzoni [Mon, 24 May 2010 19:17:50 +0000 (21:17 +0200)]
Improve gettext integration

Having a BR2_NEEDS_GETTEXT option, as introduced by
54d64798e1e14b526c3cc1142961972cff9f1e8a isn't sufficient to express
the different kind of dependencies on gettext.

This commit, based on an idea by Peter Korsgaard, introduces two
different options :

 * BR2_NEEDS_GETTEXT, which is true as soon as the toolchain doesn't
   provide gettext itself (i.e, when the toolchain is uClibc based, be
   it an internal or external toolchain)

 * BR2_NEEDS_GETTEXT_IF_LOCALE, which is true when the toolchain
   doesn't provide gettext *and* locale support has been enabled in
   Buildroot.

A following commit adds some documentation that details how these
configuration variables should be used by packages.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agopciutils: fix access to pci.ids and make update-pciids work with busybox wget
Peter Korsgaard [Mon, 24 May 2010 06:22:26 +0000 (08:22 +0200)]
pciutils: fix access to pci.ids and make update-pciids work with busybox wget

Closes #1819

Fix two issues with pciutils:

- pciutils would look in /usr/share/misc for pci.ids, but install it in
  /usr/share. This is because pciutils doesn't use a ./configure script,
  so we have to also provide the configuration (make) arguments when
  we run make install as well. Fix it by making it look into /usr/share
  as that's simpler to do, and is what upstream does.

- the update-pciids script would call wget with the --no-timestamping
  option, which isn't supported by busybox wget. Fix it by simply
  removing that option as it isn't really critical.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agomutt: needs WCHAR support in toolchain
Peter Korsgaard [Sun, 23 May 2010 21:37:16 +0000 (23:37 +0200)]
mutt: needs WCHAR support in toolchain

Contrary to the comment in Config.in, mutt isn't broken when wchar
is enabled - In fact, it doesn't build without it.

Add BR2_USE_WCHAR dependency to make this clear.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoicu: fix build with gcc >= 4.4 / JLEVEL > 1
Peter Korsgaard [Sun, 23 May 2010 21:29:38 +0000 (23:29 +0200)]
icu: fix build with gcc >= 4.4 / JLEVEL > 1

Fix two issues with the icu build:
- icu source contains an #elif without any arguments, which g++ >= 4.4
  flags as an error. This is both an issue for target and host build,
  so restructure the .mk so any *both*patch is applied to both builds
  (the other patches would cause trouble with host builds)
- icu build system isn't parallel make safe, use MAKE1

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agopackage/config: really clean
Yann E. MORIN [Sun, 9 May 2010 13:19:10 +0000 (15:19 +0200)]
package/config: really clean

Signed-off-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agofix device_table.txt path in arm_toolchain_defconfig
cmchao [Fri, 14 May 2010 08:08:05 +0000 (16:08 +0800)]
fix device_table.txt path in arm_toolchain_defconfig

Signed-off-by: Chih-Min Chao <cmchao@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoatngw100_defconfig: update to fix build failure
Bjørn Forsman [Thu, 20 May 2010 16:34:53 +0000 (18:34 +0200)]
atngw100_defconfig: update to fix build failure

atngw100_defconfig: update to fix build failure:

  * The AVR32 toolchain fails to build with the new uClibc version
    0.9.31.x. Use the older uClibc 0.9.30.x branch instead.
  * Disable linux-fusion as it fails to build
    (why was this selected anyway, when DirectFB was not selected?).
  * U-Boot 2010.03 is broken for AVR32. The build fails with:
      zlib.c:31:27: error: asm/unaligned.h: No such file or directory
    Select the older U-Boot 2009.08 version that builds instead.
  * Disable rsync as it fails to build.

Build tested with 'make distclean && make atngw100_defconfig && make'
on an Ubuntu 10.04 x86_64 host.

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agocairo: ps backend needs pdf
Peter Korsgaard [Sat, 22 May 2010 19:55:42 +0000 (21:55 +0200)]
cairo: ps backend needs pdf

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agocdrkit: needs largefile support in toolchain
Peter Korsgaard [Sat, 22 May 2010 19:06:34 +0000 (21:06 +0200)]
cdrkit: needs largefile support in toolchain

At the same time fix indentation in Config.in

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agodependencies: check that . is not in the PATH
Thomas Petazzoni [Fri, 21 May 2010 22:53:08 +0000 (00:53 +0200)]
dependencies: check that . is not in the PATH

Having . in the PATH makes the toolchain build process fail because it
confuses host tools and target tools.

This fixes bug #75.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agodependencies: fix tests on LD_LIBRARY_PATH
Thomas Petazzoni [Fri, 21 May 2010 22:52:22 +0000 (00:52 +0200)]
dependencies: fix tests on LD_LIBRARY_PATH

Things like LD_LIBRARY_PATH=. or even LD_LIBRARY_PATH=.:/usr/lib were
not detected as incorrect.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agosshfs: needs largefile support (because of fuse)
Peter Korsgaard [Fri, 21 May 2010 20:53:39 +0000 (22:53 +0200)]
sshfs: needs largefile support (because of fuse)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoCHANGES: #1729 is now closed (fltk)
Peter Korsgaard [Fri, 21 May 2010 19:11:06 +0000 (21:11 +0200)]
CHANGES: #1729 is now closed (fltk)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'fltk-fix-bug-1729' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Fri, 21 May 2010 19:09:34 +0000 (21:09 +0200)]
Merge branch 'fltk-fix-bug-1729' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agoMerge branch 'website' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Fri, 21 May 2010 19:08:43 +0000 (21:08 +0200)]
Merge branch 'website' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agoavahi: avahi-autopid: make sure TARGET_DIR/var/lib exists
Nick Leverton [Fri, 21 May 2010 19:03:39 +0000 (21:03 +0200)]
avahi: avahi-autopid: make sure TARGET_DIR/var/lib exists

Closes #1801

Signed-off-by: Nick Leverton <nick@leverton.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoCHANGES: update with changes from 2010-05-15-fixes branch
Peter Korsgaard [Fri, 21 May 2010 18:37:51 +0000 (20:37 +0200)]
CHANGES: update with changes from 2010-05-15-fixes branch

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch '2010-05-15-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Fri, 21 May 2010 18:30:28 +0000 (20:30 +0200)]
Merge branch '2010-05-15-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agoMakefile: move filesystem stuff after u-boot build again
Peter Korsgaard [Fri, 21 May 2010 14:19:11 +0000 (16:19 +0200)]
Makefile: move filesystem stuff after u-boot build again

Otherwise u-boot tools / kernel modules are only added to target AFTER
the filesystems are built.

Long term u-boot/kernel stuff should get splitted from target/device,
but this is the safest solution for now.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agofltk: fix build
Thomas Petazzoni [Fri, 21 May 2010 14:11:25 +0000 (16:11 +0200)]
fltk: fix build

The build of fltk was failing due to an issue in the usage of
scandir(). This issue is fixed by a new patch,
fltk-1.1.7-scandir-fix.patch. Moreover, this problem was not
necessarly visible, as the build process of FLTK didn't bail out with
an error when it was failing. This if fixed by
fltk-1.1.7-bail-out-on-error.patch. Finally, there was a problem with
the tests of FLTK, so we disabled them.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoRephrase and extend the documentation page
Thomas Petazzoni [Sun, 16 May 2010 14:31:33 +0000 (16:31 +0200)]
Rephrase and extend the documentation page

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoExtend the introduction page
Thomas Petazzoni [Sun, 16 May 2010 14:31:19 +0000 (16:31 +0200)]
Extend the introduction page

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agopkg-stats: better heuristics
Thomas Petazzoni [Sun, 14 Mar 2010 16:52:32 +0000 (17:52 +0100)]
pkg-stats: better heuristics

Slightly improve the package type detection heuristic, and fix a small
bug about package/multimedia/multimedia.mk exclusion.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoNew graph-depends script
Thomas Petazzoni [Thu, 6 May 2010 08:09:14 +0000 (10:09 +0200)]
New graph-depends script

Add a Python script that draws dependency graphs, either for the full
set of selected packages, or for a particular given package. Of
course, it is limited to packages that use either the generic or
autotools infrastructures. The script generates a file that Graphviz
can parse and generate a PDF (or other formats) from it.

Full dependency graph of all selected packages :

 ./scripts/graph-depends > test.dot
 dot -Tpdf test.dot -o test.pdf

Dependency graph of libgtk2 :

 ./scripts/graph-depends libgtk2 > test.dot
 dot -Tpdf test.dot -o test.pdf

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoAdd a show-targets target
Thomas Petazzoni [Thu, 13 May 2010 17:20:33 +0000 (19:20 +0200)]
Add a show-targets target

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoAdd a <fs>-root-show-depends target
Thomas Petazzoni [Thu, 13 May 2010 17:20:21 +0000 (19:20 +0200)]
Add a <fs>-root-show-depends target

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agopackage: Add new <pkg>-show-depends to list dependencies
Thomas Petazzoni [Thu, 6 May 2010 08:05:43 +0000 (10:05 +0200)]
package: Add new <pkg>-show-depends to list dependencies

The new <pkg>-show-depends simply outputs the list of dependencies for
the given package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoqt: update x86x86fix for 32bit pc hosts
Peter Korsgaard [Fri, 21 May 2010 06:53:34 +0000 (08:53 +0200)]
qt: update x86x86fix for 32bit pc hosts

The recent change to use config.guess to figure out GNU_HOST_NAME
broken the x86x86fix detection for 32bit hosts, as config.guess
returns something like i686-pc-linux-gnu rather than something with
*-unknown-linux-* like we used to use.

Fix it by simply looking for "linux" instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agontp: fix build without ipv6 support
Peter Korsgaard [Thu, 20 May 2010 21:13:01 +0000 (23:13 +0200)]
ntp: fix build without ipv6 support

Closes #1693

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoaumix: SITE has changed
Julien Boibessot [Thu, 20 May 2010 16:03:58 +0000 (18:03 +0200)]
aumix: SITE has changed

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agonetsnmp: disable build with external toolchain
Thomas Petazzoni [Sat, 15 May 2010 18:09:46 +0000 (20:09 +0200)]
netsnmp: disable build with external toolchain

There is a build problem with netsnmp on external toolchain that isn't
easy to fix: libtool strips the --sysroot that we are passing it,
which make the link step fail.

In preparation for the release, just make sure this package isn't
visible to external toolchain users. Of course, on the long run, we
should fix this.

We also disable the build of the Quagga SNMP support because it
selects netsnmp.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agovpnc: pass CFLAGS at link time
Thomas Petazzoni [Sat, 15 May 2010 18:06:27 +0000 (20:06 +0200)]
vpnc: pass CFLAGS at link time

External toolchain builds absolutely require the --sysroot option to
be passed at link time.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agouemacs: don't forget CFLAGS at link time
Thomas Petazzoni [Sat, 15 May 2010 18:05:26 +0000 (20:05 +0200)]
uemacs: don't forget CFLAGS at link time

Without CFLAGS, the build breaks because --sysroot is missing at link
time, and this option is absolutely mandatory for external toolchain
builds.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolvm2: do not override CC and similar variables
Thomas Petazzoni [Sat, 15 May 2010 18:04:02 +0000 (20:04 +0200)]
lvm2: do not override CC and similar variables

Since lvm2 uses autoconf, there's no point in overriding CC and other
variables at build time. This causes build breakage as CFLAGS aren't
used at link time, therefore --sysroot lacks, which breaks the build
with external toolchains.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agomutt: fix build and convert to autotools
Thomas Petazzoni [Sat, 15 May 2010 18:02:28 +0000 (20:02 +0200)]
mutt: fix build and convert to autotools

mutt has been upgraded, but the mutt-1.5.16-makedoc-hostcc.patch
wasn't upgraded accordingly, causing build failures in the
documentation. Therefore, we add a new patch
mutt-1.5.17+20080114-nodoc.patch that disables the construction of the
documentation.

As this patch modifies Makefile.am, we need to autoreconf the
package. The simplest and cleanest way to do this is to convert the
package to the autotools infrastructure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agocairo: remove host variant
Thomas Petazzoni [Sat, 15 May 2010 14:45:54 +0000 (16:45 +0200)]
cairo: remove host variant

Since we no longer need to build pango on the host, cairo on the host
is no longer needed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agopango: run pango-querymodules on the target instead of on the host
Thomas Petazzoni [Sat, 15 May 2010 14:42:23 +0000 (16:42 +0200)]
pango: run pango-querymodules on the target instead of on the host

We needed to build pango for the host in order to compile
pango-querymodules for the host, which was used to produce
/etc/pango/pango.modules. Unfortunately:

 * This produces an incorrect /etc/pango/pango.modules (no modules
   detected in my case), probably because the host pango-querymodules
   was looking at host pango modules

 * This requires to build pango for the host, which requires to build
   cairo for the host, which requires to build X11 for the host.

To make things work and remove the dependency between pango and
host-pango, we introduce a S25pango script that creates
/etc/pango/pango.modules on startup if it doesn't exist, just as we do
with libgtk2 for /etc/gtk-2.0/gdk-pixbuf.loaders.

Since host-pango is no longer needed, we remove all definitions
related to it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agosamba: only require libiconv if !BR2_ENABLE_LOCALE
Thomas Petazzoni [Sat, 15 May 2010 14:42:02 +0000 (16:42 +0200)]
samba: only require libiconv if !BR2_ENABLE_LOCALE

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agontp: fix build failure
Thomas Petazzoni [Sat, 15 May 2010 14:40:07 +0000 (16:40 +0200)]
ntp: fix build failure

This patch adds a patch to NTP to fix the following build failure,
using a workaround patch found on the Fedora bugzilla:

ntp_loopfilter.c: In function 'local_clock':
ntp_loopfilter.c:571: error: 'MOD_NANO' undeclared (first use in this function)
ntp_loopfilter.c:571: error: (Each undeclared identifier is reported only once
ntp_loopfilter.c:571: error: for each function it appears in.)
ntp_loopfilter.c: In function 'loop_config':
ntp_loopfilter.c:896: error: 'MOD_NANO' undeclared (first use in this function)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agostartup-notification: add dependency on xlib_libX11
Thomas Petazzoni [Sat, 15 May 2010 07:34:49 +0000 (09:34 +0200)]
startup-notification: add dependency on xlib_libX11

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolmbench: needs BR2_INET_RPC
Thomas Petazzoni [Sat, 15 May 2010 07:21:50 +0000 (09:21 +0200)]
lmbench: needs BR2_INET_RPC

This package uses several pmap_*() functions in the C library, that
are only available if the C library has RPC support.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoiconv: disallow selection when BR2_ENABLE_LOCALE is enabled
Thomas Petazzoni [Sat, 15 May 2010 07:19:24 +0000 (09:19 +0200)]
iconv: disallow selection when BR2_ENABLE_LOCALE is enabled

A C library compiled with locale support already has an iconv()
implementation. In that case, libiconv is useless. Therefore, disallow
the selection of libiconv when the configuration says that the
toolchain has locale support.

This fixes build issues similar to the one we had with gettext:
libiconv headers are installed, but -liconv is not added because the
./configure script detects that the C library supports iconv.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoexternal toolchain: check BR2_INSTALL_LIBSTDCPP
Thomas Petazzoni [Fri, 14 May 2010 11:24:43 +0000 (13:24 +0200)]
external toolchain: check BR2_INSTALL_LIBSTDCPP

Verify that the value of BR2_INSTALL_LIBSTDCPP set by the user in the
Buildroot configuration really matches the external toolchain
capabilities by checking that a C++ cross-compiler is available.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agogettext: make only available if BR2_NEEDS_GETTEXT is set
Thomas Petazzoni [Fri, 14 May 2010 07:46:21 +0000 (09:46 +0200)]
gettext: make only available if BR2_NEEDS_GETTEXT is set

This allows to make sure that an user, or a randpackageconfig, will
not select the gettext or libintl package when using an external
toolchain based on glibc/eglibc.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoltrace: fix build failure
Thomas Petazzoni [Thu, 13 May 2010 20:41:30 +0000 (22:41 +0200)]
ltrace: fix build failure

ltrace failed to build because of missing arguments to gcc to find the
header files. This is due to the fact that the existing ltrace.mk was
setting CC and LD at build time to incorrect values. Keeping the
values set at configure time is just the right thing to do.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibcgicc: fix package after autotools infrastructure conversion
Thomas Petazzoni [Thu, 13 May 2010 20:40:31 +0000 (22:40 +0200)]
libcgicc: fix package after autotools infrastructure conversion

The patch had an incorrect name, and the libtool patch was applied
while it shouldn't, and the package wasn't autoreconfed while the
patch changes some Makefile.am files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibcap: fix build failure
Thomas Petazzoni [Thu, 13 May 2010 20:30:52 +0000 (22:30 +0200)]
libcap: fix build failure

On a x86-64 host, libcap tried to install things in
$(STAGING_DIR)/lib64 and $(TARGET_DIR)/lib64. Therefore, pass lib= and
prefix=, as required by the strange build system used by libcap.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoMake all package using gettext rely on BR2_NEEDS_GETTEXT
Thomas Petazzoni [Fri, 14 May 2010 07:44:03 +0000 (09:44 +0200)]
Make all package using gettext rely on BR2_NEEDS_GETTEXT

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoAdd a BR2_NEEDS_GETTEXT option
Thomas Petazzoni [Thu, 13 May 2010 20:21:08 +0000 (22:21 +0200)]
Add a BR2_NEEDS_GETTEXT option

When using an external toolchain that uses the glibc or eglibc C
libraries, compiling a separate gettext and libintl is not needed and
is even a source of confusion, causing build failures. These build
failures are due to the fact that when libintl is compiled, it
replaces the C library libintl.h by its own, which does #define
gettext libintl_gettext. Then, when packages want to use gettext,
autoconf realize that gettext is available in the C library and
therefore do not add -lintl to the LDFLAGS, causing the build failure
because the program has been compiled to use libintl_gettext but this
function is not available.

Therefore, we should only use gettext if a uClibc internal toolchain
or a uClibc external toolchain. If an external glibc toolchain is
used, gettext shouldn't be used.

In order to implement that, we introduce the BR2_NEEDS_GETTEXT option,
which is hidden to the user, and whose value is computed automatically
from the rest of the configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agomtd-utils: buildsystem is broken with parallel make (regarding libubi)
Peter Korsgaard [Wed, 19 May 2010 21:11:57 +0000 (23:11 +0200)]
mtd-utils: buildsystem is broken with parallel make (regarding libubi)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoavahi: fix build on uclibc 0.9.31 without ipv6 support
Peter Korsgaard [Tue, 18 May 2010 08:41:38 +0000 (10:41 +0200)]
avahi: fix build on uclibc 0.9.31 without ipv6 support

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoConfig: terminate version number string
Peter Korsgaard [Mon, 17 May 2010 07:34:47 +0000 (09:34 +0200)]
Config: terminate version number string

Reported-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotarget/linux: bump 2.6.32 and 2.6.33 versions
H Hartley Sweeten [Thu, 13 May 2010 01:01:27 +0000 (20:01 -0500)]
target/linux: bump 2.6.32 and 2.6.33 versions

New versions of the 2.6.32 and 2.6.33 kernel were released today
and it is suggested that all users should upgrade.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agobusybox: 1.16.1 fixes for dhcpd and sed
Peter Korsgaard [Sun, 16 May 2010 20:29:41 +0000 (22:29 +0200)]
busybox: 1.16.1 fixes for dhcpd and sed

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agokernel-headers: bump 2.6.32.x / 2.6.33.x stable versions
Peter Korsgaard [Sun, 16 May 2010 20:22:08 +0000 (22:22 +0200)]
kernel-headers: bump 2.6.32.x / 2.6.33.x stable versions

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoConfig.in: past 2010.05-rc2
Peter Korsgaard [Sun, 16 May 2010 20:20:54 +0000 (22:20 +0200)]
Config.in: past 2010.05-rc2

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoupdate for 2010.05-rc2
Peter Korsgaard [Tue, 11 May 2010 19:15:07 +0000 (21:15 +0200)]
update for 2010.05-rc2

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