buildroot.git
14 years agosquashfs3: fix build when zlib isn't available on the host
Thomas Petazzoni [Fri, 7 May 2010 19:23:31 +0000 (21:23 +0200)]
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>
14 years agosquashfs: fix build when zlib isn't available on the host
Thomas Petazzoni [Fri, 7 May 2010 19:22:00 +0000 (21:22 +0200)]
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>
14 years agocustomize: fix copy paths
Luca Ceresoli [Wed, 5 May 2010 22:16:59 +0000 (00:16 +0200)]
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>
14 years agowpa_supplicant: Fix build with external toolchain
Gustavo Zacarias [Thu, 6 May 2010 15:10:10 +0000 (12:10 -0300)]
wpa_supplicant: Fix build with external toolchain

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoFix the computation of REAL_GNU_TARGET_NAME
Thomas Petazzoni [Thu, 6 May 2010 18:44:21 +0000 (20:44 +0200)]
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>
14 years agopciutils: Fix cross compiling
Gustavo Zacarias [Thu, 6 May 2010 14:24:36 +0000 (11:24 -0300)]
pciutils: Fix cross compiling

Closes #1705

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agousbutils: fix recursive LIBUSB Kconfig issue and bump to 0.87
Gustavo Zacarias [Thu, 6 May 2010 14:14:38 +0000 (11:14 -0300)]
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>
14 years agopackage/sed: make HOST_SED_BINARY a simply expanded variable (:=)
Peter Korsgaard [Thu, 6 May 2010 19:17:01 +0000 (21:17 +0200)]
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>
14 years agoboa: use BOA_VERSION instead of spawning a shell/basename for build dir
Peter Korsgaard [Thu, 6 May 2010 19:10:42 +0000 (21:10 +0200)]
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>
14 years agocheck-host-sed.sh: add missing shebang line
Peter Korsgaard [Thu, 6 May 2010 19:08:04 +0000 (21:08 +0200)]
check-host-sed.sh: add missing shebang line

Bash seems to be smart enough to source the file when execve returns
ENOEXEC, but other shells might not be.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMakefile: make GNU_HOST_NAME a simply expanded variable (:=)
Peter Korsgaard [Thu, 6 May 2010 18:53:25 +0000 (20:53 +0200)]
Makefile: make GNU_HOST_NAME a simply expanded variable (:=)

GNU_HOST_NAME is referred more than 100 times in the tree, used 5
times during startup, and is relatively expensive to run - so make
it a simple expanded variable (:=) rather than recursively expanded
one (=).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMakefile.package.in: optimize UPPERCASE macro
Peter Korsgaard [Thu, 6 May 2010 18:46:49 +0000 (20:46 +0200)]
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>
14 years agoRemove gtk-doc documentations from target
Paulius Zaleckas [Wed, 5 May 2010 10:09:36 +0000 (13:09 +0300)]
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>
14 years agohal: cleanup package
Peter Korsgaard [Tue, 4 May 2010 21:11:20 +0000 (23:11 +0200)]
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>
14 years agomplayer: disable parallel builds (make -jX)
Peter Korsgaard [Tue, 4 May 2010 20:48:16 +0000 (22:48 +0200)]
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>
14 years agousb_modeswitch: Bump to version 1.1.2
Gustavo Zacarias [Thu, 22 Apr 2010 18:58:16 +0000 (15:58 -0300)]
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>
14 years agomplayer: internal copies of libdvdread/libdvdcss require largefile support
Peter Korsgaard [Tue, 4 May 2010 19:38:14 +0000 (21:38 +0200)]
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>
14 years agoX11 OpenChrome driver depends on libxcomposite
Paulius Zaleckas [Mon, 3 May 2010 16:51:58 +0000 (19:51 +0300)]
X11 OpenChrome driver depends on libxcomposite

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoupdate for 2010.05-rc1
Peter Korsgaard [Mon, 3 May 2010 14:12:45 +0000 (16:12 +0200)]
update for 2010.05-rc1

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoCHANGES: update list of new/updated packages
Peter Korsgaard [Mon, 3 May 2010 14:07:20 +0000 (16:07 +0200)]
CHANGES: update list of new/updated packages

Mainly package changes done by Thomas' pull requests.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoccache: fix ccache-target dependencies
Peter Korsgaard [Mon, 3 May 2010 13:13:19 +0000 (15:13 +0200)]
ccache: fix ccache-target dependencies

Ccache for the target doesn't make sense without a toolchain, so make
it depend on it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agobzip2: fixup build after ea448fe (convert to gentargets, add host package, bump version)
Peter Korsgaard [Mon, 3 May 2010 13:07:05 +0000 (15:07 +0200)]
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>
14 years agopackage: Add $(HOST_DIR)/usr/lib to LD_LIBRARY_PATH for host but not target
Lionel Landwerlin [Sat, 1 May 2010 12:10:28 +0000 (14:10 +0200)]
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>
14 years agotarget/generic: inittab: fix devpts mounts when devtmpfs is used
Peter Korsgaard [Mon, 3 May 2010 10:01:19 +0000 (12:01 +0200)]
target/generic: inittab: fix devpts mounts when devtmpfs is used

If devtmpfs (the kernel-maintained /dev filesystem) is used, no
/dev/pts directory is created, causing the devpts mount to fail, which
in term causes stuff like dropbear to fail.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoncurses: fix path to patch ncurses5-config
Lionel Landwerlin [Fri, 30 Apr 2010 00:42:08 +0000 (02:42 +0200)]
ncurses: fix path to patch ncurses5-config

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolinux-fusion: bump to 8.1.1
Lionel Landwerlin [Fri, 30 Apr 2010 00:58:49 +0000 (02:58 +0200)]
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>
14 years agodirectfb: added directfb tests installation option
Lionel Landwerlin [Fri, 30 Apr 2010 00:58:47 +0000 (02:58 +0200)]
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>
14 years agodirectfb: bump to 1.4.3
Lionel Landwerlin [Fri, 30 Apr 2010 00:58:44 +0000 (02:58 +0200)]
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>
14 years agodocs/news: slides from FOSDEM
Peter Korsgaard [Mon, 3 May 2010 07:02:51 +0000 (09:02 +0200)]
docs/news: slides from FOSDEM

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoncurses: convert to autotools infrastructure
Lionel Landwerlin [Sun, 2 May 2010 22:46:13 +0000 (00:46 +0200)]
ncurses: convert to autotools infrastructure

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain/gdb: get rid of 6.4 / 6.5
Peter Korsgaard [Sun, 2 May 2010 22:18:50 +0000 (00:18 +0200)]
toolchain/gdb: get rid of 6.4 / 6.5

These are ancient (2006) and upstream strongly discourage using them:
ftp://sourceware.org/pub/gdb/old-releases/README

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoautoconf: Unverbosify autoreconf output
Thomas Petazzoni [Sun, 2 May 2010 21:29:53 +0000 (23:29 +0200)]
autoconf: Unverbosify autoreconf output

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoFix autotools configuration cache handling
Thomas Petazzoni [Wed, 28 Apr 2010 21:41:00 +0000 (23:41 +0200)]
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>
14 years agoUpdate defconfigs after BR2_GNU_TARGET_SUFFIX removal
Thomas Petazzoni [Wed, 28 Apr 2010 21:40:58 +0000 (23:40 +0200)]
Update defconfigs after BR2_GNU_TARGET_SUFFIX removal

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoRemove BR2_GNU_TARGET_SUFFIX and compute GNU_TARGET_NAME
Thomas Petazzoni [Wed, 28 Apr 2010 21:40:57 +0000 (23:40 +0200)]
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>
14 years agoUpdate defconfigs after BR2_ROOTFS_SUFFIX removal
Thomas Petazzoni [Wed, 28 Apr 2010 21:40:56 +0000 (23:40 +0200)]
Update defconfigs after BR2_ROOTFS_SUFFIX removal

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoGet rid of the code computing ROOTFS_SUFFIX
Thomas Petazzoni [Wed, 28 Apr 2010 21:40:55 +0000 (23:40 +0200)]
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>
14 years agoRemove last users of the ROOTFS_SUFFIX thing
Thomas Petazzoni [Wed, 28 Apr 2010 21:40:54 +0000 (23:40 +0200)]
Remove last users of the ROOTFS_SUFFIX thing

The ROOTFS_SUFFIX thing has been removed in
325bfd1cbae03fe286796d3fa7de7c0a3227f7a5, so get rid of the last users.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoGet rid of KERNEL_CROSS
Thomas Petazzoni [Wed, 28 Apr 2010 21:40:53 +0000 (23:40 +0200)]
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>
14 years agoCommonalize the definition of TOOLCHAIN_DIR
Thomas Petazzoni [Wed, 28 Apr 2010 21:40:52 +0000 (23:40 +0200)]
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>
14 years agouclibc: make sure the default configuration doesn't ask questions
Thomas Petazzoni [Wed, 28 Apr 2010 21:40:51 +0000 (23:40 +0200)]
uclibc: make sure the default configuration doesn't ask questions

Since new configuration options have been added in 0.9.31, the value
of these configuration options should be determined, either by the
default configuration file we provide, or by uclibc.mk process.

The locale generation process should probably be improved in order to
allow building other locales than just en_US.

[Peter: fixup locale handling, add PROGRAM__NAME to defconfig]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agouClibc: add UCLIBC_HAS_NFTW to default configuration
Thomas Petazzoni [Wed, 28 Apr 2010 21:40:50 +0000 (23:40 +0200)]
uClibc: add UCLIBC_HAS_NFTW to default configuration

UCLIBC_HAS_NFTW is a new knob in 0.9.31, which allows the obsolete and
deprecated ftw() to be compiled-out separatly from nftw(), which is
part of POSIX. nftw() should probably be enabled by default in uClibc,
and a bug has been opened about this on uClibc bug tracker
(https://bugs.busybox.net/show_bug.cgi?id=1597).

nftw() is, for example, used in Gtk+.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoautotools: fix referencing to LIBTOOL_PATCH variable
Thomas Petazzoni [Wed, 28 Apr 2010 21:40:47 +0000 (23:40 +0200)]
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>
14 years agopackages: remove useless HOST_*_LIBTOOL_PATCH
Thomas Petazzoni [Wed, 28 Apr 2010 21:40:46 +0000 (23:40 +0200)]
packages: remove useless HOST_*_LIBTOOL_PATCH

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoautotools: inherit LIBTOOL_PATCH for host packages
Thomas Petazzoni [Wed, 28 Apr 2010 21:40:45 +0000 (23:40 +0200)]
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>
14 years agoopenssl: convert to the generic infrastructure
Thomas Petazzoni [Wed, 28 Apr 2010 21:40:44 +0000 (23:40 +0200)]
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>
14 years agolibxslt: fix host compilation
Thomas Petazzoni [Wed, 28 Apr 2010 21:40:43 +0000 (23:40 +0200)]
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>
14 years agoautotools: fix autoreconf check
Thomas Petazzoni [Wed, 28 Apr 2010 21:40:42 +0000 (23:40 +0200)]
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>
14 years agolua: fix pkgconfig installation
Peter Korsgaard [Sun, 2 May 2010 21:22:45 +0000 (23:22 +0200)]
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>
14 years agotoolchain/gcc: bump 4.4.x version to 4.4.4
Peter Korsgaard [Sun, 2 May 2010 21:22:26 +0000 (23:22 +0200)]
toolchain/gcc: bump 4.4.x version to 4.4.4

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoautoconf: add AUTOCONF variable setting
Lionel Landwerlin [Fri, 30 Apr 2010 00:24:13 +0000 (02:24 +0200)]
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>
14 years agoautoconf: add missing AUTOMAKE variable setting
Lionel Landwerlin [Fri, 30 Apr 2010 00:24:12 +0000 (02:24 +0200)]
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>
14 years agoautoconf: add AUTOHEADER variable
Lionel Landwerlin [Fri, 30 Apr 2010 00:24:11 +0000 (02:24 +0200)]
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>
14 years agolibtool: added LIBTOOLIZE variable to point on $(HOST_DIR)/usr/bin/libtoolize
Lionel Landwerlin [Fri, 30 Apr 2010 00:24:10 +0000 (02:24 +0200)]
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>
14 years agoscripts: force copy of files to erase already present and readonly files
Lionel Landwerlin [Fri, 30 Apr 2010 00:24:08 +0000 (02:24 +0200)]
scripts: force copy of files to erase already present and readonly files

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agopackage: Force copy of .la files at the post install hook (readonly files might be...
Lionel Landwerlin [Fri, 30 Apr 2010 00:24:06 +0000 (02:24 +0200)]
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>
14 years agopackage: add PKG_CONF_ENV variables to host packages
Lionel Landwerlin [Fri, 30 Apr 2010 00:24:09 +0000 (02:24 +0200)]
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>
14 years agotslib: fix plugin linking
Luca Ceresoli [Wed, 28 Apr 2010 20:42:18 +0000 (22:42 +0200)]
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>
14 years agoFix GDB BFD test linking
Paulius Zaleckas [Thu, 29 Apr 2010 19:19:20 +0000 (22:19 +0300)]
Fix GDB BFD test linking

When compiling GDB for target (in my case i386) it links
wrong BFD library from host OS. This prevents GDB from compiling
support for ELF and thus GDB is unusable on target.

More about this issue was already posted at:
http://lists.uclibc.org/pipermail/buildroot/2009-March/026585.html

Fix this issue by forcing ELF support.

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agohaserl: Add lua option
Gustavo Zacarias [Thu, 29 Apr 2010 21:04:20 +0000 (18:04 -0300)]
haserl: Add lua option

Closes #719

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolua: Migrate to gentargets and improve it
Gustavo Zacarias [Thu, 29 Apr 2010 21:03:45 +0000 (18:03 -0300)]
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>
14 years agoMake Mesa3D optional for X11
Darius Augulis [Thu, 29 Apr 2010 20:24:18 +0000 (23:24 +0300)]
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>
14 years agoxda_xcursor-themes: depends on libXcursor
Darius Augulis [Thu, 29 Apr 2010 20:11:25 +0000 (23:11 +0300)]
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>
14 years agoxlib_libXtst: depends on libXi
Paulius Zaleckas [Thu, 29 Apr 2010 20:00:43 +0000 (23:00 +0300)]
xlib_libXtst: depends on libXi

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoFix build of matchbox-keyboard and matchbox-wm
Darius Augulis [Thu, 29 Apr 2010 19:50:46 +0000 (22:50 +0300)]
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>
14 years agotoolchain/gdb: Add GDB 7.0.1 and 7.1 support
Paulius Zaleckas [Thu, 29 Apr 2010 19:44:20 +0000 (22:44 +0300)]
toolchain/gdb: Add GDB 7.0.1 and 7.1 support

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agobusybox: 1.16.1 fixes for ash and cpio
Peter Korsgaard [Sat, 1 May 2010 19:19:19 +0000 (21:19 +0200)]
busybox: 1.16.1 fixes for ash and cpio

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolinux-advanced: Fix Kernel EXTRAVERSION for BR2_LINUX26_CUSTOM
serj.kalichev [Sat, 1 May 2010 19:08:43 +0000 (21:08 +0200)]
linux-advanced: Fix Kernel EXTRAVERSION for BR2_LINUX26_CUSTOM

Closes #1267

Signed-off-by: serj.kalichev <serj.kalichev@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agobusybox: pass EXTRA_LDFLAGS for external toolchains
Grant Edwards [Sat, 1 May 2010 18:57:28 +0000 (20:57 +0200)]
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>
14 years agoeeprog: Convert to gentargets
Gustavo Zacarias [Thu, 22 Apr 2010 18:35:15 +0000 (15:35 -0300)]
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>
14 years agohostapd: Bump to 0.7.2
Gustavo Zacarias [Mon, 26 Apr 2010 14:54:32 +0000 (11:54 -0300)]
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>
14 years agoalsa-utils: alsamixer needs WCHAR
Peter Korsgaard [Mon, 26 Apr 2010 21:01:14 +0000 (23:01 +0200)]
alsa-utils: alsamixer needs WCHAR

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoalsa-utils: fix usr/share/alsa installation to target
Peter Korsgaard [Mon, 26 Apr 2010 20:58:25 +0000 (22:58 +0200)]
alsa-utils: fix usr/share/alsa installation to target

Closes #1573

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agopackage: get rid of editors subdir
Peter Korsgaard [Mon, 26 Apr 2010 20:03:37 +0000 (22:03 +0200)]
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>
14 years agopackage: get rid of database subdir
Peter Korsgaard [Mon, 26 Apr 2010 19:57:11 +0000 (21:57 +0200)]
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>
14 years agocairo: get rid of old patches
Peter Korsgaard [Mon, 26 Apr 2010 19:52:50 +0000 (21:52 +0200)]
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>
14 years agolibgtk2: get rid of old patches
Peter Korsgaard [Mon, 26 Apr 2010 19:46:48 +0000 (21:46 +0200)]
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>
14 years agosamba: bump version
Gustavo Zacarias [Wed, 14 Apr 2010 14:26:45 +0000 (11:26 -0300)]
samba: bump version

Closes #1561

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
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 [Mon, 26 Apr 2010 17:31:42 +0000 (19:31 +0200)]
kernel-headers: bump 2.6.32.x / 2.6.33.x stable versions

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotslib: fix use of open()
Luca Ceresoli [Fri, 23 Apr 2010 08:24:53 +0000 (10:24 +0200)]
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>
14 years agoX11R7.5 - remove all version information from Config.in files
Will Wagner [Wed, 14 Apr 2010 17:06:45 +0000 (18:06 +0100)]
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>
14 years agolibXaw: do not build docs (fails if missing host tools), also cleanup makefile
Will Wagner [Wed, 14 Apr 2010 17:06:44 +0000 (18:06 +0100)]
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>
14 years agoRemove XEvIE (app & proto) as removed from X11R7.5
Will Wagner [Wed, 14 Apr 2010 17:06:43 +0000 (18:06 +0100)]
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>
14 years agoRemove XFree86-Misc (lib & proto) as removed from X11R7.5
Will Wagner [Wed, 14 Apr 2010 17:06:42 +0000 (18:06 +0100)]
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>
14 years agoRemove XTrap (app, lib & proto) as removed from X11R7.5
Will Wagner [Wed, 14 Apr 2010 17:06:41 +0000 (18:06 +0100)]
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>
14 years agoxserver_xorg-server: bump version, improve option support
Will Wagner [Wed, 14 Apr 2010 17:06:40 +0000 (18:06 +0100)]
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>
14 years agousbutils need libusb-compat
Paulius Zaleckas [Wed, 21 Apr 2010 13:57:06 +0000 (16:57 +0300)]
usbutils need libusb-compat

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'codesourcery-toolchain-support' of git://git.busybox.net/~tpetazzoni...
Peter Korsgaard [Wed, 21 Apr 2010 08:40:30 +0000 (10:40 +0200)]
Merge branch 'codesourcery-toolchain-support' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agoAdd support to linux 2.6.30 kernel patches for Atmel arm in menuconfig.
Josh.Wu [Fri, 9 Apr 2010 09:26:43 +0000 (17:26 +0800)]
Add support to linux 2.6.30 kernel patches for Atmel arm in menuconfig.

Signed-off-by: Josh.Wu <josh.wu@atmel.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agobusybox: add 1.16.1 sed fix
Peter Korsgaard [Tue, 20 Apr 2010 18:15:33 +0000 (20:15 +0200)]
busybox: add 1.16.1 sed fix

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoinitramfs: fix init symlink
Will Wagner [Tue, 20 Apr 2010 14:31:01 +0000 (15:31 +0100)]
initramfs: fix init symlink

When initramfs was ported to the new fs structure the init symlink
macro was defined, but forgot to add it to PRE_GEN_HOOKS

Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agobusybox: get rid of unused initramfs.mk file
Peter Korsgaard [Tue, 20 Apr 2010 11:20:56 +0000 (13:20 +0200)]
busybox: get rid of unused initramfs.mk file

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotarget: really remove the target/*/*.mk include
Peter Korsgaard [Tue, 20 Apr 2010 07:12:39 +0000 (09:12 +0200)]
target: really remove the target/*/*.mk include

Commit 5faae4869027 claimed to do this, but it didn't - Causing
make to error out.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain/binutils: Improve arm linking performance
Laine Walker-Avina [Mon, 19 Apr 2010 21:41:31 +0000 (14:41 -0700)]
toolchain/binutils: Improve arm linking performance

Backported a patch from CVS that improves linking times for large
projects (eg 700s to 6s). See
http://old.nabble.com/-PATCH--Reduce-ARM-linking-time-tt27961038.html
for the original.

[Peter: add patch header]
Signed-off-by: Laine Walker-Avina <lwalkera@ieee.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoRepair initramfs dependancies after move to fs
Will Wagner [Mon, 19 Apr 2010 14:34:49 +0000 (15:34 +0100)]
Repair initramfs dependancies after move to fs

The restructure for building root filesystems changed the target name
for the initramfs file, to build the file the trget is now
initramfs-root but the generated file is rootfs.initramfs

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>
14 years agoMerge branch 'makedevs-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Mon, 19 Apr 2010 21:28:26 +0000 (23:28 +0200)]
Merge branch 'makedevs-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agomtd: Add missing 'mtdinfo'
Michael Roth [Mon, 19 Apr 2010 20:36:13 +0000 (22:36 +0200)]
mtd: Add missing 'mtdinfo'

Commit 9277cb760a4cc6e62d0cd23fa938dd953e875a13 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>
14 years agomakedevs: convert to a more normal way of building packages
Thomas Petazzoni [Wed, 24 Mar 2010 22:12:29 +0000 (23:12 +0100)]
makedevs: convert to a more normal way of building packages

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agomakedevs: move to package/
Thomas Petazzoni [Wed, 24 Mar 2010 21:43:12 +0000 (22:43 +0100)]
makedevs: move to package/

Since target/ doesn't contain any .mk file in subdirectories, also
remove the include in target/Makefile.in.

14 years agopython: needs WCHAR support in toolchain
Peter Korsgaard [Mon, 19 Apr 2010 12:38:45 +0000 (14:38 +0200)]
python: needs WCHAR support in toolchain

And hence, portage needs it as well.

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