buildroot.git
13 years agopackage: Add libsigc++ package
H Hartley Sweeten [Tue, 30 Nov 2010 01:22:20 +0000 (18:22 -0700)]
package: Add libsigc++ package

Add support for the libsigc++ library.

[Peter: Rename dir, use libtool patch, add C++ dep]
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: add a USE_MMU build option
Mike Frysinger [Mon, 10 Jan 2011 14:28:41 +0000 (09:28 -0500)]
toolchain: add a USE_MMU build option

Some packages need to know whether the MMU is in play, so add a toolchain
option to expose the feature to them.

[Peter: only show option on archs where it makes sense]
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodocs: remove outdated files
Peter Korsgaard [Sat, 15 Jan 2011 12:01:25 +0000 (13:01 +0100)]
docs: remove outdated files

Misleading/outdated docs is worse than no documentation.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokexec: bump to version 2.0.2 + change URL to match kernel.org
Andy Kennedy [Fri, 14 Jan 2011 21:53:03 +0000 (15:53 -0600)]
kexec: bump to version 2.0.2 + change URL to match 

Closes #3007

Changed the KEXEC_SITE to the new home of kexec. This patch also satisfies
bug #3007 created by me last month. Thanks to Gustavo for pointing out that
the easy fix was to bump kexec to 2.0.2.

Signed-of-by: Andy Kennedy <Andy.Kennedy@AdTran.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomakedevs: Add support for 16-bit major/minor numbers
Matt Fleming [Fri, 24 Sep 2010 13:43:17 +0000 (14:43 +0100)]
makedevs: Add support for 16-bit major/minor numbers

Closes #2647

[Peter: Adjust for the real 12bit majors/20bit minors supported by Linux]
Signed-off-by: Matt Fleming <matthew.fleming@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoCHANGES: update with recent changes
Peter Korsgaard [Fri, 14 Jan 2011 21:02:47 +0000 (22:02 +0100)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoirda-utils: new package for IrDA devices
Mike Frysinger [Wed, 8 Dec 2010 05:07:16 +0000 (00:07 -0500)]
irda-utils: new package for IrDA devices

[Peter: Small tweaks, add patch descriptions]
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agofs/jffs2: remove BR2_JFFS2_TARGET_SREC option
Peter Korsgaard [Fri, 14 Jan 2011 10:16:09 +0000 (11:16 +0100)]
fs/jffs2: remove BR2_JFFS2_TARGET_SREC option

This kind of custom image conversion is better handled outside BR.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agofs/ext2: remove redundant BR2_TARGET_ROOTFS_EXT2_SQUASH option
Peter Korsgaard [Fri, 14 Jan 2011 10:14:05 +0000 (11:14 +0100)]
fs/ext2: remove redundant BR2_TARGET_ROOTFS_EXT2_SQUASH option

The generic fs handling does a chmod -R 0:0 $(TARGET_DIR), so there's no
need for a specific option to enforce this when making an ext2fs image.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agofs/tar: enable by default
Peter Korsgaard [Fri, 14 Jan 2011 10:03:49 +0000 (11:03 +0100)]
fs/tar: enable by default

This way we'll get something in images/ by default, and hopefully people
will be less likely to try to use target/ directly.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agofs/ext2: don't enable by default
Peter Korsgaard [Fri, 14 Jan 2011 09:03:13 +0000 (10:03 +0100)]
fs/ext2: don't enable by default

It's pretty uncommon to use ext2fs on embedded systems, so don't enable
it by default.

Adjust defconfigs to match.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouClibc: 0.9.32-rc1 netlinkaccess fix
Peter Korsgaard [Fri, 14 Jan 2011 08:59:06 +0000 (09:59 +0100)]
uClibc: 0.9.32-rc1 netlinkaccess fix

From uClibc git, fixes build issue on powerpc.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocoreutils: add uname patch
Martin Banky [Thu, 30 Sep 2010 19:03:36 +0000 (12:03 -0700)]
coreutils: add uname patch

On linux platforms, grok /proc/cpuinfo for the CPU/vendor info.

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocoreutils: changed/removed some of the configure environmental variables
Martin Banky [Thu, 30 Sep 2010 19:03:35 +0000 (12:03 -0700)]
coreutils: changed/removed some of the configure environmental variables

gl_ac_cv_func_link_follows_symlink=no - changed to gl_cv_func_link_follows_symlink
gl_cv_func_mkdir_trailing_slash_bug=no - no longer used
gl_cv_func_rename_dest_exists_bug=no - no longer used
gl_cv_func_rename_trailing_slash_bug=no - no longer used

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocoreutils: bump to 8.5
Martin Banky [Thu, 30 Sep 2010 19:03:34 +0000 (12:03 -0700)]
coreutils: bump to 8.5

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocoreutils: fixed missing hostname
Martin Banky [Thu, 30 Sep 2010 19:03:33 +0000 (12:03 -0700)]
coreutils: fixed missing hostname

hostname is no longer installed by default (ChangeLog-2007 - 2007-08-28), and
has to be enabled with --enable-install-program=hostname. hostname's man file is
not included, and because of this, during make, help2man is run against
src/hostname to generate it's man file. src/hostname will not run on the host
system, causing the build to fail.

Generated the hostname man file, after building coreutils on the host
system, and generated this patch, which fixes the build error.

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocoreutils: changed/removed some of the configure environmental variables
Martin Banky [Thu, 30 Sep 2010 19:03:32 +0000 (12:03 -0700)]
coreutils: changed/removed some of the configure environmental variables

ac_cv_func_closedir_void=no - no longer used
ac_cv_func_fnmatch_gnu=yes - no longer used
ac_cv_func_getcwd_null=yes - duplicate of gl_cv_func_getcwd_null
ac_cv_func_mkstemp=yes - changed to gl_cv_func_working_mkstemp
ac_cv_func_stat_empty_string_bug=no - no longer used
ac_cv_func_utime_null=yes - no longer used
ac_cv_have_decl_euidaccess=no - no longer used
ac_cv_have_decl_nanosleep=yes - no longer used
ac_cv_struct_st_mtim_nsec=no - no longer used
am_cv_func_working_getline=yes - duplicate
am_getline_needs_run_time_check=no - changed to gl_getline_needs_run_time_check
gl_cv_c_restrict=no - changed to ac_cv_c_restrict
gl_cv_func_mkstemp_limitations=no - no longer used
gl_cv_func_working_readdir=yes - no longer used
jm_ac_cv_func_link_follows_symlink=no - changed to gl_ac_cv_func_link_follows_symlink
jm_cv_func_gettimeofday_clobber=no - changed to gl_cv_func_gettimeofday_clobber
jm_cv_func_nanosleep_works=yes - no longer used
jm_cv_func_svid_putenv=yes - changed to gl_cv_func_svid_putenv
jm_cv_func_working_re_compile_pattern=yes - changed to gl_cv_func_re_compile_pattern_working
utils_cv_func_mkdir_trailing_slash_bug=no - duplicate of gl_cv_func_mkdir_trailing_slash_bug
utils_cv_func_mkstemp_limitations=no - duplicate of gl_cv_func_mkstemp_limitations

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocoreutils: convert to autotarget
Martin Banky [Thu, 30 Sep 2010 19:03:31 +0000 (12:03 -0700)]
coreutils: convert to autotarget

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoUpdate copyright info for 2011
Peter Korsgaard [Wed, 12 Jan 2011 23:18:02 +0000 (00:18 +0100)]
Update copyright info for 2011

Happy newyear!

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoubifs: Add UBI image generation support.
Julien Boibessot [Tue, 21 Dec 2010 17:38:07 +0000 (18:38 +0100)]
ubifs: Add UBI image generation support.

UBI images are generated from UBIFS one (with ubinize tool) and are used by
bootloaders (eg U-Boot) to write UBIFS images directly on bare NAND FLASH
(see http://www.linux-mtd.infradead.org/faq/ubi.html).

[Peter: tweak help text]
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Nicolas Colombain <nicolas.colombain@armadeus.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotarget skeleton: add audio group
Gustavo Zacarias [Tue, 11 Jan 2011 13:49:56 +0000 (10:49 -0300)]
target skeleton: add audio group

Add audio group to the target skeleton.
Some multimedia applications based on alsa-lib need it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agovorbis-tools: new package
Gustavo Zacarias [Thu, 6 Jan 2011 18:42:01 +0000 (15:42 -0300)]
vorbis-tools: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibao: new package
Gustavo Zacarias [Tue, 11 Jan 2011 13:45:30 +0000 (10:45 -0300)]
libao: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: let buildroot handle stripping
Mike Frysinger [Mon, 10 Jan 2011 14:28:40 +0000 (09:28 -0500)]
busybox: let buildroot handle stripping

For some ABI's (like FLAT), we cannot strip busybox as the file format
does not support it and strip will abort with errors like 'File format
not recognized'.  Since the toplevel already takes care of stripping
things, simply disable the busybox step.

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: unify duplicated build steps
Mike Frysinger [Mon, 10 Jan 2011 14:28:39 +0000 (09:28 -0500)]
busybox: unify duplicated build steps

This does set a few more vars in some steps that weren't set before, but
they should be harmless in the contexts in question.  And the resulting
save in duplication is nice.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiptables: remove redundant --disable-ipv6
Peter Korsgaard [Tue, 11 Jan 2011 06:56:22 +0000 (07:56 +0100)]
iptables: remove redundant --disable-ipv6

Is automatically handled by the autotargets infrastructure.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiproute2: bump to version 2.6.37 + fixes
Gustavo Zacarias [Mon, 10 Jan 2011 17:41:25 +0000 (14:41 -0300)]
iproute2: bump to version 2.6.37 + fixes

Bump to version 2.6.37
Add iptables support when it's available.
ATM support requires linux-atm for which we don't have a package yet.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiptables: install to staging
Gustavo Zacarias [Mon, 10 Jan 2011 17:41:24 +0000 (14:41 -0300)]
iptables: install to staging

Install iptables to staging so we can build iproute2 with filtering.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agowebkit: security bump to version 1.2.6
Gustavo Zacarias [Mon, 10 Jan 2011 17:41:23 +0000 (14:41 -0300)]
webkit: security bump to version 1.2.6

Bump to version 1.2.6 which includes security fixes for:
CVE-2010-1791, CVE-2010-3812, CVE-2010-3813, CVE-2010-4197,
CVE-2010-4198, CVE-2010-4204 and CVE-2010-4206.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: add/update 1.18.1 fixes for hush, mkswap, modprobe, tftp and procps
Gustavo Zacarias [Mon, 10 Jan 2011 17:41:22 +0000 (14:41 -0300)]
busybox: add/update 1.18.1 fixes for hush, mkswap, modprobe, tftp and procps

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoetc/securetty: Add ttyAM for ep93xx
H Hartley Sweeten [Fri, 7 Jan 2011 03:14:41 +0000 (21:14 -0600)]
etc/securetty: Add ttyAM for ep93xx

Allow root login on the Cirrus ep93xx ARM AMBA serial ports.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotarget/generic: add /dev/ttyAM* device nodes
H Hartley Sweeten [Fri, 7 Jan 2011 03:08:38 +0000 (21:08 -0600)]
target/generic: add /dev/ttyAM* device nodes

Add ttyAM support for the ARM AMBA serial ports on the Cirrus EP93xx.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoltrace: fix build issue with parallel builds
Peter Korsgaard [Mon, 10 Jan 2011 22:53:30 +0000 (23:53 +0100)]
ltrace: fix build issue with parallel builds

With highly parallel builds, sysdep.h is not always generated before it
is needed, breaking the build.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoat: fix build issue with parallel builds
Peter Korsgaard [Mon, 10 Jan 2011 22:24:58 +0000 (23:24 +0100)]
at: fix build issue with parallel builds

With highly parallel builds, the input files for parsetime.l are not
alway present when needed, breaking the build.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoflac: fix powerpc build
Gustavo Zacarias [Thu, 6 Jan 2011 18:41:59 +0000 (15:41 -0300)]
flac: fix powerpc build

flac incorrectly assumes every powerpc around has altivec.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokernel-headers: bump 2.6.34.x stable version
Peter Korsgaard [Mon, 10 Jan 2011 20:27:01 +0000 (21:27 +0100)]
kernel-headers: bump 2.6.34.x stable version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopciutils: SHARED make opt goes for install too
Gustavo Zacarias [Mon, 10 Jan 2011 13:47:23 +0000 (10:47 -0300)]
pciutils: SHARED make opt goes for install too

If we don't pass SHARED when installing we miss the shared library
symlinks (libpci.so & libpci.so.3).

On internal and external toolchains that have a proper cross ldconfig this
isn't a problem as they get created during ldconfig, but it breaks on
toolchains that lack a cross ldconfig to automagically make the symlinks.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoalsa-utils: select alsa-lib
Gustavo Zacarias [Thu, 6 Jan 2011 18:41:57 +0000 (15:41 -0300)]
alsa-utils: select alsa-lib

Select alsa-libs instead of depending on them otherwise it's just
"missing" from the menu.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokernel-headers: remove deprecated 2.6.30/2.6.31 versions
Peter Korsgaard [Mon, 10 Jan 2011 11:29:15 +0000 (12:29 +0100)]
kernel-headers: remove deprecated 2.6.30/2.6.31 versions

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokernel-headers: bump 2.6.32.x / 2.6.36.x stable versions
Peter Korsgaard [Mon, 10 Jan 2011 11:28:17 +0000 (12:28 +0100)]
kernel-headers: bump 2.6.32.x / 2.6.36.x stable versions

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoccache: bump version
Peter Korsgaard [Mon, 10 Jan 2011 11:23:38 +0000 (12:23 +0100)]
ccache: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobarebox: bump version
Peter Korsgaard [Thu, 6 Jan 2011 11:25:33 +0000 (12:25 +0100)]
barebox: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: add 2.6.37, remove 2.6.36
Peter Korsgaard [Thu, 6 Jan 2011 07:44:11 +0000 (08:44 +0100)]
linux: add 2.6.37, remove 2.6.36

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokernel-headers: add 2.6.37
Peter Korsgaard [Thu, 6 Jan 2011 07:43:13 +0000 (08:43 +0100)]
kernel-headers: add 2.6.37

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogdb: fixup symlink handling now tolchain gets installed into HOST_DIR
Peter Korsgaard [Mon, 3 Jan 2011 23:32:34 +0000 (00:32 +0100)]
gdb: fixup symlink handling now tolchain gets installed into HOST_DIR

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain/gcc: fix target-gcc selects
Peter Korsgaard [Sun, 2 Jan 2011 23:24:46 +0000 (00:24 +0100)]
toolchain/gcc: fix target-gcc selects

We need to select BR2_PACKAGE_BINUTILS as well, now
BINUTILS_TARGET depends on it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoCHANGES: update with recent changes
Peter Korsgaard [Sun, 2 Jan 2011 23:11:40 +0000 (00:11 +0100)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotarget gcc: cleanup
Gustavo Zacarias [Fri, 31 Dec 2010 11:39:06 +0000 (08:39 -0300)]
target gcc: cleanup

WITH_TARGET_{GMP/MPC/MPFR} is unneeded since we are providing a sysroot.

It also breaks build-gcc under certain conditions.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: do staging symlink
Gustavo Zacarias [Fri, 31 Dec 2010 11:39:05 +0000 (08:39 -0300)]
toolchain: do staging symlink

Make an output/staging -> sysroot symlink just for compatibility
purposes.
This may be gone in the future so don't count on it, use $(STAGING_DIR)
instead.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agooprofile: use new libbfd option
Gustavo Zacarias [Fri, 31 Dec 2010 11:39:04 +0000 (08:39 -0300)]
oprofile: use new libbfd option

Convert the oprofile target to select the new libbfd staging/target
option to avoid a huge target binutils for a simple task.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogcc: install copies of libgcc, libstdc++ and libgcj to the sysroot
Gustavo Zacarias [Fri, 31 Dec 2010 11:39:02 +0000 (08:39 -0300)]
gcc: install copies of libgcc, libstdc++ and libgcj to the sysroot

We want to keep a copy around for the future SDK functionality.

Also it's a better fix for bug #1051.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobinutils: make it a proper package
Gustavo Zacarias [Fri, 31 Dec 2010 11:39:01 +0000 (08:39 -0300)]
binutils: make it a proper package

* Convert binutils to a proper autotargets package

* Add version 2.21 and drop version 2.17

* Hook up packaged binutils for target gcc

* Build tools are on HOST_DIR now so change it

* Move cross/host gcc to HOST_DIR

* Drop kludge from commit 3c77bab2eeace3ee675bd745ca335fa3dd1630bb
  This is fixed in the next commit "gcc: install copies of libgcc,
  libstdc++ and libgcj to the sysroot" - tested for arm & x86_64
  targets.

* TARGET_CROSS now pointed to HOST_DIR too

[Peter: Config.in tweaks]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agophp: fix CFLAGS handling
Peter Korsgaard [Sun, 2 Jan 2011 11:28:35 +0000 (12:28 +0100)]
php: fix CFLAGS handling

The shell doesn't understand += assignments. Fixes a build issue with
sqlite extension and !largefile (and possibly with ext toolchains as well).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agovim: ensure configure doesn't fail if X11 packages are enabled
Peter Korsgaard [Sat, 1 Jan 2011 20:53:34 +0000 (21:53 +0100)]
vim: ensure configure doesn't fail if X11 packages are enabled

When X11 is detected, vim's configure does a AC_TRY_RUN to detect wchar_t
size, so preset it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-good: add option to build cairo plugin
Peter Korsgaard [Sat, 1 Jan 2011 13:31:47 +0000 (14:31 +0100)]
gst-plugins-good: add option to build cairo plugin

Fixes build issue when cairo is built without png support.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoffmpeg: fix build with ccache
Peter Korsgaard [Sat, 1 Jan 2011 10:49:01 +0000 (11:49 +0100)]
ffmpeg: fix build with ccache

With ccache, HOSTCC contains a space, so ensure it's properly quoted.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobison: remove unused yacc wrapper
Peter Korsgaard [Fri, 31 Dec 2010 15:13:21 +0000 (16:13 +0100)]
bison: remove unused yacc wrapper

No longer used since 98611b (bison: convert to the autotools infrastructure)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibvorbis: bump version
Peter Korsgaard [Fri, 31 Dec 2010 10:30:20 +0000 (11:30 +0100)]
libvorbis: bump version

Derived from patch by Martin Banky.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibogg: bump version
Peter Korsgaard [Fri, 31 Dec 2010 10:29:34 +0000 (11:29 +0100)]
libogg: bump version

Derived from patch by Martin Banky.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux-fusion: bump to 8.1.2
Lionel Landwerlin [Mon, 15 Nov 2010 08:58:03 +0000 (09:58 +0100)]
linux-fusion: bump to 8.1.2

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibglib2: bump to 2.26.1
Lionel Landwerlin [Mon, 15 Nov 2010 08:58:04 +0000 (09:58 +0100)]
libglib2: bump to 2.26.1

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-good: Add option for v4l2
Phil Edworthy [Tue, 16 Nov 2010 13:28:09 +0000 (13:28 +0000)]
gst-plugins-good: Add option for v4l2

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogenext2fs.sh: improve number of blocks calculation
Peter Korsgaard [Thu, 30 Dec 2010 22:10:21 +0000 (23:10 +0100)]
genext2fs.sh: improve number of blocks calculation

Closes #2929

Instead of just adding a fixed amount to the blocks used, try to
estimate the real space needed according to the filesystem structure
(bitmaps, inodes, blocks).

The side effect of this is that we no longer significantly overestimate
the size needed for small file systems.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoetc/securetty: Add ttyO0 to ttyO3 for omap
Guillaume Gardet [Thu, 30 Dec 2010 15:46:14 +0000 (16:46 +0100)]
etc/securetty: Add ttyO0 to ttyO3 for omap

Recent kernels (2.6.37*) use a different name for OMAP serial ports.
They are no longer called ttySx but ttyOx.

Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: 1.18.1 fixes for bzip2 and cpio
Peter Korsgaard [Thu, 30 Dec 2010 07:45:29 +0000 (08:45 +0100)]
busybox: 1.18.1 fixes for bzip2 and cpio

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoNew package: sdparm
Yegor Yefremov [Tue, 7 Dec 2010 09:05:32 +0000 (10:05 +0100)]
New package: sdparm

Add utility to accesses SCSI device parameters.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoReset critical environment variables
Daniel Nyström [Sat, 25 Dec 2010 23:29:42 +0000 (00:29 +0100)]
Reset critical environment variables

Reset them early in top-level Makefile to ensure they're keept unset
all the way through the build process.

This also removes the requirement of these variables being unset
globally prior the build.

Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: drop BR2_CROSS_TOOLCHAIN_TARGET_UTILS option
Gustavo Zacarias [Tue, 28 Dec 2010 19:10:35 +0000 (16:10 -0300)]
toolchain: drop BR2_CROSS_TOOLCHAIN_TARGET_UTILS option

It's really not very useful, all it does is install a target
strace and ldd in a target_utils directory in staging.
While at it clean up the strace makefile a bit.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: drop sparc64 bits
Gustavo Zacarias [Tue, 28 Dec 2010 19:10:32 +0000 (16:10 -0300)]
package: drop sparc64 bits

Remove VIS optimization, it's for sparc64 and it's gone.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoxapp_xlogo: needs libXft and pkg-config
Peter Korsgaard [Wed, 29 Dec 2010 14:54:58 +0000 (15:54 +0100)]
xapp_xlogo: needs libXft and pkg-config

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibcap: fix target install
Gustavo Zacarias [Tue, 28 Dec 2010 19:55:35 +0000 (16:55 -0300)]
libcap: fix target install

/usr/lib/libcap.so.* was installed via "install -D" but libcap.so.2 is
a symlink so it was dereferenced.

Also update the buildsystem patch so that the shared lib is +X.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouclibc: fix configs for 0.9.32 & snapshot
Gustavo Zacarias [Tue, 28 Dec 2010 19:38:09 +0000 (16:38 -0300)]
uclibc: fix configs for 0.9.32 & snapshot

* 0.9.32 config needs UCLIBC_HAS___PROGNAME defined or we stall when
  program invocation name is enabled.
* Mirror 0.9.32's config to snapshot for consistency.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoautomake: ensure staging aclocal dir gets created
Peter Korsgaard [Wed, 29 Dec 2010 08:14:15 +0000 (09:14 +0100)]
automake: ensure staging aclocal dir gets created

Otherwise aclocal fails.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouclibc: move tools to host dir
Gustavo Zacarias [Tue, 28 Dec 2010 19:10:28 +0000 (16:10 -0300)]
uclibc: move tools to host dir

Move uclibc host tools (ldd/ldconfig) to host dir.
They were previously installed in the staging dir.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: move sysroot to host dir
Gustavo Zacarias [Tue, 28 Dec 2010 19:10:27 +0000 (16:10 -0300)]
toolchain: move sysroot to host dir

* Drop the BR2_STAGING_DIR option
* Hardcode STAGING_DIR to $(HOST_DIR)/usr/TUPLE/sysroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosstrip: make it a proper package
Gustavo Zacarias [Tue, 28 Dec 2010 19:10:26 +0000 (16:10 -0300)]
sstrip: make it a proper package

* Convert sstrip to a proper gentargets package
* Use openwrt svn version, it's basically the same one we used
* Change the hooks from old toolchain/sstrip to new package/sstrip
* Drop the old toolchain/sstrip directory
* sstrip for the target is now in Package -> Development

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoautomake: install gtk-doc.m4 in host directory instead of staging
Lionel Landwerlin [Sun, 26 Dec 2010 16:16:36 +0000 (17:16 +0100)]
automake: install gtk-doc.m4 in host directory instead of staging

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: avoid copying .m4 files from host to staging
Lionel Landwerlin [Sun, 26 Dec 2010 16:16:35 +0000 (17:16 +0100)]
package: avoid copying .m4 files from host to staging

Since we are preparing a package generation mechanism, we would like
to avoid packages that move/touch/modify files which are not part
of their own package. That's why we try to not install host files into
the staging directory (in this case .m4 files) and instead we include
$(HOST_DIR)/usr/share/aclocal into autoreconf search directory.

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agovtun: fix startup script installation
Lionel Landwerlin [Sun, 26 Dec 2010 16:16:34 +0000 (17:16 +0100)]
vtun: fix startup script installation

In case etc/init.d does not exist.

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocloop: bump and fix package
Thomas Petazzoni [Thu, 16 Dec 2010 09:47:34 +0000 (10:47 +0100)]
cloop: bump and fix package

On a machine without zlib-dev installed, cloop must rely on the
host-zlib compiled by Buildroot, but due to the horrible cloop build
system, this didn't happen and the build was failing.

Therefore, we now pass all the $(HOST_CONFIGURE_OPTS) when building
cloop, and we fix the Makefile so that it takes into account
CFLAGS/LDFLAGS passed in the environment or command-line and do not
override them.

[Peter: fix typos, remove HOST_MAKE_ENV]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agophp: fix gmp extension build after libgmp bump
Peter Korsgaard [Tue, 28 Dec 2010 07:52:14 +0000 (08:52 +0100)]
php: fix gmp extension build after libgmp bump

Patch from php svn r295402.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoqt: dbus module needs gui support as well
Peter Korsgaard [Mon, 27 Dec 2010 23:07:53 +0000 (00:07 +0100)]
qt: dbus module needs gui support as well

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogvfs: bump version to fix build with recent glib
Peter Korsgaard [Mon, 27 Dec 2010 22:48:51 +0000 (23:48 +0100)]
gvfs: bump version to fix build with recent glib

libglib2 recently got a gdbusutils.h file as well, confusing the gvfs
build. Update to a more recent version containing a workaround.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agonetperf: add Gentoo patch to fix buffer overflow compiler warnings
Heiko Zuerker [Sun, 26 Dec 2010 17:31:15 +0000 (11:31 -0600)]
netperf: add Gentoo patch to fix buffer overflow compiler warnings

Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agou-boot: update default helper tools to 2010.12
Mike Frysinger [Mon, 27 Dec 2010 21:36:49 +0000 (16:36 -0500)]
u-boot: update default helper tools to 2010.12

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: fix linux- aliases
Peter Korsgaard [Mon, 27 Dec 2010 21:50:18 +0000 (22:50 +0100)]
linux: fix linux- aliases

The generic linux-% alias conflicts with the linux-fusion package, so
add explicit aliases instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agompc: make it a proper package
Gustavo Zacarias [Mon, 6 Dec 2010 19:40:10 +0000 (16:40 -0300)]
mpc: make it a proper package

* Convert mpc to a proper autotargets package
* Hook it up for binutils/gcc to use

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 agompfr: make it a proper package and bump to version 3.0.0-p8
Gustavo Zacarias [Mon, 6 Dec 2010 19:40:09 +0000 (16:40 -0300)]
mpfr: make it a proper package and bump to version 3.0.0-p8

* Convert mpfr to a proper autotargets package
* Bump to version 3.0.0-p8
* Hook it up for binutils/gcc to use

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 agophp: libgmp was renamed to gmp
Gustavo Zacarias [Mon, 6 Dec 2010 19:40:08 +0000 (16:40 -0300)]
php: libgmp was renamed to gmp

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 agogmp: make it a proper package and bump to version 5.0.1
Gustavo Zacarias [Mon, 6 Dec 2010 19:40:07 +0000 (16:40 -0300)]
gmp: make it a proper package and bump to version 5.0.1

* Convert gmp to a proper autotargets package
* Bump to version 5.0.1
* Hook it up for binutils/gcc to use

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 agopackage infra: fix versioned patches for host packages
Gustavo Zacarias [Mon, 6 Dec 2010 19:40:11 +0000 (16:40 -0300)]
package infra: fix versioned patches for host packages

Without this patch we'd need separate versioned patch directories for
target and host packages, thus having unwanted duplication.

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 agojpeg: don't add prefix to binaries
Heiko Zuerker [Sun, 26 Dec 2010 16:45:37 +0000 (10:45 -0600)]
jpeg: don't add prefix to binaries

Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosqlite: use new upstream file versioning convention
Gustavo Zacarias [Mon, 27 Dec 2010 15:33:04 +0000 (12:33 -0300)]
sqlite: use new upstream file versioning convention

Upstream decided to change the file naming convention.

sqlite-amalgamation is now sqlite-autoconf

For a given version, say, 3.7.4 (W.X.Y) upstream now uses WXXYYZZ with Z
reserved for minor fix versions, all zero padded.
Thus 3.7.4 is 3070400, 3.7.4.1 would be 3070401.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoMerge branch 'for-2011.02/dl-tools' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Mon, 27 Dec 2010 20:33:46 +0000 (21:33 +0100)]
Merge branch 'for-2011.02/dl-tools' of git://git.busybox.net/~tpetazzoni/git/buildroot

13 years agotoolchain/uClibc: add 0.9.32-rc1
Peter Korsgaard [Mon, 27 Dec 2010 20:31:15 +0000 (21:31 +0100)]
toolchain/uClibc: add 0.9.32-rc1

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomesa3d: ensure it can only be compiled with modular X server
Peter Korsgaard [Mon, 27 Dec 2010 20:12:25 +0000 (21:12 +0100)]
mesa3d: ensure it can only be compiled with modular X server

kdrive has no glx support, and mesa3d depends on libdrm which needs
largefile support (just like the modular server), so ensure mesa3d
can only be enabled in that configuration.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolsof: fix build after gentargets conversion
Peter Korsgaard [Mon, 27 Dec 2010 14:49:00 +0000 (15:49 +0100)]
lsof: fix build after gentargets conversion

With the gentargets conversion, the tarball is extracted directly in the
source directory, so adjust paths to match.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomrouted: use official tarball rather than git
Peter Korsgaard [Sun, 26 Dec 2010 07:49:56 +0000 (08:49 +0100)]
mrouted: use official tarball rather than git

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agou-boot: add support for version 2010.12
Thomas Petazzoni [Fri, 24 Dec 2010 17:21:37 +0000 (18:21 +0100)]
u-boot: add support for version 2010.12

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogrep: fix build when libiconv is enabled
Peter Korsgaard [Sat, 25 Dec 2010 21:33:20 +0000 (22:33 +0100)]
grep: fix build when libiconv is enabled

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