Commit Graph

9305 Commits

Author SHA1 Message Date
Thomas Petazzoni
a219ed3f7b qt: speed up qmake build
qmake is built during the execution of Qt ./configure script, so it is
built just with a normal make, not taking advantage of parallel
compilation. Passing MAKEFLAGS=-j$(BR2_JLEVEL) allows to speed up the
qmake compilation process quite a bit.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-03 20:12:28 +02:00
Thomas Petazzoni
9fd85d8168 qt: fix plugin installation and change plugin path
Since the conversion of Qt to GENTARGETS in
421cda1fd0, plugin installation could
break in some situations, for example if SQL support was enabled, but
without any SQL driver: the sql plugin directory doesn't exist, but
our qt.mk wanted to copy it.

This patches simplifies the plugin handling a bit, and basically
copies all Qt plugins installed in the $(STAGING_DIR) to the
$(TARGET_DIR), assuming Qt has only built and installed the needed
plugins.

Moreover, instead of installing plugins to usr/plugins, which is a odd
location, we install them in usr/lib/qt/plugins. This requires a small
patch to Qt ./configure script so that even when -hostprefix is used,
the -plugindir option is taken into account.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-03 20:11:25 +02:00
Peter Korsgaard
e37804807e qemu_arm_versatile_defconfig: run getty on ttyAMA0
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-03 20:01:53 +02:00
Peter Korsgaard
c10b2291e8 qemu_x86_defconfig: run getty on ttyS0
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-03 20:00:09 +02:00
Peter Korsgaard
070e9e2bea qemu/x86: linux: tweak config
Enable correct driver for qemu's rtl8139 emulation (8139cp), enable
CONFIG_PACKET so DHCP works and enable 8250 driver for serial console.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-03 19:53:28 +02:00
Mike Frysinger
b864790383 readline: link directly against ncurses
Fixes link issues on uClibc for applications using libreadline.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-03 19:52:51 +02:00
Thomas Petazzoni
c729829c6c Fix ccache handling
When ccache support is enabled and 'make silentoldconfig' is being
started from the following rule:

$(BUILD_DIR)/buildroot-config/auto.conf: $(CONFIG_DIR)/.config
	$(MAKE) $(EXTRAMAKEARGS) HOSTCC="$(HOSTCC_NOCCACHE)" HOSTCXX="$(HOSTCXX_NOCCACHE)" silentoldconfig

then, the Makefile in package/config inherits from HOSTCC/HOSTCXX
values with the ccache prefix. However, if we start from a cleaned
build (after make clean), ccache is not compiled yet, so things break.

To solve this, we pass a noccache variant of HOSTCC/HOSTCXX down to
the package/config Makefile.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-02 22:34:09 +02:00
Peter Korsgaard
4bc1041db6 lighttpd: fix build without webdav support
Fix a typo in the --without-webdav-* handling.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-02 10:24:59 +02:00
Peter Korsgaard
252d9a20a1 lighttpd: cleanup sub options
Get rid of extra packages submenu and tweak the option descriptions.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-01 23:08:12 +02:00
Marek Belisko
99df35d9a5 buildroot: Add webdav support to lighttpd.
[Peter: needs host-pkg-config]
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-01 23:02:35 +02:00
Peter Korsgaard
94ed034cf2 copas: select lua shared library support
Needed by luasocket.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-01 22:05:01 +02:00
Gustavo Zacarias
47736c88c3 openssl: fix compilation for i386
Closes #3445.

OpenSSL emits bswap instructions when building for i386 targets which
unfortunately is only available on 486+ class processors.
Since the normal workaround is detected at build time and we are cross
compiling we need to specify this.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-01 21:56:21 +02:00
Gustavo Zacarias
6bbd5367a5 quagga: security bump to version 0.99.18
Fixes for vulnerabilities CVE-2010-1674 and CVE-2010-1675.

Additional patches for build-time breakage of the new version.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-01 21:25:32 +02:00
Gustavo Zacarias
887d210986 mpd: bump to version 0.16.2 and bugfix
Bump mpd server to version 0.6.12
Also make ffmpeg support conditional on IPv6 since the new ffmpeg
version requires it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-01 21:25:02 +02:00
Martin Hicks
e2ed6c8e77 linux: Add support to specify special Kernel Image make target
This is useful for ARCHes like PowerPC that have a whole lot of
special targets for each different board.  The kernel image target
tells make which OpenFirmware machine description file is combined into
the kernel binary.

[Peter: fix long lines]
Signed-Off-By:  Martin Hicks <mort@bork.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-01 14:53:46 +02:00
Peter Korsgaard
06002a58b5 rsync: bump version
Fixes CVE-2011-1097 and various other issues, see NEWS for details:

http://rsync.samba.org/ftp/rsync/src/rsync-3.0.8-NEWS

At the same time get rid of unneeded install / install-strip handling.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-31 22:46:06 +02:00
Gustavo Zacarias
0a70aa0cc5 webkit: bump to version 1.2.7
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-31 15:23:13 +02:00
Gustavo Zacarias
f5626851ab midori: bump to version 0.3.2
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-31 15:22:56 +02:00
Peter Korsgaard
3ef31b16c1 package/config; br2_symbol_printer(): fix off-by-1 in string handling
Based on patch by bbj17@gmx.de.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-30 20:51:48 +02:00
Peter Korsgaard
10f9ef7081 kernel-headers: bump 2.6.37.x / 2.6.38.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-29 22:19:49 +02:00
Peter Korsgaard
187ca32ae4 qt: fix qt3 support target install
"lib" shouldn't be prefixed, otherwise the make file tries to install
liblibQt3Support.so.*.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-29 13:34:25 +02:00
Peter Korsgaard
f055b266f1 Makefile.autotools.in: add libtool v2.4 support
Packages (like avahi) are now using libtool 2.4, so extend the libtool
handling to support those as well.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-28 21:45:06 +02:00
Peter Korsgaard
2c97608387 busybox: ensure source gets downloaded/extracted/patched before -menuconfig
Closes #3511

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-28 21:33:26 +02:00
Mike Frysinger
0df02e1233 hostcc/hostcxx: fix noccache variant setting
The current code accidentally sets up HOSTCC_NOCCACHE and HOSTCXX_NOCCACHE
only when the respective HOSTCC or HOSTCXX values are not set.  So if you
do something like:
	make HOSTCC=gcc menuconfig
The build fails because HOSTCC_NOCCACHE is not set anywhere.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-28 10:29:35 +02:00
Sonic Zhang
5d6ff452ad external toolchain: Only prefix path if specified
Only prefix the external toolchain calls with its absolute path if
BR2_TOOLCHAIN_EXTERNAL_PATH is set, otherwise just assume it will
be available in the path.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-28 10:00:37 +02:00
Peter Korsgaard
9b87631e34 CHANGES: update with recent changes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-28 00:13:28 +02:00
Thomas Petazzoni
421cda1fd0 qt: convert to the GENTARGETS infrastructure
In addition to converting the qt package to the GENTARGETS
infrastructure, this commit also does the following (related) things
in the Qt package:

 * Create a BR2_PACKAGE_QT_CONFIG_FILE option, which can be used to
   pass a custom Qt configuration file, such as the ones found in
   src/corelib/global/qconfig-*.h. This used to be possible, but
   required changing qt.mk directly, which isn't really how we
   configure things in Buildroot.

 * Remove the BR2_PACKAGE_QT_EMB_PLATFORM option, the embedded
   platform name is now computed directly in qt.mk.

 * The QT_CONFIGURE variable, which hosted all ./configure options,
   has been renamed to QT_CONFIGURE_OPTS, for consistency with what we
   do in the AUTOTARGETS infrastructure.

 * The QT_DEP_LIBS variable has been renamed to QT_DEPENDENCIES, so
   that dependencies are properly handled by the GENTARGETS
   infrastructures.

 * The QT_QMAKE_SET macro (used to adjust the path/flags of the
   compiler/linker) has been extended with an additional argument,
   which allows to pass the source directory of Qt.

 * All the installation procedure has been rewritten to fit within the
   GENTARGETS mechanism.

[Peter: fixed minor issues pointed out by Will]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Will Wagner <willw@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-28 00:02:46 +02:00
Gustavo Zacarias
4c5ca3d27d dnsmasq: bump to version 2.57
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-27 22:58:41 +02:00
Gustavo Zacarias
0c9a64dae1 netsnmp: bump to version 5.6.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-27 22:56:41 +02:00
Mike Frysinger
c53f5ddc7a ncurses: version bump to 5.8
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-27 22:51:58 +02:00
Peter Korsgaard
07c469ed16 webkit: prefer X11 backend if both directfb and x11 are available
This shouldn't happen with any sane configuration, but is possible with
randpackageconfig builds, where it breaks the build as libgtk would prefer
X11 and webkit directfb, causing it to fail with:

No package 'gtk+-directfb-2.0' found

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-27 22:09:07 +02:00
Peter Korsgaard
1990a9cb92 xlib_xtrans: drop pkgconfig patch now we're search usr/share/pkgconfig
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-27 21:48:30 +02:00
Peter Korsgaard
6a86dd9c8e pkg-config: add usr/share/pkgconfig to search path as well
A few packages (like xlib_xtrans) install their .pc files here, and
upstream pkg-config defaults to searching both /usr/lib/pkgconfig and
/usr/share/pkgconfig, so add it as well.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-27 21:20:04 +02:00
Peter Korsgaard
808f98e3eb qt: dbus module doesn't depend on gui support
Seems I somehow got this wrong back in December (bff5248202).

At the same time fix a typo in the comment.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-25 22:13:54 +01:00
Peter Korsgaard
24c7a24797 kernel-headers: bump 2.6.37.x / 2.6.38.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-24 13:11:52 +01:00
Peter Korsgaard
91c4ff298c mtd: bump version
Fixes flash_erase argument handling (start should be in bytes, not blocks).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-18 13:26:48 +01:00
Peter Korsgaard
851c9b56e8 ethtool: bump version, use new upstream location
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-17 12:10:08 +01:00
Peter Korsgaard
5a8c7934bd icu: fix parallel builds
The icu build system seems to have a race condition, which gets triggered
by high BR2_JLEVEL settings, so disable parallel builds.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-17 09:15:02 +01:00
Jean-Christophe PLAGNIOL-VILLARD
f7abec2d1d fetch/git: clone the repository as bare
This will reduce the space used and speed up the clone as it is only
used to generate an archive, which doesn't need the git working tree.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-16 22:46:52 +01:00
Peter Korsgaard
b922f6404d uClibc: bump 0.9.32-rc version
To -rc3 and update defconfig to match.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-16 22:28:13 +01:00
Yegor Yefremov
2ea83e9688 socat: bump to version 2.0.0-b4
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-16 17:09:48 +01:00
Peter Korsgaard
ffec8419f7 linux: use 2.6.38 by default
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-15 09:11:23 +01:00
Peter Korsgaard
aa08cb6f57 kernel-headers: add 2.6.38, remove 2.6.34.x
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-15 09:09:32 +01:00
Peter Korsgaard
cfde89c097 linux: bump 2.6.37.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-15 00:02:55 +01:00
Peter Korsgaard
05e9c80832 kernel-headers: bump 2.6.37.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-15 00:01:39 +01:00
Peter Korsgaard
6eaedac150 alsa-utils: fix dependencies
Most alsa utilites depend on specific alsa-lib options, so ensure those
are selected. Arecord is furthermore just a symlink to aplay these days,
so get rid of the option.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-14 23:59:10 +01:00
Peter Korsgaard
b05c54daf0 xterm: fix dependencies
xterm doesn't need the xserver to build.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-14 23:36:43 +01:00
Gustavo Zacarias
25e5ee52c0 xterm: fix dependencies and bump to version 267
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-14 22:34:25 +01:00
Peter Korsgaard
9e1c8ad85e gst-plugins-good: bump version
Fixes v4l2src building with 2.6.38-rc1+ kernel headers.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-14 21:17:21 +01:00
Chih-Min Chao
8ddc9da39c alsa-utils: bump to 1.0.24.2
[Peter: fix exp10 breakage on uClibc]
Signed-off-by: Chih-Min Chao <cmchao@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-14 09:49:41 +01:00