buildroot.git
13 years agobusybox: 1.18.2 fixes for ping, tar and udhcp
Peter Korsgaard [Sun, 6 Feb 2011 20:48:53 +0000 (21:48 +0100)]
busybox: 1.18.2 fixes for ping, tar and udhcp

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobarebox: add option to build bareboxenv for target
Peter Korsgaard [Sun, 6 Feb 2011 20:40:19 +0000 (21:40 +0100)]
barebox: add option to build bareboxenv for target

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodocs: add missing info about Bazaar (bzr) download method
Bjørn Forsman [Sun, 6 Feb 2011 19:02:05 +0000 (20:02 +0100)]
docs: add missing info about Bazaar (bzr) download method

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodocs: fix $(PKG)_SITE_METHOD names (UPPER CASE => lower case)
Bjørn Forsman [Sun, 6 Feb 2011 19:02:04 +0000 (20:02 +0100)]
docs: fix $(PKG)_SITE_METHOD names (UPPER CASE => lower case)

Currently, the documentation says $(PKG)_SITE_METHOD should have upper
case names such as SVN or GIT, but the implementation only accepts lower
case svn or git. This fixes the documentation.

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-ffmpeg: needs liboil
Peter Korsgaard [Fri, 4 Feb 2011 21:26:55 +0000 (22:26 +0100)]
gst-ffmpeg: needs liboil

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogstreamer: update to the latest gstreamer +plugins packages
Felipe Contreras [Fri, 4 Feb 2011 18:25:12 +0000 (20:25 +0200)]
gstreamer: update to the latest gstreamer +plugins packages

liboil is not needed not used any more. orc _can_ be used instead, but
it's not needed.

[Peter: get rid of liboil selects]
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agontp: only install init script if ntpd is enabled
Peter Korsgaard [Fri, 4 Feb 2011 19:00:35 +0000 (20:00 +0100)]
ntp: only install init script if ntpd is enabled

Further more:
- Rename to S49ntp to match other packages
- Fix start target to run ntpd, and only try ntpdate if available

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agontp: add ntpdate option
Gustavo Zacarias [Thu, 3 Feb 2011 20:45:57 +0000 (17:45 -0300)]
ntp: add ntpdate option

Closes #2935

Add ntpdate option and make ntpd optional.

Based on incomplete patch by Frederik Pasch <fpasch@googlemail.com>

Also enable crypto when openssl is enabled.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: add 1.18.2 libbb fix
Peter Korsgaard [Fri, 4 Feb 2011 18:49:50 +0000 (19:49 +0100)]
busybox: add 1.18.2 libbb fix

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: add 1.18.2 modprobe fix
Gustavo Zacarias [Thu, 3 Feb 2011 20:45:56 +0000 (17:45 -0300)]
busybox: add 1.18.2 modprobe fix

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopython: fix modules_lib_dirs typo in patch-2.7-005-stagng-headers-libs.patch
Mark Wickham [Fri, 4 Feb 2011 18:45:46 +0000 (19:45 +0100)]
python: fix modules_lib_dirs typo in patch-2.7-005-stagng-headers-libs.patch

Closes #3169

Typo in modules_lib_dirs section of patch specified modules_include_dirs
instead of modules_lib_dirs.  This matters if PYTHON_MODULES_LIB
is not passed into the script.

Signed-off-by: Mark Wickham <markw@digi.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosawman: bump version
Peter Korsgaard [Thu, 3 Feb 2011 21:51:43 +0000 (22:51 +0100)]
sawman: bump version

Old version no longer builds after directfb bump.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobzip2: don't hide on !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
Peter Korsgaard [Thu, 3 Feb 2011 19:44:45 +0000 (20:44 +0100)]
bzip2: don't hide on !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS

Quite a lot of packages select bzip2 (for its libbz2 library), so don't
hide it even though busybox DOES have a bzip2 applet - Otherwise
kconfig complains.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocdrkit: drop host-cmake dependencies
Gustavo Zacarias [Thu, 27 Jan 2011 14:21:34 +0000 (11:21 -0300)]
cdrkit: drop host-cmake dependencies

Now that it's been converted to cmaketargets it doesn't need the
host-cmake dependencies since this are fulfilled in the infrastructure.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibpng: bump to version 1.4.5
Gustavo Zacarias [Thu, 27 Jan 2011 14:21:32 +0000 (11:21 -0300)]
libpng: bump to version 1.4.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodocumentation: update buildroot internal toolchain usage
Gustavo Zacarias [Wed, 2 Feb 2011 13:05:57 +0000 (10:05 -0300)]
documentation: update buildroot internal toolchain usage

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>
13 years agotoolchain: introduce HOST_DIR option
Gustavo Zacarias [Wed, 2 Feb 2011 13:05:56 +0000 (10:05 -0300)]
toolchain: introduce HOST_DIR option

Allow the user to define HOST_DIR in the config menu.

This way when building an internal toolchain a separate (maybe shared)
output directory may be defined and the toolchain can be used by
multiple users and/or projects.

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>
13 years agoCHANGES: update with recent changes and resolved issues
Peter Korsgaard [Wed, 2 Feb 2011 21:44:21 +0000 (22:44 +0100)]
CHANGES: update with recent changes and resolved issues

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodnsmasq: idn support requires wchar
Gustavo Zacarias [Wed, 2 Feb 2011 12:22:24 +0000 (09:22 -0300)]
dnsmasq: idn support requires wchar

IDN support requires wchar, otherwise libintl will fail to build.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibidn: bump to version 1.19
Gustavo Zacarias [Wed, 2 Feb 2011 12:22:23 +0000 (09:22 -0300)]
libidn: bump to version 1.19

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibart: bump to version 2.3.21
Gustavo Zacarias [Wed, 2 Feb 2011 12:22:22 +0000 (09:22 -0300)]
libart: bump to version 2.3.21

Bump libart to version 2.3.21 and update patch accordingly.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoimagemagick: bump to version 6.6.7-4
Gustavo Zacarias [Wed, 2 Feb 2011 12:22:21 +0000 (09:22 -0300)]
imagemagick: bump to version 6.6.7-4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodirectfb: bump to version 1.4.11
Gustavo Zacarias [Wed, 2 Feb 2011 12:22:20 +0000 (09:22 -0300)]
directfb: bump to version 1.4.11

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoMakefile: savedefconfig: save in O= directory for out-of-tree builds
Peter Korsgaard [Wed, 2 Feb 2011 14:33:10 +0000 (15:33 +0100)]
Makefile: savedefconfig: save in O= directory for out-of-tree builds

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoConfig.in: Show BR version in title
Peter Korsgaard [Wed, 2 Feb 2011 13:53:23 +0000 (14:53 +0100)]
Config.in: Show BR version in title

Kconfig nowadays uses the mainmenu as the title, so add the version info
here, similar to how it is done in the Linux kernel.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage/config: rebase against 2.6.38-rc3
Peter Korsgaard [Wed, 2 Feb 2011 13:59:18 +0000 (14:59 +0100)]
package/config: rebase against 2.6.38-rc3

Fixes nconfig crash on comments within choice groups.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage/config: rebase against 2.6.37
Peter Korsgaard [Wed, 2 Feb 2011 13:49:50 +0000 (14:49 +0100)]
package/config: rebase against 2.6.37

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage/config: rebase against 2.6.37-rc1
Peter Korsgaard [Wed, 2 Feb 2011 10:48:58 +0000 (11:48 +0100)]
package/config: rebase against 2.6.37-rc1

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage/config: Rebase against Linux 2.6.36
Peter Korsgaard [Wed, 2 Feb 2011 09:39:48 +0000 (10:39 +0100)]
package/config: Rebase against Linux 2.6.36

No significant changes, but makes it easier to rebase against newer
versions.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobarebox: use ccache if enabled
Peter Korsgaard [Tue, 1 Feb 2011 19:53:05 +0000 (20:53 +0100)]
barebox: use ccache if enabled

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoEnable ccache for u-boot compile
Martin Hicks [Tue, 1 Feb 2011 17:13:01 +0000 (12:13 -0500)]
Enable ccache for u-boot compile

Just needed to pass in ccache as a prefix to the CROSS_TARGET variable.

Signed-off-by: Martin Hicks <mort@bork.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoEnable ccache for kernel compile
Martin Hicks [Tue, 1 Feb 2011 17:13:00 +0000 (12:13 -0500)]
Enable ccache for kernel compile

Just needed to pass in ccache as a prefix to the CROSS_TARGET variable.

Signed-off-by: Martin Hicks <mort@bork.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoruby: don't build documentation when building for host either
Peter Korsgaard [Tue, 1 Feb 2011 19:14:00 +0000 (20:14 +0100)]
ruby: don't build documentation when building for host either

We don't use it, so it only slows down the build.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage/dhcp: Fix config name
Peter Korsgaard [Tue, 1 Feb 2011 13:30:32 +0000 (14:30 +0100)]
package/dhcp: Fix config name

ISC dhcp is no longer the only way of handling DHCP, so use a less generic
config text.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodhcp: fix install -D invocation in target-install
Peter Korsgaard [Tue, 1 Feb 2011 13:25:05 +0000 (14:25 +0100)]
dhcp: fix install -D invocation in target-install

Closes #3181

When install -D is used (to ensure destination dirs exists), the destination
file name has to be given as well.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomake help: document ncurses, make V=1 and make O=<dir>
Peter Korsgaard [Tue, 1 Feb 2011 07:41:01 +0000 (08:41 +0100)]
make help: document ncurses, make V=1 and make O=<dir>

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoCHANGES: #1681, #2839 and #2893 are resolved
Peter Korsgaard [Mon, 31 Jan 2011 20:30:05 +0000 (21:30 +0100)]
CHANGES: #1681, #2839 and #2893 are resolved

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouclibc: add BSD endian conversions routines for 0.9.31
Gustavo Zacarias [Thu, 27 Jan 2011 14:21:28 +0000 (11:21 -0300)]
uclibc: add BSD endian conversions routines for 0.9.31

Add BSD endian conversion routines (backport from 0.9.32 / git).

Required to use a modern udev.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agofbset: ensure it builds after busybox if both are enabled
Gustavo Zacarias [Mon, 31 Jan 2011 19:40:25 +0000 (16:40 -0300)]
fbset: ensure it builds after busybox if both are enabled

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add libhid
Peter Korsgaard [Mon, 31 Jan 2011 19:23:42 +0000 (20:23 +0100)]
package: add libhid

Based on patch by Johan Sagaert, but with some additional tweaks.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibusb-compat: fixup libusb-config script similarly to other *-config scripts
Peter Korsgaard [Mon, 31 Jan 2011 19:02:36 +0000 (20:02 +0100)]
libusb-compat: fixup libusb-config script similarly to other *-config scripts

So programs using this don't end up looking for host includes / libraries.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agox11vnc: needs libXt
Peter Korsgaard [Mon, 31 Jan 2011 14:07:01 +0000 (15:07 +0100)]
x11vnc: needs libXt

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoxfont_font-util: remove mapfiles workaround
Peter Korsgaard [Sun, 30 Jan 2011 20:07:26 +0000 (21:07 +0100)]
xfont_font-util: remove mapfiles workaround

Not needed (in fact breaks the build) now pkg-config --variable= does the
right thing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodocumentation: mention we can't use the distro toolchain as external
Thomas Petazzoni [Sun, 30 Jan 2011 14:37:50 +0000 (15:37 +0100)]
documentation: mention we can't use the distro toolchain as external

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoUse <code> instead of <pre> to improve formatting
Thomas Petazzoni [Sun, 30 Jan 2011 14:37:48 +0000 (15:37 +0100)]
Use <code> instead of <pre> to improve formatting

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoRemove more or less inexact option concerning custom target skeleton
Thomas Petazzoni [Sun, 30 Jan 2011 14:37:47 +0000 (15:37 +0100)]
Remove more or less inexact option concerning custom target skeleton

We discourage the addition of custom target skeleton into the official
Buildroot tree, so let's not encourage users to do this in the
documentation.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoUpdate documentation about external toolchain
Thomas Petazzoni [Sun, 30 Jan 2011 14:37:46 +0000 (15:37 +0100)]
Update documentation about external toolchain

Reword the documentation on external toolchain to take into account
the new features added since 2010.11 concerning external toolchain
profiles.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoExplain why we don't support ELDK toolchains.
Thomas Petazzoni [Sun, 30 Jan 2011 14:37:45 +0000 (15:37 +0100)]
Explain why we don't support ELDK toolchains.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopkg-config: rework --with-sysroot patch so it doesn't break target build
Peter Korsgaard [Sun, 30 Jan 2011 10:05:50 +0000 (11:05 +0100)]
pkg-config: rework --with-sysroot patch so it doesn't break target build

We don't currently autoreconf pkg-config for the target as we don't need
--with-sysroot support, which means PKG_CONFIG_SYSROOT=NULL wasn't
passed, breaking the build.

Fix it by reworking the patch to only pass this if --with-sysroot is given,
and handle the not set case in main.c.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodnsmasq: remove dbus cflags mangling
Peter Korsgaard [Sun, 30 Jan 2011 09:40:17 +0000 (10:40 +0100)]
dnsmasq: remove dbus cflags mangling

Get rid of cflags workaround now that we always use sysroot, and
pkg-config --cflags dbus-1 thus returns the correct value.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiproute2: fix build on configs without ipv6 support
Peter Korsgaard [Sun, 30 Jan 2011 00:37:24 +0000 (01:37 +0100)]
iproute2: fix build on configs without ipv6 support

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agontp: bump to version 4.2.6p3 and fix glibc build failure
Gustavo Zacarias [Thu, 27 Jan 2011 16:24:10 +0000 (13:24 -0300)]
ntp: bump to version 4.2.6p3 and fix glibc build failure

Bump to version 4.2.6p3 and fix a build failure with external toolchains
that use certain glibc versions as point out by speakman on IRC.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Daniel Nyström <daniel.nystrom@timeterminal.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibcuefile: convert to cmaketargets infrastructure
Gustavo Zacarias [Thu, 27 Jan 2011 15:02:40 +0000 (12:02 -0300)]
libcuefile: convert to cmaketargets infrastructure

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopkg-config: add --with-sysroot option for compiled in default sysroot setting
Peter Korsgaard [Sat, 29 Jan 2011 23:33:00 +0000 (00:33 +0100)]
pkg-config: add --with-sysroot option for compiled in default sysroot setting

Similar to the --with-pc-path option. It works just like the existing
PKG_CONFIG_SYSROOT_DIR environment variable, but compiled in.
The environment variable overrides this default setting if set.

This way we don't need to pass PKG_CONFIG_SYSROOT_DIR in the environment
when building for the target, and it is easier to reuse pkg-config outside
BR (E.G. for the SDK) without having to setup special environment
variables.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopkg-config: prefix sysroot to path variables
Peter Korsgaard [Sat, 29 Jan 2011 21:59:44 +0000 (22:59 +0100)]
pkg-config: prefix sysroot to path variables

Fixes gst-plugins-bad build, if gstreamer is installed on host with xml
support, as it uses pkg-config --variable=includedir to find gstconfig.h,
and hence ends up looking at the host version.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopkg-config: bump version
Peter Korsgaard [Sat, 29 Jan 2011 21:06:28 +0000 (22:06 +0100)]
pkg-config: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomtd: bump version
Peter Korsgaard [Sat, 29 Jan 2011 19:20:14 +0000 (20:20 +0100)]
mtd: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiproute2: ensure it gets built after busybox if both enabled
Peter Korsgaard [Fri, 28 Jan 2011 14:46:50 +0000 (15:46 +0100)]
iproute2: ensure it gets built after busybox if both enabled

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoCHANGES: update with recent changes
Peter Korsgaard [Fri, 28 Jan 2011 09:43:13 +0000 (10:43 +0100)]
CHANGES: update with recent changes

Thanks to Thomas for input.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodbus-python: fix build after python upgrade
Peter Korsgaard [Fri, 28 Jan 2011 08:17:52 +0000 (09:17 +0100)]
dbus-python: fix build after python upgrade

Point it at host-python, and ensure it gets built in advance.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibxcb: use correct python variable
Peter Korsgaard [Fri, 28 Jan 2011 08:16:09 +0000 (09:16 +0100)]
libxcb: use correct python variable

Directory is /usr/lib/python$(PYTHON_VERSION_MAJOR).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibxcb: use host-python and fix dependencies
Peter Korsgaard [Thu, 27 Jan 2011 22:38:48 +0000 (23:38 +0100)]
libxcb: use host-python and fix dependencies

Now that we have a proper host-python package, use that one instead of
whatever might be available on the build host. Also don't overwrite
the host-python package version variable and fix dependency list
(xcb-proto is needed for the host).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agohost-python: enable expat support
Peter Korsgaard [Thu, 27 Jan 2011 22:37:22 +0000 (23:37 +0100)]
host-python: enable expat support

Some packages (like libxcb) need xml support in host-python in order to
build (.py file tries to import xml.etree.cElementTree).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoxcb-proto: needs python for the host
Peter Korsgaard [Thu, 27 Jan 2011 22:34:39 +0000 (23:34 +0100)]
xcb-proto: needs python for the host

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocdrkit: convert to CMAKETARGETS infrastructure
Bjørn Forsman [Wed, 26 Jan 2011 21:18:45 +0000 (22:18 +0100)]
cdrkit: convert to CMAKETARGETS infrastructure

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodoc: add CMAKETARGETS documentation
Bjørn Forsman [Wed, 26 Jan 2011 21:18:44 +0000 (22:18 +0100)]
doc: add CMAKETARGETS documentation

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoAdd CMAKETARGETS infrastructure for CMake packages
Bjørn Forsman [Wed, 26 Jan 2011 21:18:43 +0000 (22:18 +0100)]
Add CMAKETARGETS infrastructure for CMake packages

The CMAKETARGETS infrastructure makes adding CMake-based packages to
Buildroot easy. It uses the same set of variables as the autotools
infrastructure, except for autoreconf and libtool stuff which is not
needed. Usage: just call CMAKETARGETS instead of AUTOTARGETS.

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoMakefile: generate CMake toolchain-file in $(O)
Bjørn Forsman [Wed, 26 Jan 2011 21:18:42 +0000 (22:18 +0100)]
Makefile: generate CMake toolchain-file in $(O)

A CMake toolchain-file makes it easy to develop CMake-based packages
outside of Buildroot. Just give the toolchain-file to CMake via the
-DCMAKE_TOOLCHAIN_FILE=... option.

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolzo: build shared library for host and target
Peter Korsgaard [Wed, 26 Jan 2011 16:51:33 +0000 (17:51 +0100)]
lzo: build shared library for host and target

Based on patch by Michael J. Hammel.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agozlib: disable call to ldconfig
Thomas Petazzoni [Wed, 26 Jan 2011 08:27:03 +0000 (09:27 +0100)]
zlib: disable call to ldconfig

By default, zlib installation procedure calls ldconfig, which takes
time uselessly. ldconfig is only useful if you install libraries on
the host (in directories listed in /etc/ld.so.conf, or in /usr/lib or
/lib), so calling it after installing libraries in $(STAGING_DIR),
$(TARGET_DIR) or $(HOST_DIR) is just a lenghty no-op.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoautoconf: don't append -dirty to version number if built in buildroot git tree
Peter Korsgaard [Wed, 26 Jan 2011 13:53:35 +0000 (14:53 +0100)]
autoconf: don't append -dirty to version number if built in buildroot git tree

Autoconf would append -dirty to it's version number, causing build breakage
with packages explicitly requesting autoconf 2.65, if built in a subdir
of a git tree with uncommitted changes. This is a relatively common
situation when developing on BR.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoUse 'sysroot' rather than 'sys-root' for the sysroot/staging_dir
Peter Korsgaard [Wed, 26 Jan 2011 13:49:00 +0000 (14:49 +0100)]
Use 'sysroot' rather than 'sys-root' for the sysroot/staging_dir

As pointed out on the list, using sysroot rather than sys-root is less
confusing, as this is how it is referred to in the GCC manual.

So rather than changing BR, patch ct-ng to use sysroot instead.
The next ct-ng release will use 'sysroot' as well by default.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokernel-headers: handle long term support kernels, bump 2.6.35
Peter Korsgaard [Wed, 26 Jan 2011 11:09:42 +0000 (12:09 +0100)]
kernel-headers: handle long term support kernels, bump 2.6.35

2.6.34 was (erroneously) already updated earlier.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokernel-headers: get rid of deprecated 2.6.32 / 2.6.33 versions
Peter Korsgaard [Wed, 26 Jan 2011 11:07:36 +0000 (12:07 +0100)]
kernel-headers: get rid of deprecated 2.6.32 / 2.6.33 versions

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: fix python upgrade fallout
Peter Korsgaard [Wed, 26 Jan 2011 10:18:50 +0000 (11:18 +0100)]
package: fix python upgrade fallout

A number of packages depended on the libpython make target for python
support, which no longer exist.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosysvinint: bump Debian patch
Peter Korsgaard [Wed, 26 Jan 2011 10:16:46 +0000 (11:16 +0100)]
sysvinint: bump Debian patch

-13 patch no longer available on the Debian mirrors.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolvm2: use official release location as arranged with upstream
Peter Korsgaard [Wed, 26 Jan 2011 10:08:34 +0000 (11:08 +0100)]
lvm2: use official release location as arranged with upstream

See http://www.redhat.com/archives/lvm-devel/2011-January/msg00002.html
for details.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolvm2: bump version to 2.02.79 (.78 was pulled by Redhat)
Heiko Zuerker [Sat, 25 Dec 2010 16:10:58 +0000 (10:10 -0600)]
lvm2: bump version to 2.02.79 (.78 was pulled by Redhat)

Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocrosstool-ng: don't remove installation directory before installing
Peter Korsgaard [Tue, 25 Jan 2011 21:07:14 +0000 (22:07 +0100)]
crosstool-ng: don't remove installation directory before installing

crosstool-ng would normally delete its installation directory before
installing the toolchain to ensure it wouldn't get confused by an earlier
build. Now that we're installing directly into HOST_DIR/usr, this doesn't
work very well - So get rid of the rm's.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoMerge branch 'for-2011.02/python-bump' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Tue, 25 Jan 2011 15:24:46 +0000 (16:24 +0100)]
Merge branch 'for-2011.02/python-bump' of git://git.busybox.net/~tpetazzoni/git/buildroot

13 years agotcpdump, libpcap: simplify and fix ac_cv_linux_vers
Thomas Petazzoni [Tue, 25 Jan 2011 08:46:58 +0000 (09:46 +0100)]
tcpdump, libpcap: simplify and fix ac_cv_linux_vers

For some reason, tcpdump and libpcap need to have some information
about the kernel version being used. This information is passed using
the ac_cv_linux_vers autoconf variable.

However, the current value is determined using
BR2_DEFAULT_KERNEL_HEADERS which is only defined when an internal
Buildroot toolchain is used. So it would break with an external
toolchain or the Crosstool-NG backend.

According to Mike Frysinger at
http://lists.busybox.net/pipermail/buildroot/2011-January/040861.html,
this value is only used to determine if the kernel version is 0.x, 1.x
or 2.x, so passing ac_cv_linux_vers=2 is sufficient since Buildroot
only supports the 2.6 kernel anyway.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocrosstool-ng: install toolchain into HOST_DIR like the internal toolchain
Peter Korsgaard [Tue, 25 Jan 2011 15:06:43 +0000 (16:06 +0100)]
crosstool-ng: install toolchain into HOST_DIR like the internal toolchain

Simplifies code and helps us when we add SDK support in the future.
With this we no longer need to copy headers/libraries to STAGING_DIR either.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocrosstool-ng: Use same naming convention as internal toolchains
Peter Korsgaard [Tue, 25 Jan 2011 15:03:14 +0000 (16:03 +0100)]
crosstool-ng: Use same naming convention as internal toolchains

Use unknown for the vendor part of the tuple, and add $arch-linux- symlinks,
similar to how it's done for the internal toolchain, rather than using
buildroot_ctng and unknown symlinks.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage/Makefile.in: Fix LIBC calculation for internal ct-ng toolchains
Peter Korsgaard [Tue, 25 Jan 2011 15:01:25 +0000 (16:01 +0100)]
package/Makefile.in: Fix LIBC calculation for internal ct-ng toolchains

Use uclibc for internal ct-ng toolchains configured with uClibc as well.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoUse sys-root rather than sysroot for the sysroot/staging_dir
Peter Korsgaard [Tue, 25 Jan 2011 14:58:04 +0000 (15:58 +0100)]
Use sys-root rather than sysroot for the sysroot/staging_dir

The name of the sysroot directory is arbitrary, but as ct-ng uses sys-root,
let's use that as well for consistency.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopython-mad: new package
Thomas Petazzoni [Tue, 11 Jan 2011 20:46:44 +0000 (21:46 +0100)]
python-mad: new package

python-mad is a Python binding for the MAD library, a high-quality
integer-only MPEG decoder.

This package has been introduced as a test to make sure that
third-party Python modules that rely on a C extension can properly be
built against the Python infrastructure of Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 years agopython-serial: new package
Thomas Petazzoni [Tue, 11 Jan 2011 20:45:55 +0000 (21:45 +0100)]
python-serial: new package

python-serial is a Python library to access serial ports.

This package has originally been introduced to test that third-party
pure Python modules (that do not use C extensions) build properly
against the Buildroot Python infrastructure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 years agoRemove .py or .pyc depending on Python configuration
Thomas Petazzoni [Tue, 11 Jan 2011 20:44:29 +0000 (21:44 +0100)]
Remove .py or .pyc depending on Python configuration

We do this at a global level since several packages can install
Python modules.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 years agopython: convert to autotargets, bump to 2.7.1, many improvements
Thomas Petazzoni [Sun, 26 Dec 2010 09:28:49 +0000 (10:28 +0100)]
python: convert to autotargets, bump to 2.7.1, many improvements

This commit does a number of changes and improvements to the Python
interpreter package :

 * It converts the .mk file to the AUTOTARGETS infrastructure. Even
   though Python uses only autoconf and not automake, the AUTOTARGETS
   is a fairly good fit for the Python interpreter, so we make use of
   it.

 * It bumps the version to 2.7.1. As this is a minor release compared
   to 2.7, there are no particular changes needed because of this
   bump. All changes done to the package are cleanups and improvements
   unrelated to the version bump.

 * It uses the system libffi. Until now, Python was building its own
   libffi (a library used by interprets to build code that makes
   function call at runtime). Using the Python internal libffi was not
   working as Python was not passing the appropriate arguments down to
   libffi ./configure script. And it sounded better to use a
   system-wide libffi, that could potentially be used by other
   packages as well. This libffi is needed for the ctypes Python
   module.

 * Remove all "depends on BR2_PACKAGE_PYTHON" by moving all
   Python-related options under a "if BR2_PACKAGE_PYTHON ... endif"
   condition.

 * Make the installation of pre-compiled Python modules (.pyc) the
   default, since they are smaller and do not need to be compiled on
   the target. It is still possible to install uncompiled modules, or
   both the uncompiled and pre-compiled versions.

 * The options to select the set of Python modules to compile has been
   moved to a submenu.

 * The codecscjk (Japanese, Korean and Chinese codecs) module is no
   longer enabled by default.

 * The commented options for gdbm and nis in Python have been
   removed. Those were not supported, so let's get rid of unused code.

 * The option for the tkinker module in Python has been removed, since
   we don't have a package for Tk in Buildroot.

 * Options for the bzip2, sqlite and zlib modules have been added,
   since those modules have external dependencies.

 * The set of patches has been completely reworked and extended, with
   more fine-grained patches and newer functionalities. The patches
   are split in two categories:

    - Patches that make various modifications to the Python build
      system to support cross-compilation or make some minor
      modifications. Those patches are numbered from 0 to 100.

    - Patches that add configuration options to the Python build
      system in order to enable/disable the compilation of Python
      extensions or modules (test modules, pydoc, lib2to3, sqlite, tk,
      curses, expat, codecs-cjk, nis, unicodedata, database modules,
      ssl, bzip2, zlib). These patches are numbered from 100 to 200.

   All features of the previous four patches are preserved, but they
   are organized differently and the patches have been renamed. This
   makes it difficult to see the differences from the existing
   patches.

 * The host Python interpreter is now installed in $(HOST_DIR), since
   it is used to build third party Python modules.

 * The BR2_PACKAGE_PYTHON_DEV option is removed since
   BR2_HAVE_DEVFILES already does the necessary work.

 * The "make -i install" workaround introduced by Maxime Ripard is no
   longer needed. It was caused by the compilation of the tests that
   required the unicodedata module (which wasn't built in the host
   Python interpreter). Since we no longer compile the Python tests,
   the problem doesn't exist anymore and we can avoid this "-i"
   option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 years agoautotools: allow host package to use <pkg>_MAKE_ENV and <pkg>_MAKE
Thomas Petazzoni [Sun, 23 Jan 2011 16:08:53 +0000 (17:08 +0100)]
autotools: allow host package to use <pkg>_MAKE_ENV and <pkg>_MAKE

This will be needed by the Python interpreter package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 years agolibffi: new package
Thomas Petazzoni [Sat, 8 Jan 2011 14:15:24 +0000 (15:15 +0100)]
libffi: new package

libffi is needed by the Python interpreter.

The libffi library provides a portable, high level programming
interface to various calling conventions. This allows a programmer to
call any function specified by a call interface description at
run-time.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 years agopython: Fix make install (Workaround python's bug #1669349)
Maxime Ripard [Tue, 14 Dec 2010 22:02:22 +0000 (23:02 +0100)]
python: Fix make install (Workaround python's bug #1669349)

Signed-off-by: Maxime Ripard <ripard@archos.com>
13 years agopython: Add the needed patches to compile python2.7 in buildroot.
Maxime Ripard [Fri, 10 Dec 2010 22:13:36 +0000 (23:13 +0100)]
python: Add the needed patches to compile python2.7 in buildroot.

Signed-off-by: Maxime Ripard <ripard@archos.com>
13 years agopython: Port the python2.4 patches to 2.7
Maxime Ripard [Fri, 10 Dec 2010 22:05:39 +0000 (23:05 +0100)]
python: Port the python2.4 patches to 2.7

Signed-off-by: Maxime Ripard <ripard@archos.com>
13 years agopython: Move to version 2.7
Maxime Ripard [Tue, 12 Oct 2010 08:26:53 +0000 (10:26 +0200)]
python: Move to version 2.7

Signed-off-by: Maxime Ripard <ripard@archos.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 years agosshfs: adjust make dependencies to match Kconfig
Peter Korsgaard [Mon, 24 Jan 2011 20:11:36 +0000 (21:11 +0100)]
sshfs: adjust make dependencies to match Kconfig

Spotted by Thomas, thanks.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: 1.18.2 fix for wc
Peter Korsgaard [Mon, 24 Jan 2011 16:04:28 +0000 (17:04 +0100)]
busybox: 1.18.2 fix for wc

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogstreamer: remove unnecessary feature
Felipe Contreras [Sun, 23 Jan 2011 22:41:30 +0000 (00:41 +0200)]
gstreamer: remove unnecessary feature

On 0.10.11 the binary-registry was added, on 0.10.12 the libxml2
dependency was dropped when binary-registry was used, on 0.10.18 the
binary-registry was made default, and on 0.10.23 it was the only option.

So, libxml2 is not needed any more for the registry.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agompd: new package
Gustavo Zacarias [Thu, 20 Jan 2011 20:49:42 +0000 (17:49 -0300)]
mpd: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomusepack: new package
Gustavo Zacarias [Tue, 18 Jan 2011 16:54:38 +0000 (13:54 -0300)]
musepack: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>