Commit Graph

4498 Commits

Author SHA1 Message Date
Peter Korsgaard
2f9784f396 gob2: workaround configure misdetecting library needed for flex
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-27 00:44:28 +02:00
Peter Korsgaard
e13ac0ec87 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>
2010-05-26 23:50:11 +02:00
Peter Korsgaard
50685f1ce3 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>
2010-05-26 23:19:44 +02:00
Peter Korsgaard
9d07fcd08e 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>
2010-05-26 23:00:18 +02:00
Peter Korsgaard
0346e90a8b 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>
2010-05-26 22:48:01 +02:00
Peter Korsgaard
ec1bd9900a squashfs,squashfs3: needs LARGEFILE support in toolchain
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-26 22:17:52 +02:00
Peter Korsgaard
2f2a029457 olsr: needs IPv6 support in toolchain
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-26 14:14:39 +02:00
Peter Korsgaard
84b96ac17a ntfsprogs: needs largefile support in toolchain
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-26 14:11:31 +02:00
Peter Korsgaard
e155ef3cab 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>
2010-05-26 13:52:26 +02:00
Peter Korsgaard
d3f8ad14b5 mtd-utils: recv_image needs IPv6 support in toolchain
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-26 13:42:21 +02:00
Peter Korsgaard
883e6043dc lmbench: indentation in Config.in should be done using <tab>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-26 13:33:41 +02:00
Peter Korsgaard
d355281d15 lsof: needs RPC support in toolchain
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-26 13:33:06 +02:00
Peter Korsgaard
a7ebf231b4 qt: powerpc config is now called powerpc, not ppc
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-26 09:38:41 +02:00
Peter Korsgaard
994bb070c9 bmon: needs ipv6 support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-26 08:59:46 +02:00
Peter Korsgaard
b730010c90 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>
2010-05-25 23:38:44 +02:00
Peter Korsgaard
0f4d293c30 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>
2010-05-25 23:25:37 +02:00
Peter Korsgaard
4059a814bb 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>
2010-05-25 22:54:42 +02:00
Peter Korsgaard
d874b08abc 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>
2010-05-25 22:50:40 +02:00
Peter Korsgaard
9bf3f6d913 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>
2010-05-25 22:42:14 +02:00
Peter Korsgaard
ab607f658e enchant: add comment about needing C++ support in toolchain
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-25 22:10:47 +02:00
Thomas Petazzoni
dbdb4e33f0 Update packages to BR2_NEEDS_GETTEXT_IF_LOCALE
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-24 22:33:06 +02:00
Peter Korsgaard
096b21e552 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>
2010-05-24 08:22:26 +02:00
Peter Korsgaard
78cff154ea 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>
2010-05-23 23:37:16 +02:00
Peter Korsgaard
da86b5acee 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>
2010-05-23 23:32:49 +02:00
Yann E. MORIN
6bd9ca56d9 package/config: really clean
Signed-off-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-22 22:11:19 +02:00
Peter Korsgaard
1a85944235 cairo: ps backend needs pdf
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-22 21:55:42 +02:00
Peter Korsgaard
f58b8cdef4 cdrkit: needs largefile support in toolchain
At the same time fix indentation in Config.in

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-22 21:06:34 +02:00
Peter Korsgaard
51861e1ba1 sshfs: needs largefile support (because of fuse)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-21 22:53:39 +02:00
Peter Korsgaard
73d2cbbd1b Merge branch 'fltk-fix-bug-1729' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-05-21 21:09:34 +02:00
Nick Leverton
7810eebb73 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>
2010-05-21 21:03:39 +02:00
Peter Korsgaard
c89b725978 Merge branch '2010-05-15-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-05-21 20:30:28 +02:00
Thomas Petazzoni
584921cb87 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>
2010-05-21 16:14:17 +02:00
Thomas Petazzoni
118b880d73 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>
2010-05-21 15:07:33 +02:00
Peter Korsgaard
bb81787ae1 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>
2010-05-21 08:53:34 +02:00
Peter Korsgaard
484d15dea6 ntp: fix build without ipv6 support
Closes #1693

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-20 23:13:34 +02:00
Julien Boibessot
c36e3f3896 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>
2010-05-20 22:41:15 +02:00
Thomas Petazzoni
52e600ebec 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>
2010-05-20 22:34:30 +02:00
Thomas Petazzoni
56407a4efa 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>
2010-05-20 22:34:30 +02:00
Thomas Petazzoni
d30649ada0 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>
2010-05-20 22:34:30 +02:00
Thomas Petazzoni
0c44617e7f 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>
2010-05-20 22:34:29 +02:00
Thomas Petazzoni
47a7c75bfb 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>
2010-05-20 22:34:29 +02:00
Thomas Petazzoni
7b38fc20ba 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>
2010-05-20 22:34:29 +02:00
Thomas Petazzoni
832ce382c6 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>
2010-05-20 22:34:29 +02:00
Thomas Petazzoni
0317b30912 samba: only require libiconv if !BR2_ENABLE_LOCALE
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:29 +02:00
Thomas Petazzoni
a4051d9db8 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>
2010-05-20 22:34:29 +02:00
Thomas Petazzoni
362791a7c1 startup-notification: add dependency on xlib_libX11
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:28 +02:00
Thomas Petazzoni
9923439841 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>
2010-05-20 22:34:28 +02:00
Thomas Petazzoni
2fae26486f 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>
2010-05-20 22:34:28 +02:00
Thomas Petazzoni
407616f690 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>
2010-05-20 22:34:27 +02:00
Thomas Petazzoni
728e43534d 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>
2010-05-20 22:34:27 +02:00
Thomas Petazzoni
bdc9c05f44 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>
2010-05-20 22:34:27 +02:00
Thomas Petazzoni
485ba35032 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>
2010-05-20 22:34:27 +02:00
Thomas Petazzoni
542fbe8520 Make all package using gettext rely on BR2_NEEDS_GETTEXT
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:27 +02:00
Peter Korsgaard
f3122259e2 mtd-utils: buildsystem is broken with parallel make (regarding libubi)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-19 23:11:57 +02:00
Peter Korsgaard
8272501ea0 avahi: fix build on uclibc 0.9.31 without ipv6 support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-18 10:42:13 +02:00
Peter Korsgaard
7bb2b4826e busybox: 1.16.1 fixes for dhcpd and sed
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-16 22:29:41 +02:00
Peter Korsgaard
77e2dfffae Merge branch 'build-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-05-11 09:10:43 +02:00
Thomas Petazzoni
c488481e9c libnl: include limits.h to fix build failure
Fixes the ULONG_MAX definition problem:

In file included from cache.c:43:
../include/netlink-local.h: In function '__str2type':../include/netlink-local.h:218: error: 'ULONG_MAX' undeclared (first use in this function)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11 09:02:07 +02:00
Thomas Petazzoni
c554cc2a2e netplug: disable -Werror to fix build failure
netplug uses nested functions, and gcc generates a warning that
is turned into an error:

cc1: warnings being treated as errors
if_info.c: In function 'ifsm_scriptdone':
if_info.c:289: error: generating trampoline in object (requires executable stack)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11 08:59:02 +02:00
Thomas Petazzoni
5b9384337a less: depends on curses
The less package already selects BR2_PACKAGE_CURSES, but it fails to
depend on it in the makefile. Therefore, there are cases where less
gets built before curses, and the build fails:

checking for working terminal libraries... Cannot find terminal libraries - configure failed

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11 08:57:49 +02:00
Thomas Petazzoni
de73cdf478 hostapd: use internal crypto library
When OpenSSL is not enabled, hostapd relies on an internal
library. However, this library must be enabled, otherwise the
compilation of hostapd fails with:

/home/test/ctng-arm-eglibc/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.3.4/../../../../arm-unknown-linux-gnueabi/bin/ld: cannot find -ltommath

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11 08:57:09 +02:00
Paul Jones
18f72f9730 xvkbd: bump version
And fix dependencies while we're at it.

Signed-off-by: Paul Jones <paul@pauljones.id.au>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11 08:53:32 +02:00
Thomas Petazzoni
ba9a902bf8 shared-mime-info: missing dependency on host-intltool
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-10 23:43:05 +02:00
Thomas Petazzoni
bb39f18905 ltp-testsuite: mark as broken
The install step, done with fakeroot, tries to install things in /opt:

make[2]: Entering directory `/home/test/buildroot/output.ctng-arm-eglibc-2010-05-07-19-39-56/target/root/ltp-full-20090630/lib'
install -D -m 644 libltp.a //opt/ltp/lib/libltp.a
install: cannot create directory //opt/ltp: Permission denied
make[2]: *** [install] Error 1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-10 23:43:04 +02:00
Thomas Petazzoni
844bbbb3fd sed: bump to 4.2.1 to fix build failure
Version 4.1.5 fails to build due to the infamous getline() conflict
issue. 4.2.1 doesn't have this problem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-10 23:43:04 +02:00
Thomas Petazzoni
aa3439e6a3 vlc: mark as broken
Before 2010.02, VLC didn't build, because it didn't pass the
appropriate --disable- options according to the libraries available in
Buildroot. Now, 2010.05 is going to be released, and no one bothered
to fix VLC. Therefore, let's mark VLC as broken.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-10 23:43:02 +02:00
Thomas Petazzoni
6040190e92 linux-fusion: add dependency on !BR2_KERNEL_none
linux-fusion is composed of a kernel module, and linux-fusion.mk uses
several variable definitions that only exist when Buildroot compiles a
kernel.

We also add the same dependency to BR2_PACKAGE_DIRECTFB_MULTI, which
relies on linux-fusion.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-10 23:41:51 +02:00
Peter Korsgaard
45ca86d4e9 libxcb: relax host-python regexp
Some python versions print x.y rather than x.y.z as version number, so
make regexp more robust.

Reported-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-10 22:18:44 +02:00
Peter Korsgaard
13de2613a3 package/games/vice: remove
Has been marked broken since Nov 2009, so removing as announced.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-10 22:07:37 +02:00
Thomas Petazzoni
8b47ede9e6 libgcrypt: specify where gpg-error-config is
libgcrypt depends on libgpg-error, but it needs to know where the
gpg-error-config utility is.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-09 23:25:07 +02:00
Thomas Petazzoni
f5ff8cdc62 hal: add dependency on host-libxml-parser-perl
hal integrates its own version of intltool tools, but they require
libxml-parser-perl to be installed on the host.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-09 23:25:07 +02:00
Thomas Petazzoni
e627989ad8 gawk: remove CC override
For some unknown reason, gawk.mk was overriding CC to $(TARGET_CC) at
build time, while it had already been set at configure time to
"$(TARGET_CC) $(TARGET_CFLAGS)" which is already the good value.

Setting it to just $(TARGET_CC) breaks the compilation with external
toolchains because we must pass the --sysroot option. But anyway, this
was incorrect as we were loosing some CFLAGS set by Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-09 23:25:07 +02:00
Thomas Petazzoni
6bd1a449d6 gnuchess: add a patch to fix getline() conflict
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-09 23:25:07 +02:00
Thomas Petazzoni
fcdc9f891d php: make sure either CLI or CGI is selected
When neither CLI nor CGI is selected, PHP's configure script fails
with:

checking whether to build CGI binary... configure: error: No SAPIs selected.

Of couse, the help text of the options says that at least one of them
should be selected, but when doing testing with randpackageconfig,
noone is reading these help texts.

Therefore, based on the suggestion of Yann E. Morin, modify the
Config.in organization so that at least one of the option is selected.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-09 23:25:06 +02:00
Peter Korsgaard
af850ce10f Merge branch 'squashfs-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-05-08 16:11:20 +02:00
Peter Korsgaard
0d6068ae01 Merge branch 'misc-fixes2' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-05-08 00:09:11 +02:00
Peter Korsgaard
2f81dd315f Merge branch 'misc-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-05-08 00:03:49 +02:00
Gustavo Zacarias
6f4939d4c5 hostapd: Fix build with external toolchain
Closes #1717

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-08 00:02:24 +02:00
Thomas Petazzoni
f6c18b97ca squashfs3: fix build when zlib isn't available on the host
We need to pass CFLAGS and LDFLAGS, and to rename the patch so that it
actually gets applied.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-07 21:32:02 +02:00
Thomas Petazzoni
d5a1757565 squashfs: fix build when zlib isn't available on the host
Pass CFLAGS and LDFLAGS so that when building squashfs, it finds the
zlib installed in $(HOST_DIR).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-07 21:32:02 +02:00
Thomas Petazzoni
e3963e90cc xlib_libX11: re-add a patch to fix the keysymdef issue
When xlib_libX11 was bumped to 1.3.2 in commit
1d956c9190, the keysymdef patch was
dropped. However, this patch is still needed in order to be able to
tell ./configure where the keysymdef header file is installed.

The patch has been updated for 1.3.2.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-07 21:28:59 +02:00
Thomas Petazzoni
4880edd506 libxcb: fix path to Python modules
When building libxcb, the variable XCBPROTO_XCBPYTHONDIR must point to
the location where the Python modules needed to run the c_client.py
program are installed. The path
$(STAGING_DIR)/usr/lib/python2.6/site-packages was hardcoded. However,
it doesn't work when the version of Python installed on the host is
Python 2.5.

Therefore, add a little bit of magic to compute the host Python
version.

We also verify that Python is available on the host, as we don't build
it in Buildroot.

Fixes bug #1531.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-07 21:28:33 +02:00
Thomas Petazzoni
b65e735291 busybox: disable MTD utils in default configuration
The MTD utils require MTD headers in the toolchain, and in several
external toolchains, they are not present. In order to make the build
work by default, let's disable the MTD Busybox applets in our default
configuration.

Fixes bug #1669

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-07 21:27:24 +02:00
Luca Ceresoli
ea0695ff5e customize: fix copy paths
Closes #849, #1135

customize.mk used to copy files with a wrong command, resulting in one
directory level in excess. For example, source/etc/myfile would have
produced /etc/etc/myfile in the target filesystem instead of /etc/myfile.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-06 23:27:58 +02:00
Gustavo Zacarias
34d7dc874a wpa_supplicant: Fix build with external toolchain
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-06 23:12:30 +02:00
Thomas Petazzoni
5e1fbd2c33 Fix the computation of REAL_GNU_TARGET_NAME
When the selected C library is glibc, the C library shouldn't be
mentionned in REAL_GNU_TARGET_NAME. In other words:

 arm-unknown-linux-uclibcgnueabi must be used for uClibc
 arm-unknown-linux-gnueabi must be used for glibc

This fixes the build of GDB on the target, as reported by Quotient
Remainder <quotientvremainder@gmail.com>.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-06 23:08:37 +02:00
Gustavo Zacarias
a5fe7371b2 pciutils: Fix cross compiling
Closes #1705

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-06 23:07:21 +02:00
Gustavo Zacarias
dfb503937d usbutils: fix recursive LIBUSB Kconfig issue and bump to 0.87
Closes #1699

[Peter: Use BR2_KERNEL_MIRROR]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-06 23:03:18 +02:00
Peter Korsgaard
137a6ccf5a package/sed: make HOST_SED_BINARY a simply expanded variable (:=)
HOST_SED_BINARY is used 2 times during startup, and is relatively
expensive to run, so make it a simple expanded variable (:=) rather
than a recursively expanded one (=).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-06 21:17:01 +02:00
Peter Korsgaard
6947eabea1 boa: use BOA_VERSION instead of spawning a shell/basename for build dir
And as it is a recursive variable, this is done twice during startup.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-06 21:10:42 +02:00
Peter Korsgaard
4efdd9f3d9 Makefile.package.in: optimize UPPERCASE macro
As noticed by Thomas, we call the UPPERCASE macro a lot, and it slows down
startup quite a bit.

Optimize it by implementing it in make, rather than forking a shell + tr.
The implementation is heavily based on the 'up' macro from gmsl
(http://gmsl.sf.net)

With this in place, startup time is ~5 times lower.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-06 20:56:18 +02:00
Thomas Petazzoni
803967499f xfonts: fix dependencies and build process
Instead of assuming that mkfontdir and mkfontscale are available on
the development system, use the one installed in $(HOST_DIR).

The FCCACHE variable is removed, because, for some reason, the
installation process of xfonts disables the call to fc-cache when a
DESTDIR is passed. See the definition of XORG_FONT_FCCACHE in
aclocal.m4 in font packages:

AC_DEFUN([XORG_FONT_FCCACHE],[
        AC_PATH_PROG(FCCACHE, fc-cache)
        FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"'
        if test x"$FCCACHE" = x ; then
                RUN_FCCACHE="${FCCACHE_WARN}"
        else
                RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else'
                RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)"
        fi
        AC_SUBST([RUN_FCCACHE])
])

In addition to this, we update the font dependencies to include
font-utils for the host, mkfontdir for the host, mkfontscale for the
host and bdftopcf for the host.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-06 20:18:42 +02:00
Thomas Petazzoni
3be79ce2a5 xapp_mkfontdir: enable for the host
When compiling xfonts, mkfontdir is needed for the host, therefore,
enable it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-06 20:18:42 +02:00
Thomas Petazzoni
a10439d3cd Enable xapp_bdftopcf dependencies for the host
Now that xapp_bdftopcf is enabled on the host, we also need its
dependencies to be available for the host. The dependency of
host-xapp_bdftopcf is host-xlib_libXfont, which itself depends on a
bunch of other packages. Some of them were already available for the
host, some not (xfont_encodings, xlib_xtrans, xproto_fontcacheproto,
xproto_fontsproto) and are therefore added by this patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-06 20:18:42 +02:00
Thomas Petazzoni
34fec71532 xapp_bdftopcf: enable for the host
Compiling xfonts require having bdftopcf installed on the
host. Therefore, enable host support for this package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-06 20:18:41 +02:00
Thomas Petazzoni
4a57f7d261 xfont_font-util: enable host package
When compiling xfonts, host utilities like bdftopcf or ucs2any, part
of xfont_font-util are needed. Until now, xfont_font-util was
installing ugly symbolic links, assuming that these tools were
available on the development machine.

This patch enables the host package for xfont_font-util, removes the
post-install.sh script, and keeps only the useful part of this script
in a post install hook.

host-xfont_font-util will be used later by xfont packages.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-06 20:18:41 +02:00
Thomas Petazzoni
2eb4b09529 Add staging libraries directories to -L in external case
In order to solve issues of libtool trying to link target components
against host libraries, it seems that specifying -L$(STAGING_DIR)/lib
and -L$(STAGING_DIR)/usr/lib works.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-06 20:18:41 +02:00
Thomas Petazzoni
6b939d40f6 Add -rpath option for host package compilation
In c1b6242fdc, we added
$(HOST_DIR)/usr/lib to LD_LIBRARY_PATH when building target packages,
because the build of target packages sometimes require host tools
installed in $(HOST_DIR)/usr/bin which themselves require host
libaries installed in $(HOST_DIR)/usr/lib.

Unfortunately, this solution didn't work, as libtool then tried to
link target binaries against host libraries. So $(HOST_DIR)/usr/lib
got removed from LD_LIBRARY_PATH in
0d1830b07d.

However, this meant that we went back to the previous situation, in
which host tools used during compilation of target components might
require host libraries. An example :

make[2]: Entering directory `/home/test/buildroot/output.ctng-arm-eglibc-2010-05-04-12-41-00/build/xfont_font-adobe-100dpi-1.0.1'
/home/test/buildroot/output.ctng-arm-eglibc-2010-05-04-12-41-00/host/usr/bin/mkfontdir /home/test/buildroot/output.ctng-arm-eglibc-2010-05-04-12-41-00/target/usr/share/fonts/X11/100dpi
/home/test/buildroot/output.ctng-arm-eglibc-2010-05-04-12-41-00/host/usr/bin/mkfontscale: error while loading shared libraries: libfontenc.so.1: cannot open shared object file: No such file or directory

Therefore, we try another solution: make sure that host binaries are
linked with an -rpath option, so that $(HOST_DIR)/usr/lib doesn't need
to be in LD_LIBRARY_PATH for them to find their libraries.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-06 20:17:38 +02:00
Paulius Zaleckas
d701a82321 Remove gtk-doc documentations from target
On my target rootfs it is installed documentation for:
atk, cairo, gdk, gdk-pixbuf, gio, glib, gobject, gtk, pango

It ocupies 34M of space. Configure option --disable-gtk-doc doesn't
prevent installation of it. So we should remove them manually if
documentation is disabled.

[Peter: also remove manual rm's from hal/libxml2/libglade]
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-05 12:21:21 +02:00
Peter Korsgaard
79db1ff5ac hal: cleanup package
Closes #1525

Kconfig selects are not recursive, so ensure we select the dependencies
of our dependencies as well.

Cleanup target installation:
- Remove tasks handled by the generic post-build cleanup
- Hal doesn't install etc/rc.d, so don't try to delete it

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-04 23:11:20 +02:00
Peter Korsgaard
32ed970075 mplayer: disable parallel builds (make -jX)
The build system races with itself when building the internal vidix stuff
(x86 only), so use MAKE1.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-04 22:48:16 +02:00
Gustavo Zacarias
63b8666409 usb_modeswitch: Bump to version 1.1.2
And correct kconfig dependency.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-04 21:47:17 +02:00
Peter Korsgaard
23ff3c2786 mplayer: internal copies of libdvdread/libdvdcss require largefile support
So disable when we don't have largefile support in toolchain.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-04 21:38:14 +02:00
Paulius Zaleckas
ca218debd5 X11 OpenChrome driver depends on libxcomposite
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03 20:13:14 +02:00
Peter Korsgaard
2a2403af1d bzip2: fixup build after ea448fe (convert to gentargets, add host package, bump version)
Fix a few typos/mistakes introduced in commit ea448fe:

- bzip2 soname is not the same as package version
- It is PKG_INSTALL_STAGING, not PKG_STAGING_INSTALL
- Typo: BZIP2_INSTALL_TARGET_CMDS, not B2IP_INSTALL_TARGET_CMDS

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03 15:07:05 +02:00
Lionel Landwerlin
0d1830b07d package: Add $(HOST_DIR)/usr/lib to LD_LIBRARY_PATH for host but not target
Some packages like icu requires to be compiled against the host system
first to be able to compile against the target. This is due to the
usage of self generated binaries by the package to build itself. When
the generated tools also depends on generated libraries it is required
to add the path to these libraries in the library path
(LD_LIBRARY_PATH) especially for the configure step.

Adding $(HOST_DIR)/usr/lib to LD_LIBRARY_PATH for target compilation
might break the link step by mixing host libraries and target
binaries.

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03 13:37:11 +02:00
Lionel Landwerlin
3bb02f5ba5 ncurses: fix path to patch ncurses5-config
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03 10:06:34 +02:00
Lionel Landwerlin
79832827f3 linux-fusion: bump to 8.1.1
Also convert to generic package infrastructure

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03 09:33:24 +02:00
Lionel Landwerlin
58633266d5 directfb: added directfb tests installation option
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03 09:26:37 +02:00
Lionel Landwerlin
38b915c185 directfb: bump to 1.4.3
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03 09:26:10 +02:00
Lionel Landwerlin
92d69b9713 ncurses: convert to autotools infrastructure
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03 08:44:36 +02:00
Thomas Petazzoni
ec5d2bb41b autoconf: Unverbosify autoreconf output
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03 00:00:10 +02:00
Thomas Petazzoni
1534274047 Fix autotools configuration cache handling
It got broken by the introduction of the new autotools infrastructure
based on the generic infrastructure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03 00:00:09 +02:00
Thomas Petazzoni
65e80a0b0b Remove BR2_GNU_TARGET_SUFFIX and compute GNU_TARGET_NAME
Instead of asking the user about the GNU target suffix, just compute
it automatically from the other configuration options.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03 00:00:08 +02:00
Thomas Petazzoni
d70a3800b2 Get rid of the code computing ROOTFS_SUFFIX
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03 00:00:07 +02:00
Thomas Petazzoni
bf75987424 Get rid of KERNEL_CROSS
In both internal and external toolchain cases, KERNEL_CROSS was
defined to *exactly* the same value as TARGET_CROSS. It isn't modified
anywhere, and is just used by kernel compilation and pcmcia
compilation.

Therefore, get rid of KERNEL_CROSS and use TARGET_CROSS instead.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03 00:00:06 +02:00
Thomas Petazzoni
4c5bf461cd Commonalize the definition of TOOLCHAIN_DIR
The definition of TOOLCHAIN_DIR is the same regardless of whether
external or internal toolchains are used. Moreover, move its
definition together with all the other *_DIR definitions.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03 00:00:05 +02:00
Thomas Petazzoni
87d0af93d4 autotools: fix referencing to LIBTOOL_PATCH variable
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02 23:26:31 +02:00
Thomas Petazzoni
593c18c0bb packages: remove useless HOST_*_LIBTOOL_PATCH
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02 23:26:27 +02:00
Thomas Petazzoni
d2c73f5cf9 autotools: inherit LIBTOOL_PATCH for host packages
When FOO_LIBTOOL_PATCH is defined, assume that the same value should
be used for HOST_FOO_LIBTOOL_PATCH.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02 23:26:22 +02:00
Thomas Petazzoni
c9a06efff3 openssl: convert to the generic infrastructure
OpenSSL is not using the autotools as its build system. Therefore, we
must use the generic infrastructure instead of the autotools one.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02 23:26:11 +02:00
Thomas Petazzoni
6af9c84a51 libxslt: fix host compilation
Do not build against libgcrypt on the host, since we don't build
libgcrypt ourself, and it might fail even when libgcrypt is installed
on the host:

...configure...
checking for libgcrypt-config... /usr/bin/libgcrypt-config
Crypto extensions will be available.

...build...
gcc: /usr/lib/libgcrypt.so: No such file or directory

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02 23:25:15 +02:00
Thomas Petazzoni
7dfa3b3fb4 autotools: fix autoreconf check
The autoreconf check was incorrect, missing a $ sign to properly
reference a package-specific variable. There was no visible effect
until now since :

 * The existing syntax allowed to access the value defined in the
   package specific .mk file, so when AUTORECONF was set to YES by a
   package, it was working.

 * The default value in Makefile.autotools.in was NO. In fact, when a
   package .mkf file wasn't defining the AUTORECONF variable, the
   Makefile.autotools.in test was testing the empty string against
   'YES', which was false, leading to the AUTORECONF not being done,
   which was the desired effect.

However, in a later patch, we intend to change this default value.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02 23:24:21 +02:00
Peter Korsgaard
8471827f32 lua: fix pkgconfig installation
install -D needs the destination filename, not just it's directory,
otherwise we end up with a pkgconfig file instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02 23:22:45 +02:00
Lionel Landwerlin
9b24af3820 autoconf: add AUTOCONF variable setting
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02 09:41:29 +02:00
Lionel Landwerlin
a6304a23a9 autoconf: add missing AUTOMAKE variable setting
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02 09:40:49 +02:00
Lionel Landwerlin
e411497c3a autoconf: add AUTOHEADER variable
autoheader is used by autoreconf, therefor we need to give the right
path to this tools for host/target autoreconfiguration.

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02 09:37:15 +02:00
Lionel Landwerlin
21a74f1462 libtool: added LIBTOOLIZE variable to point on $(HOST_DIR)/usr/bin/libtoolize
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02 09:33:59 +02:00
Lionel Landwerlin
e8b469b81f package: Force copy of .la files at the post install hook (readonly files might be problematic)
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02 09:32:14 +02:00
Lionel Landwerlin
1b41e32feb package: add PKG_CONF_ENV variables to host packages
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02 09:31:15 +02:00
Luca Ceresoli
ec45e2bad4 tslib: fix plugin linking
Fixes error: "Couldnt load module pthres" and similar.

Original patch: svn://svn.berlios.de/tslib/trunk@56.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-01 22:55:23 +02:00
Gustavo Zacarias
bb73ce2222 haserl: Add lua option
Closes #719

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-01 22:36:02 +02:00
Gustavo Zacarias
46913a2d4f lua: Migrate to gentargets and improve it
Closes #803

Based on initial patch by rvpaasen@t3i.nl

[Peter: lua/luac needs liblua.so.* on target]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-01 22:31:07 +02:00
Darius Augulis
494149b989 Make Mesa3D optional for X11
[Peter: XF86DRIPROTO should only be selected if mesa is enabled]
Signed-off-by: Darius Augulis <augulis.darius@gmail.com>
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-01 22:19:26 +02:00
Darius Augulis
20c59892f9 xda_xcursor-themes: depends on libXcursor
While at it convert spaces to TABs

Signed-off-by: Darius Augulis <augulis.darius@gmail.com>
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-01 22:15:13 +02:00
Paulius Zaleckas
f421f557f5 xlib_libXtst: depends on libXi
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-01 22:13:33 +02:00
Darius Augulis
b64a031bad Fix build of matchbox-keyboard and matchbox-wm
These packages have buggy configure script. It adds -L/lib flag
for linker and thus wrong libraries are linked in.
Workaround this issue by setting expat=yes in configure
environment.

Signed-off-by: Darius Augulis <augulis.darius@gmail.com>
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-01 22:11:41 +02:00
Peter Korsgaard
7548e5a707 busybox: 1.16.1 fixes for ash and cpio
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-01 21:19:19 +02:00
Grant Edwards
532e1fb5d3 busybox: pass EXTRA_LDFLAGS for external toolchains
Closes #1321

[Peter: Rework patch to make it apply to git]
Signed-off-by: Grant Edwards <grant.b.edwards@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-01 20:57:28 +02:00
Gustavo Zacarias
558861639c eeprog: Convert to gentargets
Closes #1615

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-01 15:09:18 +02:00
Gustavo Zacarias
554ef43a9c hostapd: Bump to 0.7.2
Closes #1645

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-30 16:16:38 +02:00
Peter Korsgaard
671ec3917b alsa-utils: alsamixer needs WCHAR
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-26 23:01:14 +02:00
Peter Korsgaard
5ad2672470 alsa-utils: fix usr/share/alsa installation to target
Closes #1573

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-26 22:58:25 +02:00
Peter Korsgaard
e0db53202c package: get rid of editors subdir
Not much point in a seperate subdir for only four packages.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-26 22:03:37 +02:00
Peter Korsgaard
187f0a5532 package: get rid of database subdir
Not much point in a seperate subdir for only two packages.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-26 21:57:11 +02:00
Peter Korsgaard
28200ca3f2 cairo: get rid of old patches
Haven't been touches for more than 2 years, so lets get rid of them.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-26 21:52:50 +02:00
Peter Korsgaard
3eb9262c84 libgtk2: get rid of old patches
Haven't been touches for more than 2 years, so lets get rid of them.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-26 21:46:48 +02:00
Gustavo Zacarias
ba9ed13708 samba: bump version
Closes #1561

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-26 21:44:31 +02:00
Luca Ceresoli
532d36fa15 tslib: fix use of open()
Fixes error: "open with O_CREAT in second argument needs 3 arguments".

Original patch: svn://svn.berlios.de/tslib/trunk/tslib r72.

[Peter: pull original patch for proper attribution]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-23 11:00:55 +02:00
Will Wagner
3aed796e78 X11R7.5 - remove all version information from Config.in files
As discussed on the list, don't want to have to change the Config.in
file when we bump the version of a package

Signed-off-by: Will Wagner <will_wagner@carallon.com>
Acked-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-22 12:26:54 +02:00
Will Wagner
e5b948a54e libXaw: do not build docs (fails if missing host tools), also cleanup makefile
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Acked-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-22 12:26:48 +02:00
Will Wagner
84e5d7c772 Remove XEvIE (app & proto) as removed from X11R7.5
[Peter: remove select from xserver Config.in]
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Acked-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-22 12:26:43 +02:00
Will Wagner
fca42cd645 Remove XFree86-Misc (lib & proto) as removed from X11R7.5
[Peter: also remove selects from affected Config.in's]
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Acked-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-22 12:26:38 +02:00
Will Wagner
9638be1acf Remove XTrap (app, lib & proto) as removed from X11R7.5
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Acked-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-22 12:26:32 +02:00
Will Wagner
09729b5e63 xserver_xorg-server: bump version, improve option support
Later version of xserver no longer need configure hack to say where
mesa3d is located.

Signed-off-by: Will Wagner <will_wagner@carallon.com>
Acked-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-22 12:26:09 +02:00
Paulius Zaleckas
ab0a176feb usbutils need libusb-compat
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-21 16:02:29 +02:00
Peter Korsgaard
fd3194a1c6 Merge branch 'codesourcery-toolchain-support' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-04-21 10:40:30 +02:00
Peter Korsgaard
f935368cc0 busybox: add 1.16.1 sed fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-20 20:15:33 +02:00
Peter Korsgaard
b0432db697 busybox: get rid of unused initramfs.mk file
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-20 13:20:56 +02:00
Peter Korsgaard
a726691a00 Merge branch 'makedevs-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-04-19 23:28:26 +02:00
Michael Roth
d496bc1f28 mtd: Add missing 'mtdinfo'
Commit 9277cb760a added support
for mtdinfo to mtd.mk but missed corresponding Config.in stuff.

Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-19 23:24:57 +02:00
Thomas Petazzoni
81cd9d45ff makedevs: convert to a more normal way of building packages
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-19 22:46:39 +02:00
Thomas Petazzoni
5faae48690 makedevs: move to package/
Since target/ doesn't contain any .mk file in subdirectories, also
remove the include in target/Makefile.in.
2010-04-19 22:46:37 +02:00
Peter Korsgaard
7b3a6f0aab python: needs WCHAR support in toolchain
And hence, portage needs it as well.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-19 14:38:45 +02:00
Thomas Petazzoni
e5da1b8520 cramfs: fix installation
The installation procedure of cramfs was broken when
$(HOST_DIR)/usr/bin didn't exist (i.e, cramfsck was installed as
$(HOST_DIR)/usr/bin directly). Use install -D with a proper
destination argument to make it work.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-17 04:36:22 +02:00
Thomas Petazzoni
55098e5048 busybox: make sure architecture flags are used at link time
When compiling Busybox, according to readelf -A, all object files were
properly compiled according to the select architecture (-march=armv4t
for example), but the final busybox binary could be of a different
architecture (ARMv5t even if ARMv4t was selected).

This patch changes the way we configure/compile Busybox so that our
CFLAGS aren't anymore passed through the make EXTRA_CFLAGS variable,
but through the .config CONFIG_EXTRA_CFLAGS variable. Unfortunately,
those variables don't have exactly the same semantic for the Busybox
build system.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-17 02:10:58 +02:00
Thomas Petazzoni
7b7a4be0e1 external toolchains: take into account architecture variant
Until now, many TARGET_CFLAGS where missing when using an external
toolchain, due to how package/Makefile.in was written. Now, a lot more
definitions are common between the Buildroot toolchain case and the
external toolchain case.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-17 02:09:38 +02:00
Peter Korsgaard
65e209ca07 openssl: fix build without ipv6 support
Closes #1567

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-15 16:26:15 +02:00
Thomas Brandstetter
7874370907 pciutils: convert to the generic-tools infrastructure
Signed-off-by: Thomas Brandstetter <thomas.brandstetter@me.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-15 14:07:35 +02:00
Peter Korsgaard
237f5a8520 mtd: host compilation needs host-zlib
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-15 14:02:22 +02:00
Will Wagner
d362cc504d mtd: mkfs.jffs2 requires zlib to build
[Peter: lzo needed as well]
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-15 14:01:41 +02:00
Peter Korsgaard
9f018b77ff busybox: 1.16.1 dnsd / hwclock fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-14 20:41:15 +02:00
Paulius Zaleckas
c8b4f397e6 libdrm: enable/disable features according to driver selection
Also cleanup autotools symbols and add libatomic_ops dependency
for Intel part.

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-14 17:04:47 +02:00
Paulius Zaleckas
71a041c852 Add libatomic_ops 1.2 needed by libdrm Intel support
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-14 17:03:58 +02:00
Peter Korsgaard
b827af3bb4 Merge branch 'autotools-conversion' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-04-13 21:50:46 +02:00
Thomas Petazzoni
157526cb05 libid3tag: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:58 +02:00
Thomas Petazzoni
7100a85e37 libmad: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:54 +02:00
Thomas Petazzoni
3b838d8640 aumix: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:50 +02:00
Thomas Petazzoni
8e4a53cf8c madplay: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:46 +02:00
Thomas Petazzoni
c901bef2c8 findutils: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:46 +02:00
Thomas Petazzoni
9005b04bc0 ipkg: remove useless configure options
These options are part of the default set of options passed to
./configure by the AUTOTARGETS infrastructure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:42 +02:00
Thomas Petazzoni
3be78a238e argus: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:38 +02:00
Thomas Petazzoni
e300d684bc tar: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:34 +02:00
Thomas Petazzoni
98611b3a5e bison: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:33 +02:00
Thomas Petazzoni
6ad9d38641 Remove incorrect 'dummy' example
Since the introduction of the AUTOTARGETS infrastructure, the dummy
example is no longer correct. Moreover, the documentation now contains
extensive details about how new packages should be added, either using
the GENTARGETS or the AUTOTARGETS infrastructures.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:33 +02:00
Thomas Petazzoni
73e346effc libcgi: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:29 +02:00
Thomas Petazzoni
41d7e35fcf libsysfs: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:26 +02:00
Thomas Petazzoni
503062a355 libraw1394: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:21 +02:00
Thomas Petazzoni
6862ed36d5 libcgicc: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:17 +02:00
Thomas Petazzoni
aca0487261 libosip2: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:13 +02:00
Thomas Petazzoni
0dae022b7a patch: convert to the autotools infrastructure and bump version
Bumping the version from 2.5.9 to 2.6 allows to avoid adding a patch
(merged upstream) to fix patch's Makefile install target.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:08 +02:00
Thomas Petazzoni
25afa562f6 smartmontools: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:04 +02:00
Thomas Petazzoni
61fc526a16 setserial: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:03 +02:00
Thomas Petazzoni
55184f55a8 udpcast: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:55:00 +02:00
Thomas Petazzoni
f2e9f7604a x11vnc: cleanup useless config options
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:54:59 +02:00
Thomas Petazzoni
516708f94f vtun: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-13 16:54:56 +02:00
Thomas Petazzoni
02bc426214 Get rid of all usages of BR2_RECENT
Since BR2_RECENT was enabled by default, we do not want entries marked
BR2_RECENT (and thus appearing by default in Buildroot) to disappear.

Therefore, all the entries marked BR2_RECENT are converted as
non-deprecated. We can later decide, on a per-entry basis, to add
BR2_DEPRECATED to some of them. But at least, this commit doesn't
change the default current behaviour of Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-12 15:26:37 +02:00
Thomas Petazzoni
04ba0089a6 Get rid of the OPTIMIZE_FOR_CPU variable
This variable, together with the FIXME comment, has been added has
part of Eric Andersen's « Major buildroot facelift, step one » commit
that occured in October 2004.

Since then, no real usage has been made of OPTIMIZE_FOR_CPU, and the
initial intention has probably been lost in the memories of the
implementors.

Therefore, get rid of the variable, and just use $(ARCH) at the two
locations the variable was used.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 21:10:35 +02:00
Thomas Petazzoni
423399ba56 Get rid of useless OpenMP related code
It seems that there was an intention to add BR2_ENABLE_OPENMP someday,
but it was in June 2007 (commit
c81807a9d7) and since then, nothing
occured. Therefore, get rid of this code, and just pass
--disable-openmp to gettext to keep the current behaviour.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 21:10:35 +02:00
Thomas Petazzoni
ce3bd8da2a Get rid of now unused HOST_ARCH computation code
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 21:10:34 +02:00
Thomas Petazzoni
60281cbfe4 Guess build system and remove BR2_GNU_BUILD_SUFFIX
Instead of having a configuration option BR2_GNU_BUILD_SUFFIX, let's
use config.guess to guess the build system type.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 21:10:33 +02:00
Thomas Petazzoni
0e56099e70 Use BR2_HAVE_DOCUMENTATION instead of BR2_HAVE_{MANPAGES,INFOPAGES}
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 06:01:08 +02:00
Thomas Petazzoni
bb36364742 Do not remove documentation on a per-package basis
Since the documentation cleanup is done by the main Makefile in a
global way, there's no need to do that on a per-package basis in the
generic package infrastructure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 06:01:08 +02:00
Thomas Petazzoni
ef785f61ad Do not let packages remove man pages, info pages and documentation
The cleanup of $(TARGET_DIR)/usr/share/man, $(TARGET_DIR)/usr/man,
$(TARGET_DIR)/usr/share/info, $(TARGET_DIR)/usr/info,
$(TARGET_DIR)/usr/share/doc and $(TARGET_DIR)/usr/doc is already done
globally in the main Makefile. Therefore, there's no need to handle
that on a per-package basis.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 06:01:08 +02:00
Thomas Petazzoni
0ed643665f Update config.{guess,sub} unconditionally
Remove the BR2_UPDATE_CONFIG option which allowed to globally
enable/disable the replacement of config.{guess,sub} for
autotools-based packages. Doing it unconditionnally just works.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 05:59:59 +02:00
Thomas Petazzoni
7a0263525f Remove BR2_PREFER_IMA
This option is barely used, no-one is maintaining it or extending
it. So let's remove it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 05:59:59 +02:00
Peter Korsgaard
e7b72e11dc cramfs: fix help text typo
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-09 16:19:13 +02:00
Thomas Petazzoni
5ef9fe7e53 squashfs3: new package
Add support for the old squashfs 3.x tools, so that squashfs 3.x root
filesystems can be generated.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 12:21:00 +02:00
Thomas Petazzoni
325bfd1cba Remove IMAGE and related configuration options
Now, we just hardcode the image filenames to be rootfs.$(FSTYPE), in
the $(BINARIES_DIR).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:35 +02:00
Thomas Petazzoni
f840a2b28c busybox initramfs: do not use the IMAGE variable
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:35 +02:00
Thomas Petazzoni
0bdaf06796 fakeroot: convert to the autotools infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:33 +02:00
Thomas Petazzoni
002a31168e lzma: convert the host package to the autotools infrastructure
Note that we loose the ability to use a lzma command available on the
host and we now always build your own if a package needs it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:03:56 +02:00
Thomas Petazzoni
ae4c8a81d3 cloop: new package
Only the host variant is supported, which explains why there is no
Config.in file. Will be used by the filesystem generation code.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:03:55 +02:00
Thomas Petazzoni
de4cf4e913 mtd: convert to gentargets, add host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:03:55 +02:00
Thomas Petazzoni
e7cf05aebe e2fsprogs: add support for host package
Host package is needed to get libuuid installed for the host, needed
to build the mtd utils for the host.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:03:55 +02:00
Thomas Petazzoni
1ef21e7bd4 cdrkit: new package
Supported both for the target and the host. Will be used by the root
filesystem generation code, thanks to genisoimage.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:03:55 +02:00
Thomas Petazzoni
73b1ab73d7 cmake: new package
Only compilation for the host is supported, why explains why we don't
have a Config.in and the corresponding BR2_PACKAGE_CMAKE option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:03:55 +02:00
Thomas Petazzoni
ea448feff7 bzip2: convert to gentargets, add host package, bump version
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:03:55 +02:00
Thomas Petazzoni
7ec49b9af7 libcap: new package
Needed as a dependency of cdrkit, which contains genisomage, useful
for generating ISO9660 filesystem images.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:03:54 +02:00
Thomas Petazzoni
c040b2c010 squashfs: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:03:54 +02:00
Thomas Petazzoni
f601bb72db cramfs: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:03:54 +02:00
Thomas Petazzoni
069290f197 genext2fs: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:03:54 +02:00
Thomas Petazzoni
0fe8279abf genromfs: add new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:03:54 +02:00
Peter Korsgaard
6047d57813 Merge branch 'libaio-conversion' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-04-09 00:21:38 +02:00
Will Wagner
b72cb51e0b xdriver_xf86-video-intel: bump version
[Peter: remove version from Config.in help]
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 22:10:18 +02:00
Will Wagner
ec0db92559 xlib_libXxf86misc: bump version
[Peter: remove version from Config.in help]
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 22:02:35 +02:00
Will Wagner
de6d1e532f xproto_evieext: bump version
[Peter: remove version from Config.in help]
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 22:00:41 +02:00
Will Wagner
9b02ce9e9d xkeyboard-config: bump version
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 21:59:09 +02:00
Will Wagner
e9f9ef7d67 xlib_libXfontcache: bump version
[Peter: remove version from Config.in help]
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 21:57:39 +02:00
Will Wagner
741d1cd4b0 xlib_libpciaccess: bump version
[Peter: remove version from Config.in help]
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 21:57:33 +02:00
Will Wagner
b7bf7f0077 xproto_xf86miscproto: bump version
[Peter: remove version from Config.in help]
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 21:57:22 +02:00
Will Wagner
24c2ca7841 xproto_fontcacheproto: bump version
[Peter: remove version from Config.in help]
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 21:50:57 +02:00
Will Wagner
864950c1a4 xproto_dri2proto: bump version
[Peter: remove version from Config.in help]
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 21:49:37 +02:00
Will Wagner
7e391f1622 pthread-stubs: bump version
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 21:44:01 +02:00
Will Wagner
23840f1f44 xlib_libXau: remove duplicate dependancies
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 21:42:46 +02:00
Will Wagner
828f6a056e correct name of xapp_xinput.mk
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 21:40:56 +02:00
Will Wagner
4e67ed412e mesa3d: bump version and convert to autotools
Note this version requires a recent kernel with KMS support as it is
currently configured

Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 21:38:21 +02:00
Will Wagner
ff72acf782 pixman: bump version
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 21:35:20 +02:00
Thomas Petazzoni
3ae6d619a4 libaio: convert to the GENTARGETS infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-08 18:07:51 +02:00
Peter Korsgaard
e8e868c14b Merge branch 'libusb-conversion' of git://git.busybox.net/~tpetazzoni/git/buildroot
Fix merge conflicts in CHANGES
2010-04-08 11:37:12 +02:00
Josh.Wu
6620ca7dfe fbv: add patch to support bgr555 framebuffer format.
[Peter: add header to patch, fix file permissions]
Signed-off-by: Josh.Wu <josh.wu@atmel.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 09:53:47 +02:00
Paulius Zaleckas
c03c626ecb matchbox-desktop: fix compilation and installation
Libtool patch applies just fine.
mbdesktop_modules is installed by the matchbox-desktop and we
don't have to overwrite it with our copy(contains wrong paths).

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 07:40:01 +02:00
Thomas Petazzoni
6caec6f3b3 usb_modeswitch: use GENTARGETS instead of AUTOTARGETS
usb_modeswitch build system is just a simple Makefile, so the
GENTARGETS infrastructure is more appropriate than the AUTOTARGETS
infrastructure. The build system is slightly fixed through a small
patch, that replaces the previous "nostrip" patch.

The latest version of usb_modeswitch is 1.1.1, but it now relies on
udev and requires TCL to operate. Someone actually using
usb_modeswitch would probably be at a better place to do this version
bump.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-06 21:55:30 +02:00
Mike Crowe
e237c99357 libusb: bump version, convert to autotools, add -compat lib
Upgrade libusb to v1.0.3 and add new libusb-compat package for
compatibility with old packages that expect the pre-1.0 API.

Also update usb_modeswitch to depend on libusb-compat rather than
libusb.

Minor fixes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>.

Fixes bug #1093.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
2010-04-06 21:55:14 +02:00
Alexander Clouter
07f155c174 radvd: bump version
Closes #1489

Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-06 07:43:03 +02:00
Peter Korsgaard
3ef9b6969c busybox: respect BR2_PREFER_STATIC_LIB
Build static version if requested in BR config.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-05 13:29:01 +02:00
Will Wagner
f94830d0e5 matchbox: convert to autotools, fix build with start-notification, libxft
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-03 13:45:23 +02:00
Paul Jones
faa2f01231 Bump libdrm to 2.4.19
Also adds proper dependency information to stop build errors.

Signed-off-by: Paul Jones <paul@pauljones.id.au>
Acked-By: Will Wagner<willw@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-03 10:44:18 +02:00
Frederik Vannoote
d5a3fa6867 qt: bump version
qt 4.6.x has a number of new configure options, and needs a patch to
work on uClibc.

Signed-off-by: Frederik Vannoote <frederik.vannoote@barco.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-02 15:34:22 +02:00
Peter Korsgaard
0a179adef3 radvd: needs host-flex
Closes #1369

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-02 15:13:46 +02:00